From 963f191abe4422b152cd048ace48172095dcb566 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 22 Aug 2011 11:35:02 -0500 Subject: Updating the protocol spec --- libdbusmenu-glib/dbus-menu.xml | 13 +++++++++++++ libdbusmenu-glib/menuitem.h | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) (limited to 'libdbusmenu-glib') diff --git a/libdbusmenu-glib/dbus-menu.xml b/libdbusmenu-glib/dbus-menu.xml index a36c148..4b5a5d8 100644 --- a/libdbusmenu-glib/dbus-menu.xml +++ b/libdbusmenu-glib/dbus-menu.xml @@ -157,6 +157,19 @@ License version 3 and version 2.1 along with this program. If not, see "" + + disposition + string + + How the menuitem feels the information it's displaying to the + user should be presented. + - "normal" a standard menu item + - "informative" providing additional information to the user + - "warning" looking at potentially harmful results + - "alert" something bad could potentially happen + + "normal" + Vendor specific properties can be added by prefixing them with diff --git a/libdbusmenu-glib/menuitem.h b/libdbusmenu-glib/menuitem.h index 96a780e..ea18b65 100644 --- a/libdbusmenu-glib/menuitem.h +++ b/libdbusmenu-glib/menuitem.h @@ -282,13 +282,13 @@ G_BEGIN_DECLS */ #define DBUSMENU_MENUITEM_DISPOSITION_NORMAL "normal" /** - * DBUSMENU_MENUITEM_DISPOSITION_INFORMATION: + * DBUSMENU_MENUITEM_DISPOSITION_INFORMATIVE: * * Used in #DBUSMENU_MENUITEM_PROP_DISPOSITION to have a menu * item displayed in a way that conveys it's giving additional * information to the user. */ -#define DBUSMENU_MENUITEM_DISPOSITION_INFORMATION "information" +#define DBUSMENU_MENUITEM_DISPOSITION_INFORMATIVE "informative" /** * DBUSMENU_MENUITEM_DISPOSITION_WARNING: * -- cgit v1.2.3