summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tvb@src.gnome.org>2009-02-26 02:33:42 +0000
committerTristan Van Berkom <tvb@src.gnome.org>2009-02-26 02:33:42 +0000
commit009542c1925c3a9fcbde5331e8657885d6dfa47b (patch)
treeba59c09efada4cbdfcaa00323d8593b1348dc753
parent6bcbd9eb4dc78fbfb5188606ad8c96241080e0ba (diff)
downloadgdk-pixbuf-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--ChangeLog8
-rw-r--r--gtk/gtkradioaction.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 70539ba3b..a5214087f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 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
{