diff options
author | Anders Carlsson <andersca@gnu.org> | 2002-01-28 07:43:26 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@src.gnome.org> | 2002-01-28 07:43:26 +0000 |
commit | 03a160119081da763f4f631bbf05d87be23dbe74 (patch) | |
tree | 7de95769811a0058fbf1123dba3788b955d28536 /gtk/gtkaccelgroup.c | |
parent | 6090d199a5ccf44c2777b66e13254754c8486e0c (diff) | |
download | gdk-pixbuf-03a160119081da763f4f631bbf05d87be23dbe74.tar.gz |
& with the default mod mask so accels work when numlock is on.
2002-01-28 Anders Carlsson <andersca@gnu.org>
* gtk/gtkaccelgroup.c (gtk_accel_groups_activate): & with the
default mod mask so accels work when numlock is on.
Diffstat (limited to 'gtk/gtkaccelgroup.c')
-rw-r--r-- | gtk/gtkaccelgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkaccelgroup.c b/gtk/gtkaccelgroup.c index 653b69cec..0e5216762 100644 --- a/gtk/gtkaccelgroup.c +++ b/gtk/gtkaccelgroup.c @@ -774,7 +774,7 @@ gtk_accel_groups_activate (GObject *object, GQuark accel_quark; GSList *slist; - accel_name = gtk_accelerator_name (accel_key, accel_mods); + accel_name = gtk_accelerator_name (accel_key, (accel_mods & gtk_accelerator_get_default_mod_mask ())); accel_quark = g_quark_from_string (accel_name); g_free (accel_name); |