summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2013-11-05 10:20:49 -0500
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2013-11-05 14:14:58 -0500
commitfc71414ada5b270a4c6c9775225f5cdc5d303f63 (patch)
treea17778d0cc947c2e319dd962325ff52ae108b366 /demos
parent28f49f3a7e1153270f2eff8709385f58a4013ecc (diff)
downloadgtk+-fc71414ada5b270a4c6c9775225f5cdc5d303f63.tar.gz
demo: Add desktop file
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/Makefile.am3
-rw-r--r--demos/gtk-demo/gtk3-demo.desktop10
2 files changed, 13 insertions, 0 deletions
diff --git a/demos/gtk-demo/Makefile.am b/demos/gtk-demo/Makefile.am
index ba2a08105f..3cc92d672a 100644
--- a/demos/gtk-demo/Makefile.am
+++ b/demos/gtk-demo/Makefile.am
@@ -73,6 +73,9 @@ LDADDS = \
bin_PROGRAMS = gtk3-demo gtk3-demo-application
+desktopdir = $(datadir)/applications
+desktop_DATA = gtk3-demo.desktop
+
BUILT_SOURCES = demos.h demo_resources.c
EXTRA_DIST += \
diff --git a/demos/gtk-demo/gtk3-demo.desktop b/demos/gtk-demo/gtk3-demo.desktop
new file mode 100644
index 0000000000..9747813388
--- /dev/null
+++ b/demos/gtk-demo/gtk3-demo.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=GTK+ Demo
+Comment=GTK+ code examples and demonstrations
+Exec=gtk3-demo
+Icon=gtk3-demo
+Terminal=false
+Type=Application
+StartupNotify=true
+Categories=GTK;
+NoDisplay=true