[squeak-dev] The Trunk: 51Deprecated-mt.48.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Jun 29 11:17:59 UTC 2017


Marcel Taeumel uploaded a new version of 51Deprecated to project The Trunk:
http://source.squeak.org/trunk/51Deprecated-mt.48.mcz

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

Name: 51Deprecated-mt.48
Author: mt
Time: 29 June 2017, 1:17:52.880613 pm
UUID: f40c467b-120f-b340-818f-0c9d6b06956a
Ancestors: 51Deprecated-mt.47

Fix explanation of deprecation warning for window colors.

=============== Diff against 51Deprecated-mt.47 ===============

Item was changed:
  ----- Method: Preferences class>>windowColorFor: (in category '*51Deprecated-window colors') -----
  windowColorFor: aModelClassName
  	
  	| classToCheck |
+ 	self deprecated: 'Use Model >> #defaultWindowColor and refine via UI themes'.	
- 	self deprecated: 'Use Model >> #customWindowColor'.	
  	classToCheck := Smalltalk at: aModelClassName.
  	^ (UserInterfaceTheme current get: #customWindowColor for: classToCheck)
  		ifNil: [(UserInterfaceTheme current get: #uniformWindowColor for: classToCheck)
  			ifNil: [Color veryVeryLightGray]]!



More information about the Squeak-dev mailing list