--- Begin Message ---
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).
        ].





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

Reply via email to