Is there any time you do *not* want things set automatically for you 
based on platform if it's needed?
I vote remove it.

Cheers,
Henry

On 10.12.2009 22:18, Stéphane Ducasse wrote:
> may be we should use it :)
> or we remove it.
>
> Stef
>
> On Dec 10, 2009, at 9:59 PM, Alain Plantec wrote:
>
>    
>>
>> From: Alain Plantec<[email protected]>
>> Date: December 10, 2009 9:58:30 PM GMT+01:00
>> To: [email protected]
>> Subject: Issue 1571: automaticPlatformSettings preference
>> Reply-To: [email protected]
>>
>>
>> this preference is only used by SmalltalkImage>>setPlatformPreferences.
>> It was here to set some preferences depending on the platform.
>> It has not effect anymore since #soundStopWhenDone and #soundQuickStart are
>> completely ignored.
>> I suggest to remove automaticPlatformSettings preference.
>>
>> What do you think ?
>>
>> Alain
>>
>>
>>
>> setPlatformPreferences
>>      "Set some platform specific preferences on system startup"
>>      | platform specs |
>>      Preferences automaticPlatformSettings ifFalse: [^self].
>>      platform := self platformName.
>>      specs :=        #(      
>>                                      (soundStopWhenDone false)
>>                                      (soundQuickStart false)
>>                      ).
>>      platform = 'Win32' ifTrue:[
>>              specs := #(     
>>                                      (soundStopWhenDone true)
>>                                      (soundQuickStart false)
>>                              )].
>>      platform = 'Mac OS' ifTrue:[
>>              specs := #(     
>>                                      (soundStopWhenDone false)
>>                                      (soundQuickStart true)
>>                              )].
>>      specs do:[:tuple|
>>              Preferences setPreference: tuple first toValue: (tuple last == 
>> true).
>>      ].
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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
>
>
>    


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

Reply via email to