[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  
> 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

-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : FileOpenFixes.2.cs.gz
Dateityp    : application/x-gzip
Dateigröße  : 1679 bytes
Beschreibung: nicht verfügbar
URL         : http://lists.laptop.org/pipermail/etoys/attachments/20070927/1b499061/attachment.bin 
-------------- nächster Teil --------------



More information about the Etoys mailing list