aboutsummaryrefslogtreecommitdiff
path: root/tests/test-well-formed.desktop
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-18 10:06:47 -0600
committerTed Gould <ted@gould.cx>2010-02-18 10:06:47 -0600
commitfa27dc5358b3a661f35427caab7b3a2dee4781bf (patch)
treea6fc4809273437fdf45ca5ad68528eef24666cda /tests/test-well-formed.desktop
parent8eee8911bad5fc290c6b8d9a3f71b94a633a2e2c (diff)
parent0fc874707a8d16fb5a23f3d23b281587b19cd17f (diff)
downloadlibayatana-indicator-fa27dc5358b3a661f35427caab7b3a2dee4781bf.tar.gz
libayatana-indicator-fa27dc5358b3a661f35427caab7b3a2dee4781bf.tar.bz2
libayatana-indicator-fa27dc5358b3a661f35427caab7b3a2dee4781bf.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