[squeak-dev] The Trunk: System-tfel.847.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Jul 28 15:44:35 UTC 2016

Tim Felgentreff uploaded a new version of System to project The Trunk:

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

Name: System-tfel.847
Author: tfel
Time: 28 July 2016, 5:44:07.697262 pm
UUID: f9564962-6572-0f40-80ce-109dcd9dc1fb
Ancestors: System-tfel.846

avoid infinite recursion in Locale class>>localeChanged

only inform the current project of a locale change if that project is of the same class as the one we're currently in

=============== Diff against System-tfel.846 ===============

Item was changed:
  ----- Method: Locale class>>localeChanged (in category 'notification') -----
+ 	SystemNavigation default allBehaviorsDo: [:b |
+ 		b == self ifFalse: [b localeChanged]].!
- 	self class environment allBehaviorsDo: [:b | b localeChanged].!

Item was changed:
  ----- Method: Project class>>localeChanged (in category 'class initialization') -----
+ 	self current class == self
+ 		ifTrue: [self current localeChanged].!
- 	self current localeChanged!

More information about the Squeak-dev mailing list