<div dir="ltr">Hi Tobias,<div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 28, 2015 at 9:56 AM, Tobias Pape <span dir="ltr"><<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
On 28.08.2015, at 18:15, Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>> wrote:<br>
<br>
> Hi Chris,<br>
><br>
> 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).<br>
<br>
</span>Huh? Then I've done something wrong.<br>
With <menuPriority: aNumber> you can define an order, and if the order is adjacent,<br>
menu items should show up adjacent :(.<br></blockquote><div><br></div><div>Then I've probably misunderstood how the scheme should work. Or perhaps the implementation in ChangeSorter is an early one. Anyway, take a look at my attempt to add a single item next to the 'destroy change set (x)' item in ChangeSorter that is in Monticello-eem.617. My intent is to add 'delete Monticello load change sets' after 'destroy change set (x)'.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I'll look into that<br>
<br>
best<br>
<span class="HOEnZb"><font color="#888888"> -tobias<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> And I can't stomach isKindOf: or isMemberOf:/class to distinguish MenuItemMorphs from MenuLineMorphs.<br>
><br>
> Sent from my iPhone<br>
><br>
>> On Aug 28, 2015, at 8:23 AM, Chris Muller <<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.com</a>> wrote:<br>
>><br>
>> Why? Just curious..<br>
>><br>
>>> On Thu, Aug 27, 2015 at 7:04 PM, <<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>> wrote:<br>
>>> Eliot Miranda uploaded a new version of Morphic to project The Trunk:<br>
>>> <a href="http://source.squeak.org/trunk/Morphic-eem.1002.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/trunk/Morphic-eem.1002.mcz</a><br>
>>><br>
>>> ==================== Summary ====================<br>
>>><br>
>>> Name: Morphic-eem.1002<br>
>>> Author: eem<br>
>>> Time: 27 August 2015, 5:03:26.429 pm<br>
>>> UUID: d94fff6d-5fef-4500-9144-4dc8bfa1510e<br>
>>> Ancestors: Morphic-mt.1001<br>
>>><br>
>>> It's really convenient to be able to identify MenuItemMorphs easily.<br>
>>><br>
>>> =============== Diff against Morphic-mt.1001 ===============<br>
>>><br>
>>> Item was added:<br>
>>> + ----- Method: MenuItemMorph>>isMenuItemMorph (in category 'testing') -----<br>
>>> + isMenuItemMorph<br>
>>> + ^true!<br>
>>><br>
>>> Item was added:<br>
>>> + ----- Method: Morph>>isMenuItemMorph (in category 'testing') -----<br>
>>> + isMenuItemMorph<br>
>>> + ^false!<br>
<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>