[squeak-dev] Preferences with spaces in them

Ronald Spengler ron.spengler at gmail.com
Sun Aug 23 04:38:13 UTC 2009


How can I talk to preferences that have spaces in them? I'm trying to add a
line to my image configuration script that enables the Cuis editors
automatically.
My usual strategy of:

Preferences
setPreference: #swapMouseButtons toValue: true

... doesn't seem to work.

When I print:

Preferences
setPreference: #'Use New Editors' toValue: true;
valueOfPreference: #'Use New Editors'

... I get back nil.

Failing that, I also tried:

Preferences togglePreference: #'Use New Editors'

... which pops a MNU, so in general I think there's something that I'm
failing to understand.

Any help is much appreciated.

 - Ron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20090822/13070f52/attachment.htm


More information about the Squeak-dev mailing list