[squeak-dev] The Trunk: Morphic-eem.1002.mcz

Tobias Pape Das.Linux at gmx.de
Fri Aug 28 16:56:20 UTC 2015


On 28.08.2015, at 18:15, Eliot Miranda <eliot.miranda at gmail.com> wrote:

> Hi Chris,
> 
>    I wanted to add a "delete all Monticello load change sets" menu pick to the change set sorter, but because menu pragmas are not right yet the only way to add a menu item next to another is to edit the menu using removeMorph: and addMorph:after: (instead of defining order in the menu pragma itself).

Huh? Then I've done something wrong.
With <menuPriority: aNumber> you can define an order, and if the order is adjacent,
menu items should show up adjacent :(.

I'll look into that 

best
	-tobias

>  And I can't stomach isKindOf: or isMemberOf:/class to distinguish MenuItemMorphs from MenuLineMorphs.
> 
> Sent from my iPhone
> 
>> On Aug 28, 2015, at 8:23 AM, Chris Muller <asqueaker at gmail.com> wrote:
>> 
>> Why?  Just curious..
>> 
>>> On Thu, Aug 27, 2015 at 7:04 PM,  <commits at source.squeak.org> wrote:
>>> Eliot Miranda uploaded a new version of Morphic to project The Trunk:
>>> http://source.squeak.org/trunk/Morphic-eem.1002.mcz
>>> 
>>> ==================== Summary ====================
>>> 
>>> Name: Morphic-eem.1002
>>> Author: eem
>>> Time: 27 August 2015, 5:03:26.429 pm
>>> UUID: d94fff6d-5fef-4500-9144-4dc8bfa1510e
>>> Ancestors: Morphic-mt.1001
>>> 
>>> It's really convenient to be able to identify MenuItemMorphs easily.
>>> 
>>> =============== Diff against Morphic-mt.1001 ===============
>>> 
>>> Item was added:
>>> + ----- Method: MenuItemMorph>>isMenuItemMorph (in category 'testing') -----
>>> + isMenuItemMorph
>>> +       ^true!
>>> 
>>> Item was added:
>>> + ----- Method: Morph>>isMenuItemMorph (in category 'testing') -----
>>> + isMenuItemMorph
>>> +       ^false!




More information about the Squeak-dev mailing list