[squeak-dev] The Trunk: Monticello-eem.617.mcz

Tobias Pape Das.Linux at gmx.de
Fri Aug 28 05:56:29 UTC 2015


Hi Eliot,

On 28.08.2015, at 00:09, commits at source.squeak.org wrote:

> Item was added:
> + ----- Method: ChangeSorter>>monticelloChangeSetMenu: (in category '*Monticello-changeSet menu') -----
> + monticelloChangeSetMenu: aMenu
> + 	<changeSetMenuShifted: false>
> + 	<menuPriority: 600>
> + 	"Sigh, when implementing menu pragmas this is not what I had in mind..."
> + 	aMenu add: 'delete Monticello load change sets' action: #deleteMonticelloChangeSets.
> + 	(aMenu submorphs
> + 						detect: [:m| m isMenuItemMorph and: [m contents beginsWith: 'destroy change set']]
> + 						ifNone: []) ifNotNil:
> + 		[:destroyItem| | item |
> + 		aMenu removeMorph: (item := aMenu submorphs last).
> + 		aMenu addMorph: item after: destroyItem].
> + 	^aMenu!

Can you explain what you want to achieve
and how I can make this more convenient?

Best regards
	-Tobias



More information about the Squeak-dev mailing list