forked from AuroraMiddleware/gtk
Call gdk_keyval_to_lower() on the key passed in, since we lowercase all
Fri Mar 29 18:09:18 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkaccelgroup.c (gtk_accel_group_query): Call gdk_keyval_to_lower() on the key passed in, since we lowercase all other key vals passed in, so querying keyvals will otherwise fail if the caller used an uppercase accelerators (#76899, Vitaly Tishkov)
This commit is contained in:
parent
b6cefaa0b7
commit
a302a5ea5b
@ -1,3 +1,11 @@
|
||||
Fri Mar 29 18:09:18 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accel_group_query): Call
|
||||
gdk_keyval_to_lower() on the key passed in, since we
|
||||
lowercase all other key vals passed in, so querying
|
||||
keyvals will otherwise fail if the caller used
|
||||
an uppercase accelerators (#76899, Vitaly Tishkov)
|
||||
|
||||
Fri Mar 29 17:41:21 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (load_modules): Fix screwup in handling
|
||||
|
@ -1,3 +1,11 @@
|
||||
Fri Mar 29 18:09:18 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accel_group_query): Call
|
||||
gdk_keyval_to_lower() on the key passed in, since we
|
||||
lowercase all other key vals passed in, so querying
|
||||
keyvals will otherwise fail if the caller used
|
||||
an uppercase accelerators (#76899, Vitaly Tishkov)
|
||||
|
||||
Fri Mar 29 17:41:21 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (load_modules): Fix screwup in handling
|
||||
|
@ -1,3 +1,11 @@
|
||||
Fri Mar 29 18:09:18 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accel_group_query): Call
|
||||
gdk_keyval_to_lower() on the key passed in, since we
|
||||
lowercase all other key vals passed in, so querying
|
||||
keyvals will otherwise fail if the caller used
|
||||
an uppercase accelerators (#76899, Vitaly Tishkov)
|
||||
|
||||
Fri Mar 29 17:41:21 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (load_modules): Fix screwup in handling
|
||||
|
@ -1,3 +1,11 @@
|
||||
Fri Mar 29 18:09:18 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accel_group_query): Call
|
||||
gdk_keyval_to_lower() on the key passed in, since we
|
||||
lowercase all other key vals passed in, so querying
|
||||
keyvals will otherwise fail if the caller used
|
||||
an uppercase accelerators (#76899, Vitaly Tishkov)
|
||||
|
||||
Fri Mar 29 17:41:21 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (load_modules): Fix screwup in handling
|
||||
|
@ -1,3 +1,11 @@
|
||||
Fri Mar 29 18:09:18 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accel_group_query): Call
|
||||
gdk_keyval_to_lower() on the key passed in, since we
|
||||
lowercase all other key vals passed in, so querying
|
||||
keyvals will otherwise fail if the caller used
|
||||
an uppercase accelerators (#76899, Vitaly Tishkov)
|
||||
|
||||
Fri Mar 29 17:41:21 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (load_modules): Fix screwup in handling
|
||||
|
@ -1,3 +1,11 @@
|
||||
Fri Mar 29 18:09:18 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accel_group_query): Call
|
||||
gdk_keyval_to_lower() on the key passed in, since we
|
||||
lowercase all other key vals passed in, so querying
|
||||
keyvals will otherwise fail if the caller used
|
||||
an uppercase accelerators (#76899, Vitaly Tishkov)
|
||||
|
||||
Fri Mar 29 17:41:21 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c (load_modules): Fix screwup in handling
|
||||
|
@ -695,7 +695,7 @@ gtk_accel_group_query (GtkAccelGroup *accel_group,
|
||||
|
||||
g_return_val_if_fail (GTK_IS_ACCEL_GROUP (accel_group), NULL);
|
||||
|
||||
entries = quick_accel_find (accel_group, accel_key, accel_mods, &n);
|
||||
entries = quick_accel_find (accel_group, gdk_keyval_to_lower (accel_key), accel_mods, &n);
|
||||
|
||||
if (n_entries)
|
||||
*n_entries = entries ? n : 0;
|
||||
|
Loading…
Reference in New Issue
Block a user