Hernán Morales Durand a écrit :
Hi list, I'm using PharoCore 1.1 #11301. Now I want to adapt some tools to use the new menu registration mechanism. When I evaluate:
menuCommandOn: aBuilder <worldMenu> (aBuilder item: #'Dependency Browser') parent: #Tools; action:[self open]; icon: UITheme current windowMenuForm.
the world menu is modified including only the Dependency Browser item and all remaining items were removed. Did I miss something?
No, normally the only thing to do is to declare such a method on the class side. I tried your #menuCommandOn: and the world menu is updated as it should be. Is the entire world menu corrupted or only the #Tools submenu ? Alain
Cheers,
Hernán
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project