diff options
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r-- | libdbusmenu-glib/dbus-menu.xml | 13 | ||||
-rw-r--r-- | libdbusmenu-glib/menuitem.h | 4 |
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: * |