-------- Message original -------- Sujet: Re: DEVImageCreator >> setDefaultPreferences (alain?) Date : Tue, 11 May 2010 13:55:41 +0200 De : Alain Plantec <[email protected]> Répondre à : [email protected] Pour : Mariano Martinez Peck <[email protected]> Hi Mariano, all Le 11/05/2010 11:43, Mariano Martinez Peck a écrit :
Hi Alain. DEVImageCreator has to be updated to use the new preferences. I can do it but it will require much more than for me than for you ;) For preferences it is DEVImageCreator>> setDefaultPreferences it is using Preferences class for the moment. It should be updated to use Settings, isn't it ?
I don't think so. There is no need for such a initialization anymore since package are defining their own preferences. If a default value is desired then it should be set by an initialization method or lazily by the getter. I find the lazy initialization better because then, the SettingBrowser can reset the preference to the default by setting it to nil.
BTW, Preferences is still present in Pharo 1.1 and thus, setDefaultPreferences is still working but I guess it should be updated.
why ? there is no need for setDefaultPreferences anymore.
Do you know when Preferences class will be completely removed? Pharo 1.2?
I don't know. Maybe we can let it in the 1.1 in order to let maintainers the possibility to port their packages and definitively remove it in 1.2. The same for TheWorldMenu I guess. Cheers Alain
Thanks! Mariano
_______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
