|
From: creedon <icr...@us...> - 2005-12-28 03:06:47
|
Update of /cvsroot/frontierkernel/Frontier/Common/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8836 Modified Files: shellkb.c Log Message: rollback to previous state, tried to use MenuEvent in place of MenuKey. Unlike MenuKey, MenuEvent doesn't just deal with character equivalents, it deals with the character and modifiers. So when command-option-\ is pressed for example, it wasn't finding the menu and item ids for that command. MenuEvent is the current recommended function but unless a workaround can be found... Index: shellkb.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/shellkb.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** shellkb.c 1 Oct 2005 17:47:02 -0000 1.5 --- shellkb.c 28 Dec 2005 03:06:39 -0000 1.6 *************** *** 317,321 **** shellupdatemenus (); /*be sure the menus are properly checked and highlighted*/ ! if (!shellhandlemenu (MenuEvent (&shellevent))) { /* cmd-key not consumed by menubar */ /* 2005-10-01 creedon - change MenuKey to MenuEvent, allows OS X Keyboard Shortcuts to get through */ // cmd-key not consumed by menubar if (fl) --- 317,321 ---- shellupdatemenus (); /*be sure the menus are properly checked and highlighted*/ ! if (!shellhandlemenu (MenuKey (chkb))) { /*cmd-key not consumed by menubar*/ if (fl) |