[gtk+] demo: Add desktop file



commit fc71414ada5b270a4c6c9775225f5cdc5d303f63
Author: William Jon McCann <william jon mccann gmail com>
Date:   Tue Nov 5 10:20:49 2013 -0500

    demo: Add desktop file

 demos/gtk-demo/Makefile.am       |    3 +++
 demos/gtk-demo/gtk3-demo.desktop |   10 ++++++++++
 2 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/demos/gtk-demo/Makefile.am b/demos/gtk-demo/Makefile.am
index ba2a081..3cc92d6 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 0000000..9747813
--- /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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]