From 009542c1925c3a9fcbde5331e8657885d6dfa47b Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Thu, 26 Feb 2009 02:33:42 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20572904=20=E2=80=93=20GtkRadioAction=20bro?= =?UTF-8?q?ken=20in=20trunk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- ChangeLog | 8 ++++++++ gtk/gtkradioaction.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 70539ba3b9..a5214087f0 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 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 {