[glib] gmenumodel: add G_MENU_ATTRIBUTE_ACTION_NAMESPACE



commit 1a7b4b42a89ea9736e6447a54e0d2a678356ff64
Author: Lars Uebernickel <lars uebernickel canonical com>
Date:   Thu Jan 31 11:44:32 2013 +0100

    gmenumodel: add G_MENU_ATTRIBUTE_ACTION_NAMESPACE
    
    https://bugzilla.gnome.org/show_bug.cgi?id=692928

 gio/gmenumodel.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/gio/gmenumodel.h b/gio/gmenumodel.h
index a97d751..5a94999 100644
--- a/gio/gmenumodel.h
+++ b/gio/gmenumodel.h
@@ -43,6 +43,16 @@ G_BEGIN_DECLS
 #define G_MENU_ATTRIBUTE_ACTION "action"
 
 /**
+ * G_MENU_ATTRIBUTE_ACTION_NAMESPACE:
+ *
+ * The menu item attribute that holds the namespace for all action names in
+ * menus that are linked from this item.
+ *
+ * Since: 2.36
+ **/
+#define G_MENU_ATTRIBUTE_ACTION_NAMESPACE "action-namespace"
+
+/**
  * G_MENU_ATTRIBUTE_TARGET:
  *
  * The menu item attribute which holds the target with which the item's action



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]