diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2011-01-14 21:56:50 -0600 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2011-01-14 21:56:50 -0600 |
commit | bbabfbce91d14ad874eff18d1eb87cd656b781d1 (patch) | |
tree | 36dde5b5ba06bb5466319faff15978ffa032ed4d | |
parent | 3d3d6d3dcdb06ee29f865919e47d2ff1ef1b5f3f (diff) | |
download | dconf-bbabfbce91d14ad874eff18d1eb87cd656b781d1.tar.gz |
Install a .desktop file
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | editor/Makefile.am | 4 | ||||
-rw-r--r-- | 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@ |