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:
parent
6bcbd9eb4d
commit
009542c192
@ -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>
|
2009-02-25 Xan Lopez <xan@gnome.org>
|
||||||
|
|
||||||
Bug 495320 - GtkRange does not use gdk_event_request_motions
|
Bug 495320 - GtkRange does not use gdk_event_request_motions
|
||||||
|
@ -327,10 +327,10 @@ gtk_radio_action_activate (GtkAction *action)
|
|||||||
{
|
{
|
||||||
toggle_action->private_data->active = !toggle_action->private_data->active;
|
toggle_action->private_data->active = !toggle_action->private_data->active;
|
||||||
|
|
||||||
g_object_notify (G_OBJECT (action), "active");
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
g_object_notify (G_OBJECT (action), "active");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user