← Back to team overview

ayatana-commits team mailing list archive

[Merge] lp:~agateau/dbusmenu/shortcut-spec into lp:dbusmenu

 

Aurélien Gâteau has proposed merging lp:~agateau/dbusmenu/shortcut-spec into lp:dbusmenu.

Requested reviews:
  DBus Menu Team (dbusmenu-team)


A transcription of what was agreed during UDS concerning shortcuts.

Time to document it, since I already implemented it in dbusmenu-qt.
-- 
https://code.launchpad.net/~agateau/dbusmenu/shortcut-spec/+merge/26941
Your team ayatana-commits is subscribed to branch lp:dbusmenu.
=== modified file 'libdbusmenu-glib/dbus-menu.xml'
--- libdbusmenu-glib/dbus-menu.xml	2010-05-03 13:48:17 +0000
+++ libdbusmenu-glib/dbus-menu.xml	2010-06-07 12:39:24 +0000
@@ -106,6 +106,20 @@
 			<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>


Follow ups