aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-12-09 22:57:31 -0600
committerTed Gould <ted@gould.cx>2009-12-09 22:57:31 -0600
commit24c71d792f77c57d1ede30b23100d020b6624511 (patch)
tree2e96b866514d42114767d37768acdabae625ea39
parent5fb59ea33d79bde15a07516adeb67d963f90e029 (diff)
downloadlibdbusmenu-24c71d792f77c57d1ede30b23100d020b6624511.tar.gz
libdbusmenu-24c71d792f77c57d1ede30b23100d020b6624511.tar.bz2
libdbusmenu-24c71d792f77c57d1ede30b23100d020b6624511.zip
Cleaning up our types. No more image type (but leaving to not confuse) and adding in the properties needed for toggle stuff.
-rw-r--r--libdbusmenu-glib/client.h2
-rw-r--r--libdbusmenu-glib/menuitem.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/libdbusmenu-glib/client.h b/libdbusmenu-glib/client.h
index fff9a6b..b42bc83 100644
--- a/libdbusmenu-glib/client.h
+++ b/libdbusmenu-glib/client.h
@@ -52,7 +52,7 @@ G_BEGIN_DECLS
#define DBUSMENU_CLIENT_TYPES_DEFAULT "menuitem"
#define DBUSMENU_CLIENT_TYPES_SEPARATOR "separator"
-#define DBUSMENU_CLIENT_TYPES_IMAGE "imageitem"
+#define DBUSMENU_CLIENT_TYPES_IMAGE "menuitem"
/**
DbusmenuClientClass:
diff --git a/libdbusmenu-glib/menuitem.h b/libdbusmenu-glib/menuitem.h
index f0615d7..be56fc8 100644
--- a/libdbusmenu-glib/menuitem.h
+++ b/libdbusmenu-glib/menuitem.h
@@ -56,6 +56,11 @@ G_BEGIN_DECLS
#define DBUSMENU_MENUITEM_PROP_LABEL "label"
#define DBUSMENU_MENUITEM_PROP_ICON "icon"
#define DBUSMENU_MENUITEM_PROP_ICON_DATA "icon-data"
+#define DBUSMENU_MENUITEM_PROP_TOGGLE_TYPE "toggle-type"
+#define DBUSMENU_MENUITEM_PROP_TOGGLE_CHECKED "toggle-checked"
+
+#define DBUSMENU_MENUITEM_TOGGLE_CHECK "checkmark"
+#define DBUSMENU_MENUITEM_TOGGLE_RADIO "radio"
/**
DbusmenuMenuitem: