[Pharo-dev] Pharo6.1 World menu order

Cyril Ferlicot D. cyril.ferlicot at gmail.com
Mon Nov 13 15:47:51 EST 2017


Le 13/11/2017 à 20:37, Aliaksei Syrel a écrit :
> Hi,
> 
> I find world menu order in Pharo 6.1. with enable Iceberg a little bit
> awkward :)
> 
> Inline images 1
> 
> Any thought on why Iceberg is the first? It breaks muscle memory.
> 

It is first because other items does not have any order.

The order and priorities where integrated in Pharo 7 in this PR:

https://github.com/pharo-project/pharo/pull/202

Since it was not backported, Iceberg is first in Pharo 7.

> P.S. To fix the order remove `parent: #'MostUsedTools'`
> from IceRepositoriesBrowser class>>#menuCommandOn: so that
> implementation is:
> 
> menuCommandOn: aBuilder 
> "Add a custom menu item to the world menu"
> <worldMenu> 
> 
> (aBuilder item: #'Iceberg')
> order: 0.8; 
> icon: self icon;  
> "parent: #'MostUsedTools';   <-- remove"
> keyText: 'o, i';
> action: [ self open ].

> 
> 
> Cheers,
> Alex


-- 
Cyril Ferlicot
https://ferlicot.fr

http://www.synectique.eu
2 rue Jacques Prévert 01,
59650 Villeneuve d'ascq France

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20171113/260eabf4/attachment.asc>


More information about the Pharo-dev mailing list