The Trunk: Morphic-nice.704.mcz

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

The Trunk: Morphic-nice.704.mcz

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