]> Pileus Git - ~andy/gtk/commitdiff
& with the default mod mask so accels work when numlock is on.
authorAnders Carlsson <andersca@gnu.org>
Mon, 28 Jan 2002 07:43:26 +0000 (07:43 +0000)
committerAnders Carlsson <andersca@src.gnome.org>
Mon, 28 Jan 2002 07:43:26 +0000 (07:43 +0000)
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.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkaccelgroup.c

index 2cb79045cb744d70fa579d9e3617499a590e080a..1bc6fce06d51e8a53b1d7e72012d1656c440c282 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
 Sun Jan 27 23:23:23 2002  Kristian Rietveld  <kris@gtk.org>
 
        * gtk/gtkrbtree.[ch]: add _gtk_rbtree_mark_invalid (my previous
index 2cb79045cb744d70fa579d9e3617499a590e080a..1bc6fce06d51e8a53b1d7e72012d1656c440c282 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 Sun Jan 27 23:23:23 2002  Kristian Rietveld  <kris@gtk.org>
 
        * gtk/gtkrbtree.[ch]: add _gtk_rbtree_mark_invalid (my previous
index 2cb79045cb744d70fa579d9e3617499a590e080a..1bc6fce06d51e8a53b1d7e72012d1656c440c282 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 Sun Jan 27 23:23:23 2002  Kristian Rietveld  <kris@gtk.org>
 
        * gtk/gtkrbtree.[ch]: add _gtk_rbtree_mark_invalid (my previous
index 2cb79045cb744d70fa579d9e3617499a590e080a..1bc6fce06d51e8a53b1d7e72012d1656c440c282 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 Sun Jan 27 23:23:23 2002  Kristian Rietveld  <kris@gtk.org>
 
        * gtk/gtkrbtree.[ch]: add _gtk_rbtree_mark_invalid (my previous
index 2cb79045cb744d70fa579d9e3617499a590e080a..1bc6fce06d51e8a53b1d7e72012d1656c440c282 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 Sun Jan 27 23:23:23 2002  Kristian Rietveld  <kris@gtk.org>
 
        * gtk/gtkrbtree.[ch]: add _gtk_rbtree_mark_invalid (my previous
index 2cb79045cb744d70fa579d9e3617499a590e080a..1bc6fce06d51e8a53b1d7e72012d1656c440c282 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 Sun Jan 27 23:23:23 2002  Kristian Rietveld  <kris@gtk.org>
 
        * gtk/gtkrbtree.[ch]: add _gtk_rbtree_mark_invalid (my previous
index 2cb79045cb744d70fa579d9e3617499a590e080a..1bc6fce06d51e8a53b1d7e72012d1656c440c282 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 Sun Jan 27 23:23:23 2002  Kristian Rietveld  <kris@gtk.org>
 
        * gtk/gtkrbtree.[ch]: add _gtk_rbtree_mark_invalid (my previous
index 653b69cecd4f64a25ccce22f7125bd446f3f4e5d..0e521676212a4acfaf7e48921a33a951905be49d 100644 (file)
@@ -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);