From: Tristan Van Berkom Date: Thu, 26 Feb 2009 02:33:42 +0000 (+0000) Subject: Bug 572904 – GtkRadioAction broken in trunk X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=009542c1925c3a9fcbde5331e8657885d6dfa47b;p=~andy%2Fgtk 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 --- diff --git a/ChangeLog b/ChangeLog index 70539ba3b..a5214087f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-02-25 Tristan Van Berkom + + 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 Bug 495320 - GtkRange does not use gdk_event_request_motions diff --git a/gtk/gtkradioaction.c b/gtk/gtkradioaction.c index 3480451f9..48784c40d 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 {