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 692928 - Document G_MENU_{ATTRIBUTE,LINK}_*
Document G_MENU_{ATTRIBUTE,LINK}_*
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gapplication
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-01-31 10:56 UTC by Lars Karlitski
Modified: 2013-02-03 14:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gmenuexporter: fix typo in docstring (944 bytes, patch)
2013-01-31 10:56 UTC, Lars Karlitski
committed Details | Review
gmenumodel: document G_MENU_{ATTRIBUTE,LINK}_* (2.03 KB, patch)
2013-01-31 10:56 UTC, Lars Karlitski
committed Details | Review
gmenumodel: add G_MENU_ATTRIBUTE_ACTION_NAMESPACE (932 bytes, patch)
2013-01-31 10:56 UTC, Lars Karlitski
needs-work Details | Review
Oops. (942 bytes, patch)
2013-01-31 13:29 UTC, Lars Karlitski
needs-work Details | Review
gmenumodel: add G_MENU_ATTRIBUTE_ACTION_NAMESPACE (942 bytes, patch)
2013-02-01 16:25 UTC, Lars Karlitski
committed Details | Review

Description Lars Karlitski 2013-01-31 10:56:34 UTC
Also attached is a patch that fixes a typo and one that documents
G_MENU_ATTRIBUTE_ACTION_NAMESPACE.
Comment 1 Lars Karlitski 2013-01-31 10:56:36 UTC
Created attachment 234894 [details] [review]
gmenuexporter: fix typo in docstring
Comment 2 Lars Karlitski 2013-01-31 10:56:39 UTC
Created attachment 234895 [details] [review]
gmenumodel: document G_MENU_{ATTRIBUTE,LINK}_*
Comment 3 Lars Karlitski 2013-01-31 10:56:43 UTC
Created attachment 234896 [details] [review]
gmenumodel: add G_MENU_ATTRIBUTE_ACTION_NAMESPACE
Comment 4 Matthias Clasen 2013-01-31 12:55:32 UTC
Review of attachment 234894 [details] [review]:

sure
Comment 5 Matthias Clasen 2013-01-31 12:55:59 UTC
Review of attachment 234895 [details] [review]:

ok
Comment 6 Matthias Clasen 2013-01-31 12:56:38 UTC
Review of attachment 234896 [details] [review]:

::: gio/gmenumodel.h
@@ +52,3 @@
+ **/
+#define G_MENU_ATTRIBUTE_ACTION "action-namespace"
+

There's a mismatch here...
Comment 7 Lars Karlitski 2013-01-31 13:29:15 UTC
Created attachment 234912 [details] [review]
Oops.

Thanks for the quick review.
Comment 8 Matthias Clasen 2013-02-01 15:18:57 UTC
Review of attachment 234912 [details] [review]:

::: gio/gmenumodel.h
@@ +49,3 @@
+ * menus that are linked from this item.
+ *
+ * Since: 2.32

I think the 2.32 is probably wrong here ? Its a little tricky, since these attributes are not actually used in gio at all. Lets just go with 2.36, I'd say. Thats correct for the macro, at least
Comment 9 Lars Karlitski 2013-02-01 16:25:13 UTC
Created attachment 235003 [details] [review]
gmenumodel: add G_MENU_ATTRIBUTE_ACTION_NAMESPACE

Hm, two copy and paste errors in a ten-line patch.  Thanks.
Comment 10 Matthias Clasen 2013-02-01 18:36:54 UTC
Review of attachment 235003 [details] [review]:

ok now
Comment 11 Matthias Clasen 2013-02-03 14:58:46 UTC
Attachment 234894 [details] pushed as aeafab1 - gmenuexporter: fix typo in docstring
Attachment 234895 [details] pushed as 7fb9223 - gmenumodel: document G_MENU_{ATTRIBUTE,LINK}_*
Attachment 235003 [details] pushed as 1a7b4b4 - gmenumodel: add G_MENU_ATTRIBUTE_ACTION_NAMESPACE