[squeak-dev] The Trunk: Monticello-pre.622.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Nov 12 09:05:01 UTC 2015


Marcel Taeumel uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-pre.622.mcz

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

Name: Monticello-pre.622
Author: pre
Time: 11 November 2015, 3:13:40.127 pm
UUID: 59ac83cc-5186-4844-bb8e-1c1009157e88
Ancestors: Monticello-cmm.621

Adds a keyboard shortcut for reverting changes to Monticello browsers which are showing changes. This should allow easy reversion of changes shown in diffs.

=============== Diff against Monticello-cmm.621 ===============

Item was added:
+ ----- Method: MCOperationsBrowser>>methodListKey:from: (in category 'menus') -----
+ methodListKey: aKeystroke from: aListMorph
+ 	aKeystroke caseOf: {
+ 		[$x] -> [self revertSelection] } 
+ 	otherwise: [super methodListKey: aKeystroke from: aListMorph ]!

Item was changed:
  ----- Method: MCOperationsBrowser>>methodListMenu: (in category 'menus') -----
  methodListMenu: aMenu
  	selection ifNotNil:
+ 		[aMenu addList: #(
- 		[aMenu addList:#(
  			('install'	 installSelection)
+ 			('revert (x)'	 revertSelection)
+ 			('browse origin' browseSelectionOrigin) 
- 			('revert'	 revertSelection)
- 			('browse origin' browseSelectionOrigin)
  			-)].
  	self unchangedMethods ifNotEmpty:
+ 		[aMenu addList: #(
+ 			('revert unchanged methods...'	revertUnchangedMethods) 
- 		[aMenu addList:#(
- 			('revert unchanged methods...'	revertUnchangedMethods)
  			-)].
  	super methodListMenu: aMenu.
  	^ aMenu!



More information about the Squeak-dev mailing list