Mantis - Squeak
Viewing Issue Advanced Details
4816 Kernel minor always 09-09-06 16:41 08-05-13 17:42
Krivanek  
FrankShearar  
normal  
resolved  
fixed  
none    
none  
0004816: [KernelImageOverride] Locale class localeChanged
Locale class >> localeChanged


original:

localeChanged
    #(#ParagraphEditor #BitEditor #FormEditor #StandardSystemController )
        do: [:key | Smalltalk
                at: key
                ifPresent: [:class | class initialize]].
    StrikeFont localeChanged.
    PartsBin localeChanged.
    Project localeChanged.
    PaintBoxMorph localeChanged.
    ColorPickerMorph localeChanged.
    Preferences localeChanged

override:

localeChanged
    #()
        do: [:key | Smalltalk
                at: key
                ifPresent: [:class | class initialize]].
    StrikeFont localeChanged.
    Preferences localeChanged

Ugly code, we need refactoring with some registry of classes that need to process the change of locale.

Notes
(0014427)
FrankShearar   
08-05-13 17:42   
Fixed in System-fbs.556.