[gconf] Install an autostart file for gsettings-data-convert



commit e93cddaefed2c76afe16e04331dcc6f6adbbd847
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri May 21 20:00:52 2010 -0400

    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.

 gsettings/Makefile.am                    |    5 ++++-
 gsettings/gsettings-data-convert.desktop |    9 +++++++++
 2 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/gsettings/Makefile.am b/gsettings/Makefile.am
index 279c76f..bb0d864 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 0000000..9bc5abf
--- /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



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