nice! I noticed: - Most items in the submenu System>Preferences>... do not do anything when being selected - testMenuHandlesCount and testCountsMacOnly fail To integrate these changes, you could just give us a change set (I assume the current Unnamed changeset in the image contains all relevant changes already), and we will then deal with MC. Adrian On Nov 1, 2008, at 05:59 , John M McIntosh wrote:
On Oct 31, 2008, at 1:28 PM, Marcus Denker wrote:
On 31.10.2008, at 21:18, John McIntosh wrote:
I'm wondering if there is any interest in having mac menus in Pharo. This was done for Sophie and Scratch, and attempted for 3.10. I could drag the required change sets out of storage to implement the proper file/edit menu in Pharo and have it respond to cmd-Q etc if there is any interest...
Yes! I want all the things that are in the new simple world-menu in a "real" menu.
Marcus
Done (I think)
Next time I'm at ESUG I must stay more than 5 hours so that people can buy me some beer.
I've posted pharo10124WithMacMenus.1.image to my idisk in the /experimental/Pharo/ folder found via http://www.smalltalkconsulting.com/squeak.html
Macintosh users can take it for a spin.
I note we should have a more *generic* way to convert morphic menus to the structure needed for macintosh menus but it took me a couple of hours to figure out how to make the hierarchy mac menus since I've not done that before, plus I wasted some time looking at the complicated target, argument, selector mess on the morphic menu item before discovering *doButtonAction* did the required menu activation trick on the mophic menu item.
Perhaps someone clever can figure out how to read all the morphic menus and build the require mac menus.
I did a bit of hand coding instead.
Once everyone is happy, could someone take the pharo10124WithMacMenus.1.image and promote to the proper MC server, I'm not quite sure how that is done, and rather not risk screwing things up quite yet.
Normally macintosh application also have Windows menu for multiple host windows. Once we actually get to having multiple host windows, why turning that menu on is lurking in the code base...
disableHideMenuCmd disables the cmd-H for hide squeak VM. Some people might like that, personally in some images I prefer the hierarchy browser to come up... Anyway people can decide.
-- = = = = = ====================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Corporate Smalltalk Consulting Ltd. http:// www.smalltalkconsulting.com = = = = = ======================================================================
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project