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

Eliot Miranda eliot.miranda at gmail.com
Fri Aug 28 16:15:23 UTC 2015


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).  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