[Etoys] Fwd: Patch: Playing readonly sound files

Bert Freudenberg bert at freudenbergs.de
Thu Sep 27 10:30:16 EDT 2007

Looks good to me - any objections?

- Bert -

Begin forwarded message:

> From: subbukk <subbukk at gmail.com>
> Date: September 27, 2007 13:18:21  GMT+02:00
> To: "The general-purpose Squeak developers list" <squeak- 
> dev at lists.squeakfoundation.org>
> Subject: Patch: Playing readonly sound files
> Reply-To: The general-purpose Squeak developers list <squeak- 
> dev at 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  
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: FileOpenFixes.2.cs.gz
Type: application/x-gzip
Size: 1679 bytes
Desc: not available
Url : http://lists.squeakland.org/pipermail/etoys-dev/attachments/20070927/1b499061/FileOpenFixes.2.cs.gz
-------------- next part --------------

More information about the etoys-dev mailing list