diff options
author | David King <amigadave@amigadave.com> | 2015-05-07 10:55:10 +0700 |
---|---|---|
committer | David King <amigadave@amigadave.com> | 2015-05-07 10:55:10 +0700 |
commit | 0612b5e1fae64eea54cc906f2ee00c4b51987a49 (patch) | |
tree | 2f6993653480ce61018701a9dc071f11d0a293cd | |
parent | 01c9d0edc407187b1bc6fb94b94d06d6054be7ba (diff) | |
download | c-gnome-app-master.tar.gz c-gnome-app-master.tar.xz c-gnome-app-master.zip |
Add an example desktop file, and install it into
/usr/share/applications.
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | c-gnome-app.desktop | 7 |
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 |