[Etoys] Fwd: Patch: Playing readonly sound files

Scott Wallace scott.wallace at squeakland.org
Thu Sep 27 15:17:45 EDT 2007


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 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
>
> <FileOpenFixes.2.cs.gz>
>
> _______________________________________________
> Etoys mailing list
> Etoys at lists.laptop.org
> http://lists.laptop.org/listinfo/etoys



More information about the Etoys mailing list