diff options
author | Tristan Van Berkom <tvb@src.gnome.org> | 2009-02-26 02:33:42 +0000 |
---|---|---|
committer | Tristan Van Berkom <tvb@src.gnome.org> | 2009-02-26 02:33:42 +0000 |
commit | 009542c1925c3a9fcbde5331e8657885d6dfa47b (patch) | |
tree | ba59c09efada4cbdfcaa00323d8593b1348dc753 | |
parent | 6bcbd9eb4dc78fbfb5188606ad8c96241080e0ba (diff) | |
download | gtk+-009542c1925c3a9fcbde5331e8657885d6dfa47b.tar.gz |
Bug 572904 – GtkRadioAction broken in trunk
Bug 572904 – GtkRadioAction broken in trunk
* gtk/gtkradioaction.c: When setting non active state always
notify the action's active state (this prevents toggle type proxies
used with radio actions from deactivating when pressed a second time).
svn path=/trunk/; revision=22409
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | gtk/gtkradioaction.c | 2 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,11 @@ +2009-02-25 Tristan Van Berkom <tvb@gnome.org> + + Bug 572904 – GtkRadioAction broken in trunk + + * gtk/gtkradioaction.c: When setting non active state always + notify the action's active state (this prevents toggle type proxies + used with radio actions from deactivating when pressed a second time). + 2009-02-25 Xan Lopez <xan@gnome.org> Bug 495320 - GtkRange does not use gdk_event_request_motions diff --git a/gtk/gtkradioaction.c b/gtk/gtkradioaction.c index 3480451f9b..48784c40d8 100644 --- a/gtk/gtkradioaction.c +++ b/gtk/gtkradioaction.c @@ -327,10 +327,10 @@ gtk_radio_action_activate (GtkAction *action) { toggle_action->private_data->active = !toggle_action->private_data->active; - g_object_notify (G_OBJECT (action), "active"); break; } } + g_object_notify (G_OBJECT (action), "active"); } else { |