[squeak-dev] The Trunk: Monticello-fbs.539.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon Apr 22 20:35:56 UTC 2013
Frank Shearar uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-fbs.539.mcz
==================== Summary ====================
Name: Monticello-fbs.539
Author: fbs
Time: 22 April 2013, 8:44:11.558 pm
UUID: d21941ae-92a7-4b14-9d19-4b53a669bb15
Ancestors: Monticello-fbs.538
Another MenuMorph bites the dust.
=============== Diff against Monticello-fbs.538 ===============
Item was changed:
----- Method: MCWorkingCopyBrowser>>editLoadScripts (in category 'morphic ui') -----
editLoadScripts
+ | arg |
- | menu |
self hasWorkingCopy ifFalse: [^self].
+ arg := UIManager default
+ chooseFrom: #('edit preamble' 'edit postscript' 'edit preambleOfRemoval' 'edit postscriptOfRemoval')
+ values: #(#preamble #postscript #preambleOfRemoval #postscriptOfRemoval).
+
+ arg ifNotNil: [
+ self editScript: arg].!
- menu := MenuMorph new defaultTarget: self.
- menu add: 'edit preamble' selector: #editScript: argument: #preamble.
- menu add: 'edit postscript' selector: #editScript: argument: #postscript.
- menu add: 'edit preambleOfRemoval' selector: #editScript: argument: #preambleOfRemoval.
- menu add: 'edit postscriptOfRemoval' selector: #editScript: argument: #postscriptOfRemoval.
- menu popUpInWorld.!
More information about the Squeak-dev
mailing list
|