aboutsummaryrefslogtreecommitdiff
path: root/tests/test-well-formed.desktop
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-16 22:51:13 -0600
committerTed Gould <ted@gould.cx>2010-02-16 22:51:13 -0600
commita9e097f3f87fa3aac7a06ddbc137c6122c65c9dc (patch)
tree42360c9b2d858b2c97ac8dea8cef91f2afcaa1bd /tests/test-well-formed.desktop
parent72ef75fa51c63e533ff2883bffc75bfc86a2c521 (diff)
parent6665fd01b1b85646f5c21aa393a3c3e6a8e4ab97 (diff)
downloadlibayatana-indicator-a9e097f3f87fa3aac7a06ddbc137c6122c65c9dc.tar.gz
libayatana-indicator-a9e097f3f87fa3aac7a06ddbc137c6122c65c9dc.tar.bz2
libayatana-indicator-a9e097f3f87fa3aac7a06ddbc137c6122c65c9dc.zip
* Upstream merge
* Adding new object for parsing desktop files for Shortcuts
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