Patch: Playing readonly sound files

subbukk subbukk at gmail.com
Thu Sep 27 11:18:21 UTC 2007


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
-------------- 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.squeakfoundation.org/pipermail/squeak-dev/attachments/20070927/92922f4d/FileOpenFixes.2.cs.bin


More information about the Squeak-dev mailing list