summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-05-21 20:00:52 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-05-24 23:25:32 -0400
commite93cddaefed2c76afe16e04331dcc6f6adbbd847 (patch)
treeb186824eddb90cd76eef17bd114dc865644f6b26
parent346bb8292fde8ef5c2ac26313f3b5659bbe1b897 (diff)
downloadgconf-e93cddaefed2c76afe16e04331dcc6f6adbbd847.tar.gz
Install an autostart file for gsettings-data-convert
The intended use for this tool is to run at login time and do any outstanding conversions. Therefore, we want to autostart the tool early.
-rw-r--r--gsettings/Makefile.am5
-rw-r--r--gsettings/gsettings-data-convert.desktop9
2 files changed, 13 insertions, 1 deletions
diff --git a/gsettings/Makefile.am b/gsettings/Makefile.am
index 279c76fd..bb0d864a 100644
--- a/gsettings/Makefile.am
+++ b/gsettings/Makefile.am
@@ -36,6 +36,9 @@ gsettings_data_convert_LDADD = \
$(GSETTINGS_LIBS) \
$(NULL)
+autostartdir = $(sysconfdir)/xdg/autostart
+autostart_DATA = gsettings-data-convert.desktop
+
man_MANS = \
gsettings-data-convert.1 \
$(NULL)
@@ -43,7 +46,7 @@ man_MANS = \
gsettings-data-convert.1 : gsettings-data-convert.xml
xsltproc -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
-EXTRA_DIST = gsettings-data-convert.xml gsettings-data-convert.1
+EXTRA_DIST = gsettings-data-convert.xml gsettings-data-convert.1 gsettings-data-convert.desktop
dist-hook-local: $(BUILT_EXTRA_DIST)
files='$(BUILT_EXTRA_DIST)'; \
diff --git a/gsettings/gsettings-data-convert.desktop b/gsettings/gsettings-data-convert.desktop
new file mode 100644
index 00000000..9bc5abf1
--- /dev/null
+++ b/gsettings/gsettings-data-convert.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=GSettings Data Conversion
+Comment=Migrates user settings from GConf to dconf
+Exec=gsettings-data-convert
+Terminal=false
+Type=Application
+OnlyShowIn=GNOME;
+X-GNOME-Autostart-Phase=Initialization