aboutsummaryrefslogtreecommitdiff
path: root/tests/test-well-formed.desktop
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-18 10:01:57 -0600
committerTed Gould <ted@gould.cx>2010-02-18 10:01:57 -0600
commitf325f3ebd4cf79ede06d8add51d2c080ea9c0912 (patch)
tree460c13032a0917bca0bf94031019eb7490f678f6 /tests/test-well-formed.desktop
parent0d5ea56677c20ba1f6cd9f8687d7c33b373c6db2 (diff)
parent6665fd01b1b85646f5c21aa393a3c3e6a8e4ab97 (diff)
downloadlibayatana-indicator-f325f3ebd4cf79ede06d8add51d2c080ea9c0912.tar.gz
libayatana-indicator-f325f3ebd4cf79ede06d8add51d2c080ea9c0912.tar.bz2
libayatana-indicator-f325f3ebd4cf79ede06d8add51d2c080ea9c0912.zip
Adding in an object to get shortcuts out of desktop files.
Diffstat (limited to 'tests/test-well-formed.desktop')
-rw-r--r--tests/test-well-formed.desktop24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/test-well-formed.desktop b/tests/test-well-formed.desktop
new file mode 100644
index 0000000..84e2e02
--- /dev/null
+++ b/tests/test-well-formed.desktop
@@ -0,0 +1,24 @@
+[Desktop Entry]
+Name=My Application
+Exec=ls
+NotShowIn=Germany
+X-Ayatana-Desktop-Shortcuts=bob;alvin;jim;touch
+
+[bob Shortcut Group]
+Name=bob's shortcut
+Exec=ls bob
+
+[alvin Shortcut Group]
+Name=alvin's shortcut
+Exec=ls alvin
+OnlyShowIn=France
+
+[jim Shortcut Group]
+Name=Jim's shortcut
+Exec=ls jim
+NotShowIn=France
+
+[touch Shortcut Group]
+Name=Touch Test
+Exec=touch test-desktop-shortcuts-touch-test
+OnlyShowIn=TouchTest