Commit a4d12691 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

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.
parent 44b9c2d1
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
......
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
......
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
......
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
......
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
......
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
......
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
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment