After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 743521 - GSimpleAction: add g_simple_action_set_state_hint
GSimpleAction: add g_simple_action_set_state_hint
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2015-01-26 12:06 UTC by Cosimo Cecchi
Modified: 2015-01-26 14:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GSimpleAction: add g_simple_action_set_state_hint (3.58 KB, patch)
2015-01-26 12:06 UTC, Cosimo Cecchi
committed Details | Review

Description Cosimo Cecchi 2015-01-26 12:06:23 UTC
See patch. Discussed with Ryan at the DX hackfest.
Comment 1 Cosimo Cecchi 2015-01-26 12:06:26 UTC
Created attachment 295435 [details] [review]
GSimpleAction: add g_simple_action_set_state_hint

Currently the only way to set a state hint on an action is through a
subclass; add a g_simple_action_set_state_hint() method so that this
becomes easier for clients that already use GSimpleAction.
Comment 2 Lars Karlitski 2015-01-26 13:59:19 UTC
Review of attachment 295435 [details] [review]:

Looks good. Thanks!
Comment 3 Cosimo Cecchi 2015-01-26 14:19:09 UTC
Thanks, pushed.

Attachment 295435 [details] pushed as be2d9b4 - GSimpleAction: add g_simple_action_set_state_hint