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

> Le 11/05/2010 21:00, Mariano Martinez Peck a écrit :
>
>
>>
>>
>> Ok...but how can I do the following: there is a setting that in Core has
>> XXX value and I want to change it for the Dev image.
>>
> yes, this is the case of #showUpdateOptionInWorldMenu, the values are
> different
>
>  Creating whole Style doesn't make sense as I only want to change one
>> setting.
>>
> the advantage is that you have the UI to switch from one Style to another
> through the setting browser.
> The load method of your style class (as show in my previous mail) can
> contains few
> setting updates, only those that make sense for the dev.
>
>

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

Ok....but...(follow above)



>  In addition, happens what you told me in this mail, and finally it is
>> difficult to manage I think: imagine today I create a Style and tomorrow you
>> create ore settings...do I need to update my style to contemplate such
>> setting ?
>>
> if the desired value for the dev is the default one then no.
>
>
If I don't define certain settings, where you get them ?
DefaultSettingStyle ? why ? because of

styleName
    <settingstyle>
    ^ 'Default'

?

I am trying to understand how it works ;)

Thanks Alain!

Mariano



> Cheers
>
> Alain
>
>
> _______________________________________________
> Pharo-project mailing list
> [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