aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-08-22 11:35:02 -0500
committerTed Gould <ted@gould.cx>2011-08-22 11:35:02 -0500
commit963f191abe4422b152cd048ace48172095dcb566 (patch)
tree409e51958edf05150714cc046e8c791e36b24313 /libdbusmenu-glib
parent14bcf1b8a8ada10beee5f13a5bec9854d4e58a13 (diff)
downloadlibdbusmenu-963f191abe4422b152cd048ace48172095dcb566.tar.gz
libdbusmenu-963f191abe4422b152cd048ace48172095dcb566.tar.bz2
libdbusmenu-963f191abe4422b152cd048ace48172095dcb566.zip
Updating the protocol spec
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r--libdbusmenu-glib/dbus-menu.xml13
-rw-r--r--libdbusmenu-glib/menuitem.h4
2 files changed, 15 insertions, 2 deletions
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
</td>
<td>""</td>
</tr>
+ <tr>
+ <td>disposition</td>
+ <td>string</td>
+ <td>
+ 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
+ </td>
+ <td>"normal"</td>
+ </tr>
</table>
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:
*