GNOME Bugzilla – Bug 674932
popupMenu: Fix RemoteMenu items with boolean state action
Last modified: 2012-04-29 08:41:02 UTC
See patch.
Created attachment 212943 [details] [review] popupMenu: Fix RemoteMenu items with boolean state action Stateful actions are expected to pass their state when activated, but we currently only do this for actions with a string state.
Review of attachment 212943 [details] [review]: Makes sense.
Attachment 212943 [details] pushed as 7293ddb - popupMenu: Fix RemoteMenu items with boolean state action
Wait... are they really expected to do so? Is it documented somewhere? Why doesn't bloatpad (which is the reference implementation) expect that? And what is change_action_state for, if activate can fully control truthiness?
Gah, you are right - looks like I got confused between handling of string state and the assert in g_simple_action_activate() ... reverted.