GAction: add function for printing detailed names

A counterpart for parsing of detailed actions into (name, target) pairs,
this new function prints them back.

We also add a new function to check for validity of action names.  Only
valid action names are allowed when printing.  Parsing accepts _some_
invalid names for backwards compatibility.

https://bugzilla.gnome.org/show_bug.cgi?id=704157
This commit is contained in:
Ryan Lortie
2013-07-04 16:24:38 -04:00
parent c08ef6c165
commit c04a063b78
3 changed files with 105 additions and 7 deletions

View File

@@ -3107,6 +3107,7 @@ GAction
GActionInterface
<SUBSECTION>
g_action_name_is_valid
g_action_get_name
g_action_get_parameter_type
g_action_get_state_type
@@ -3122,6 +3123,7 @@ g_action_activate
<SUBSECTION>
g_action_parse_detailed_name
g_action_print_detailed_name
<SUBSECTION Standard>
g_action_get_type