Preferences saving...

Tim Rowledge tim at sumeru.stanford.edu
Mon Nov 19 07:16:09 UTC 2001


I see that both Jim Benson and  Simon Micheal have recently suggested
code to save/restore preferences.

Note that there is already (in #4411 onwards) an ExternalSettings class
(which is responsible for making that mysterious 'prefs' directory
that appears) that seems to be used only by ServerDirectory
class>fetchExternalsettingsIn: and SecurityManager. I imagine that Jim
or Simon could make use of it to produce a very acceptable preference
carrying-around package.

It might be nice if the ExternalSettings class>startUp didn't result in
the _creation_ of a prefs directory 'by accident'. It has problems if
you are trying to run a closed system with read-only permissions
wherever possible!

tim
-- 
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Useful random insult:- She's a screensaver:  Looks good, but useless.





More information about the Squeak-dev mailing list