The Inbox: System-fbs.539.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: System-fbs.539.mcz

commits-2
A new version of System was added to project The Inbox:
http://source.squeak.org/inbox/System-fbs.539.mcz

==================== Summary ====================

Name: System-fbs.539
Author: fbs
Time: 23 May 2013, 8:47:52.922 pm
UUID: 7e9cd549-a808-4169-886c-144b7757e25b
Ancestors: System-fbs.538

PartsBin and friends already have #localeChanged implementations.

I don't know if "self class environment" is the right thing here. I don't want to use Smalltalk globals. Perhaps the right thing is to say "self environment" where #environment may be set, or defaults to Smalltalk globals.

Object >> #localeChanged moved here because it's a localisation thing, and because I'd rather have System depend on Kernel than Kernel depend on System.

=============== Diff against System-fbs.538 ===============

Item was changed:
  ----- Method: Locale class>>localeChanged (in category 'notification') -----
  localeChanged
+ self class environment allBehaviorsDo: [:b | b localeChanged].!
-
- #(#ParagraphEditor #BitEditor #FormEditor #StandardSystemController )
- do: [:key | Smalltalk
- at: key
- ifPresent: [:class | class initialize]].
- PartsBin localeChanged.
- Project localeChanged.
- PaintBoxMorph localeChanged.
- ColorPickerMorph localeChanged.
- Preferences localeChanged!

Item was changed:
  ----- Method: Locale class>>localeChangedGently (in category 'notification') -----
  localeChangedGently
+ self class environment allBehaviorsDo: [:b | b localeChangedGently].!
-
- #(#ParagraphEditor #BitEditor #FormEditor #StandardSystemController )
- do: [:key | Smalltalk
- at: key
- ifPresent: [:class | class initialize]].
- PartsBin localeChangedGently.
- Project localeChangedGently.
- PaintBoxMorph localeChangedGently.
- ColorPickerMorph localeChangedGently.
- Preferences localeChangedGently.
- !

Item was added:
+ ----- Method: Object>>localeChanged (in category '*System-Localization-locales') -----
+ localeChanged
+ self shouldBeImplemented!

Item was added:
+ ----- Method: Object>>localeChangedGently (in category '*System-Localization-locales') -----
+ localeChangedGently
+ self localeChanged.!