summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid King <amigadave@amigadave.com>2015-05-07 10:55:10 +0700
committerDavid King <amigadave@amigadave.com>2015-05-07 10:55:10 +0700
commit0612b5e1fae64eea54cc906f2ee00c4b51987a49 (patch)
tree2f6993653480ce61018701a9dc071f11d0a293cd
parent01c9d0edc407187b1bc6fb94b94d06d6054be7ba (diff)
downloadc-gnome-app-master.zip
c-gnome-app-master.tar.gz
c-gnome-app-master.tar.xz
Add example desktop fileHEADmaster
Add an example desktop file, and install it into /usr/share/applications.
-rw-r--r--Makefile.am3
-rw-r--r--c-gnome-app.desktop7
2 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 1f9f578..9351c51 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,3 +3,6 @@ bin_PROGRAMS = c-gnome-app
c_gnome_app_CFLAGS = $(APP_CFLAGS)
c_gnome_app_LDFLAGS = $(APP_LIBS)
c_gnome_app_SOURCES = c-gnome-app.c
+
+desktopdir = $(datadir)/applications
+dist_desktop_DATA = c-gnome-app.desktop
diff --git a/c-gnome-app.desktop b/c-gnome-app.desktop
new file mode 100644
index 0000000..6a99a7b
--- /dev/null
+++ b/c-gnome-app.desktop
@@ -0,0 +1,7 @@
+Name=My C App
+Comment=Short description of this application
+Keywords=c;editor;
+Type=Application
+Exec=c-gnome-app
+Icon=c-gnome-app
+Categories=Gtk;GNOME;Utility