aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-06-07 16:12:52 -0500
committerTed Gould <ted@gould.cx>2010-06-07 16:12:52 -0500
commit068bce1706c5ded0a9be6431c942ba0720d47707 (patch)
tree08ae0f688c6ab55e2a636fd64358b9cf8ecb6619
parenta96851a88488411ef148bbdefbc61e576040ed11 (diff)
parent714b6f676a14c1e51ad9b0e6f095ec36d7740137 (diff)
downloadlibdbusmenu-068bce1706c5ded0a9be6431c942ba0720d47707.tar.gz
libdbusmenu-068bce1706c5ded0a9be6431c942ba0720d47707.tar.bz2
libdbusmenu-068bce1706c5ded0a9be6431c942ba0720d47707.zip
Adding shortcut property to documentation.
-rw-r--r--libdbusmenu-glib/dbus-menu.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/libdbusmenu-glib/dbus-menu.xml b/libdbusmenu-glib/dbus-menu.xml
index 7bccf28..53b67de 100644
--- a/libdbusmenu-glib/dbus-menu.xml
+++ b/libdbusmenu-glib/dbus-menu.xml
@@ -106,6 +106,20 @@ License version 3 and version 2.1 along with this program. If not, see
<td>Empty</td>
</tr>
<tr>
+ <td>shortcut</td>
+ <td>array of arrays of strings</td>
+ <td>The shortcut of the item. Each array represents the key press
+ in the list of keypresses. Each list of strings contains a list of
+ modifiers and then the key that is used. The modifier strings
+ allowed are: "Control", "Alt", "Shift" and "Super".
+
+ - A simple shortcut like Ctrl+S is represented as:
+ [["Control", "S"]]
+ - A complex shortcut like Ctrl+Q, Alt+X is represented as:
+ [["Control", "Q"], ["Alt", "X"]]</td>
+ <td>Empty</td>
+ </tr>
+ <tr>
<td>toggle-type</td>
<td>string</td>
<td>