From 0612b5e1fae64eea54cc906f2ee00c4b51987a49 Mon Sep 17 00:00:00 2001 From: David King Date: Thu, 7 May 2015 10:55:10 +0700 Subject: Add example desktop file Add an example desktop file, and install it into /usr/share/applications. --- Makefile.am | 3 +++ c-gnome-app.desktop | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 c-gnome-app.desktop 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 -- cgit