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
This commit is contained in:
Tristan Van Berkom 2009-02-26 02:33:42 +00:00
parent 6bcbd9eb4d
commit 009542c192
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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
{