Karl Ramberg uploaded a new version of Etoys to project Etoys:
http://source.squeak.org/etoys/Etoys-kfr.150.mcz==================== Summary ====================
Name: Etoys-kfr.150
Author: kfr
Time: 7 December 2012, 3:09:15 pm
UUID: 0f019a98-8c6e-c34d-a0e5-bb99fc2b0d9b
Ancestors: Etoys-kfr.149
http://tracker.squeakland.org/browse/SQ-1138
> I disabled the possibility to change the type of variable if it is used in a script.
That was too drastic. A warning should be enough.
=============== Diff against Etoys-kfr.149 ===============
Item was added:
+ ----- Method: ModifyVariableDialogMorph>>chooseType (in category 'accessing') -----
+ chooseType
+ (self targetPlayer okayToRemoveSlotNamed: slot) ifFalse:
+ [^ self inform: ('Sorry, {1} is in
+ use in a script.' translated format: {slot})].
+ super chooseType!
Item was removed:
- ----- Method: ModifyVariableDialogMorph>>rebuild (in category 'accessing') -----
- rebuild
- | enableVarType itsName |
- super rebuild.
- enableVarType :=(self targetPlayer okayToRemoveSlotNamed: slot).
-
- self allMorphsDo: [ :each |
- itsName := each knownName.
- (#(varType) includes: itsName) ifTrue:
- [self enable: each when: enableVarType]].
- !
_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev