Le 12/05/2010 17:07, Mariano Martinez Peck a écrit :


On Tue, May 11, 2010 at 9:47 PM, Alain Plantec <[email protected] <mailto:[email protected]>> wrote:



    PharoDevSettingStyle>>load
       "set your default 1.1 preferences here"
       UITheme currentSettings fastDragging: true.
       WorldState showUpdateOptionInWorldMenu: false.




If I don't define certain settings, where you get them ? DefaultSettingStyle ? why ? because of

styleName
<settingstyle>
    ^ 'Default'

This is for the SettingBrowser, so, normally you don't have to take care of it. For other settings, don't do anything. they should be automatically initialized
with their default value; lazily at least in the core as follow:

UserInterruptHandler class>>#cmdDotEnabled
    ^ CmdDotEnabled ifNil: [CmdDotEnabled := true]

Cheers
Alain

?

I am trying to understand how it works ;)

Thanks Alain!

Mariano

    Cheers

    Alain


    _______________________________________________
    Pharo-project mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project




_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to