[squeak-dev] The Trunk: Monticello-bf.531.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Jan 24 01:01:04 UTC 2013


Bert Freudenberg uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-bf.531.mcz

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

Name: Monticello-bf.531
Author: bf
Time: 23 January 2013, 5:00:35.871 pm
UUID: e2da1e20-bbca-4248-892f-5424878dcbf7
Ancestors: Monticello-hjh.530

Add "search history" to version history browser, too.

=============== Diff against Monticello-hjh.530 ===============

Item was changed:
  ----- Method: MCVersionHistoryBrowser>>getMenu: (in category 'morphic ui') -----
  getMenu: aMenu
  	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)).
- 		#(('spawn history' spawnHistory)).
  	^ aMenu!

Item was added:
+ ----- Method: MCVersionHistoryBrowser>>searchHistory (in category 'morphic ui') -----
+ searchHistory
+ 	(UIManager default
+ 		edit: (String streamContents:
+ 			[:s|
+ 			self selectedInfo topologicalAncestors
+ 				do: [:versionInfo | s nextPutAll: versionInfo summary]
+ 				separatedBy: [s cr; cr]])
+ 		label: 'Version History: ', self selectedInfo versionName)
+ 			extent: (0.5 at 0.9) * Display height!



More information about the Squeak-dev mailing list