From 39cf487cca102d159a224a7c7c6d2096021b1c1d Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 5 Sep 2012 11:07:48 +0200 Subject: Bug #682820 - Settings not converted on backup restore --- modules/backup-restore/evolution-backup-tool.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules') diff --git a/modules/backup-restore/evolution-backup-tool.c b/modules/backup-restore/evolution-backup-tool.c index 9f46d90626..bc6ee2723b 100644 --- a/modules/backup-restore/evolution-backup-tool.c +++ b/modules/backup-restore/evolution-backup-tool.c @@ -578,6 +578,8 @@ restore (const gchar *filename, EVOLUTION_DIR ANCIENT_GCONF_DUMP_FILE, EVOUSERDATADIR_MAGIC, e_get_user_data_dir ()); run_cmd ("gconftool-2 --load " EVOLUTION_DIR ANCIENT_GCONF_DUMP_FILE); + /* do not forget to convert GConf keys into GSettings */ + run_cmd ("gsettings-data-convert"); run_cmd ("rm " EVOLUTION_DIR ANCIENT_GCONF_DUMP_FILE); } else { replace_in_file ( @@ -611,6 +613,9 @@ restore (const gchar *filename, run_cmd (command); g_free (command); + /* do not forget to convert GConf keys into GSettings */ + run_cmd ("gsettings-data-convert"); + command = g_strconcat ("rm ", gconf_dump_file, NULL); run_cmd (command); g_free (command); -- cgit v1.2.3