[squeak-dev] The Trunk: 60Deprecated-mt.69.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Mar 4 09:48:54 UTC 2020

Marcel Taeumel uploaded a new version of 60Deprecated to project The Trunk:

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

Name: 60Deprecated-mt.69
Author: mt
Time: 4 March 2020, 10:48:54.282115 am
UUID: cf3920f2-ed03-694f-9203-a59663a6f926
Ancestors: 60Deprecated-topa.68

Adds fallback for deprecated use of WindowColorSpec such as in Etoys.

=============== Diff against 60Deprecated-topa.68 ===============

Item was added:
+ ----- Method: Object class>>windowColorSpecification (in category '*60Deprecated-window color') -----
+ windowColorSpecification
+ 	"Answer a WindowColorSpec object that declares my preference.
+ 	This is a backstop for classes that don't otherwise define a preference."
+ 	self deprecated: 'Use UserInterfaceTheme instead.'.
+ 	^ WindowColorSpec classSymbol: self name
+ 		wording: 'Default' translatedNoop brightColor: #white
+ 		pastelColor: #white
+ 		helpMessage: 'Other windows without color preferences.' translatedNoop!

More information about the Squeak-dev mailing list