Looks good to me - any objections?
- Bert -
Begin forwarded message:
From: subbukk subbukk@gmail.com Date: September 27, 2007 13:18:21 GMT+02:00 To: "The general-purpose Squeak developers list" <squeak- dev@lists.squeakfoundation.org> Subject: Patch: Playing readonly sound files Reply-To: The general-purpose Squeak developers list <squeak- dev@lists.squeakfoundation.org>
Hi,
In the latest Etoys image, media files are being opened using oldFileNamed: which opens in "write" mode. On Linux, users may not necessarily have write permissions on media files (e.g. /usr/share/sounds/). This causes a MNU dialog to popup. The attached patch uses readOnlyFileNamed: method for opening files. With this change, Karl's drag/drop support for sound files worked fine on Linux.
Can someone with an XO machine confirm if this patch works?
Regards .. Subbu
Looks good to me too -- let's push it!
-- Scott
On Sep 27, 2007, at 7:30 AM, Bert Freudenberg wrote:
Looks good to me - any objections?
- Bert -
Begin forwarded message:
From: subbukk subbukk@gmail.com Date: September 27, 2007 13:18:21 GMT+02:00 To: "The general-purpose Squeak developers list" <squeak- dev@lists.squeakfoundation.org> Subject: Patch: Playing readonly sound files Reply-To: The general-purpose Squeak developers list <squeak- dev@lists.squeakfoundation.org>
Hi,
In the latest Etoys image, media files are being opened using oldFileNamed: which opens in "write" mode. On Linux, users may not necessarily have write permissions on media files (e.g. /usr/share/sounds/). This causes a MNU dialog to popup. The attached patch uses readOnlyFileNamed: method for opening files. With this change, Karl's drag/drop support for sound files worked fine on Linux.
Can someone with an XO machine confirm if this patch works?
Regards .. Subbu
<FileOpenFixes.2.cs.gz>
Etoys mailing list Etoys@lists.laptop.org http://lists.laptop.org/listinfo/etoys
etoys-dev@lists.squeakfoundation.org