[dconf] Install a .desktop file



commit bbabfbce91d14ad874eff18d1eb87cd656b781d1
Author: Robert Ancell <robert ancell canonical com>
Date:   Fri Jan 14 21:56:50 2011 -0600

    Install a .desktop file

 configure.ac                   |    1 +
 editor/Makefile.am             |    4 ++++
 editor/dconf-editor.desktop.in |   14 ++++++++++++++
 3 files changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0488dc6..ec9ec5b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -54,6 +54,7 @@ AC_CONFIG_FILES([
   service/Makefile
   bin/Makefile
   editor/Makefile
+  editor/dconf-editor.desktop
   tests/Makefile
   docs/Makefile
   Makefile
diff --git a/editor/Makefile.am b/editor/Makefile.am
index 7434000..ecbd7e7 100644
--- a/editor/Makefile.am
+++ b/editor/Makefile.am
@@ -5,3 +5,7 @@ AM_VALAFLAGS = --vapidir ../client --pkg gtk+-3.0 --pkg libxml-2.0 --pkg dconf
 CFLAGS += -Wno-error
 dconf_editor_LDADD = ../client/libdconf.so.0 $(gtk_LIBS) $(gee_LIBS) $(libxml_LIBS)
 dconf_editor_SOURCES = dconf-editor.vala dconf-model.vala dconf-schema.vala dconf-view.vala
+
+desktopdir = $(datadir)/applications
+desktop_in_files = dconf-editor.desktop.in.in
+desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
diff --git a/editor/dconf-editor.desktop.in b/editor/dconf-editor.desktop.in
new file mode 100644
index 0000000..435f30a
--- /dev/null
+++ b/editor/dconf-editor.desktop.in
@@ -0,0 +1,14 @@
+[Desktop Entry]
+Name=Configuration Editor
+Comment=Directly edit your entire configuration database
+Exec=dconf-editor
+Terminal=false
+Type=Application
+Icon=dconf-editor
+StartupNotify=true
+NoDisplay=true
+Categories=GNOME;GTK;System;
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=dconf
+X-GNOME-Bugzilla-Component=editor
+X-GNOME-Bugzilla-Version= VERSION@



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