Fix check for modifiers.

Wed Dec 12 14:27:30 2001  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtkmenubar.c (window_key_press_handler): Fix check for
        modifiers.
This commit is contained in:
Owen Taylor 2001-12-12 19:30:01 +00:00 committed by Owen Taylor
parent 44b9c2d13f
commit a4d12691fb
8 changed files with 37 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Dec 12 14:27:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenubar.c (window_key_press_handler): Fix check for
modifiers.
2001-12-12 James Henstridge <james@daa.com.au>
* gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM

View File

@ -1,3 +1,8 @@
Wed Dec 12 14:27:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenubar.c (window_key_press_handler): Fix check for
modifiers.
2001-12-12 James Henstridge <james@daa.com.au>
* gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM

View File

@ -1,3 +1,8 @@
Wed Dec 12 14:27:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenubar.c (window_key_press_handler): Fix check for
modifiers.
2001-12-12 James Henstridge <james@daa.com.au>
* gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM

View File

@ -1,3 +1,8 @@
Wed Dec 12 14:27:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenubar.c (window_key_press_handler): Fix check for
modifiers.
2001-12-12 James Henstridge <james@daa.com.au>
* gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM

View File

@ -1,3 +1,8 @@
Wed Dec 12 14:27:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenubar.c (window_key_press_handler): Fix check for
modifiers.
2001-12-12 James Henstridge <james@daa.com.au>
* gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM

View File

@ -1,3 +1,8 @@
Wed Dec 12 14:27:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenubar.c (window_key_press_handler): Fix check for
modifiers.
2001-12-12 James Henstridge <james@daa.com.au>
* gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM

View File

@ -1,3 +1,8 @@
Wed Dec 12 14:27:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenubar.c (window_key_press_handler): Fix check for
modifiers.
2001-12-12 James Henstridge <james@daa.com.au>
* gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM

View File

@ -382,7 +382,8 @@ window_key_press_handler (GtkWidget *widget,
* AccelGroup changes etc.
*/
if (event->keyval == keyval &&
(mods & event->state) == mods)
((event->state & gtk_accelerator_get_default_mod_mask ()) ==
(mods & gtk_accelerator_get_default_mod_mask ())))
{
GtkMenuBar *menubar;
GtkMenuShell *menushell;