[squeak-dev] The Trunk: Morphic-nice.704.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Dec 14 22:11:12 UTC 2013


Nicolas Cellier uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-nice.704.mcz

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

Name: Morphic-nice.704
Author: nice
Time: 14 December 2013, 11:09:28.943 pm
UUID: 577f7a0b-8fee-4f7c-97c0-b5629f30dec5
Ancestors: Morphic-dtl.703

Remove MorphicProject>>setPaletteFor: because it uses obsolete way to initialize the PaintBoxMorph prototype, and because it does not seem to be used in EToys 4.1 (no sender).

=============== Diff against Morphic-dtl.703 ===============

Item was removed:
- ----- Method: MorphicProject>>setPaletteFor: (in category 'language') -----
- setPaletteFor: aLanguageSymbol 
- 	| prototype formKey form |
- 	
- 	self flag: #toRemove. "check if this method still used by Etoys"
- 	prototype := PaintBoxMorph prototype.
- 	formKey := ('offPalette' , aLanguageSymbol) asSymbol.
- 	form := Imports default imports
- 				at: formKey
- 				ifAbsent: [Imports default imports
- 						at: #offPaletteEnglish
- 						ifAbsent: []].
- 	form isNil ifFalse: [prototype loadOffForm: form].
- 	formKey := ('pressedPalette' , aLanguageSymbol) asSymbol.
- 	form := Imports default imports
- 				at: formKey
- 				ifAbsent: [Imports default imports
- 						at: #pressedPaletteEnglish
- 						ifAbsent: []].
- 	form isNil ifFalse: [prototype loadPressedForm: form].
- !



More information about the Squeak-dev mailing list