[squeak-dev] The Trunk: Monticello-fbs.581.mcz
commits at source.squeak.org
commits at source.squeak.org
Sat Jan 18 17:00:26 UTC 2014
Frank Shearar uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-fbs.581.mcz
==================== Summary ====================
Name: Monticello-fbs.581
Author: fbs
Time: 18 January 2014, 4:58:44.499 pm
UUID: bd327588-05f4-cf4c-87cd-1f5039cb4b04
Ancestors: Monticello-cmm.580
When browsing the history of a version, you may now select the current version and find out its changes relative to its ancestor.
=============== Diff against Monticello-cmm.580 ===============
Item was changed:
----- Method: MCVersionHistoryBrowser>>getMenu: (in category 'morphic ui') -----
getMenu: aMenu
+ | menuSpecs |
+ menuSpecs := (self selectedInfo ancestors collect: [:parent |
- self selection < 2 ifTrue: [^ aMenu].
- self fillMenu: aMenu fromSpecs:
- {{'view changes to ', ancestry name . #viewChanges}},
- (self selectedInfo ancestors collect: [:parent |
{'view changes from ', parent name . #viewChanges: . parent}]),
#(('spawn history' spawnHistory)
('search history' searchHistory)).
+ self selection > 1 ifTrue: [
+ menuSpecs := {{'view changes to ', ancestry name . #viewChanges}}, menuSpecs].
+
+ self fillMenu: aMenu fromSpecs: menuSpecs.
^ aMenu!
More information about the Squeak-dev
mailing list
|