GNOME Bugzilla – Bug 704157
GAction: add function for printing detailed names
Last modified: 2013-07-13 17:44:27 UTC
See patch.
Created attachment 249067 [details] [review] 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.
Irrelevant nitpicking: g_strjoin ("::", action_name, str, NULL); I would use g_strconcat() here for simply joining two strings with a separator.
Attachment 249067 [details] pushed as c04a063 - GAction: add function for printing detailed names Pushed with the suggested change -- I like it better this way too.