[gui] [PATCH] Fix ActionEvent dispatching to MenuShortcuts

David Jee djee@redhat.com
Fri Jul 30 19:32:00 GMT 2004


Hello,

I committed the following patch to the java-gui-branch.  It fixes
ActionEvent dispatching to MenuShortcuts.  Also, it seems that menu
accelerators are working fine at the moment, so I'm removing a FIXME
regarding accelerators.

-David Jee

2004-07-30  David Jee  <djee@redhat.com>

        * java/awt/DefaultKeyboardFocusManager.java
        (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
        event.  Fix shift modifier checking.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
        (accel_attach): Remove.
        (setupAccelGroup): Remove calls to accel_attach.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: MenuShortcutActionEvent.patch
Type: text/x-patch
Size: 4492 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040730/1634d93b/attachment.bin>


More information about the Java-patches mailing list