forked from AuroraMiddleware/gtk
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:
parent
44b9c2d13f
commit
a4d12691fb
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user