The Trunk: 51Deprecated-mt.48.mcz

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

The Trunk: 51Deprecated-mt.48.mcz

commits-2
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]]!