diff options
author | Milan Crha <mcrha@redhat.com> | 2012-09-05 17:07:48 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-09-05 17:09:18 +0800 |
commit | 39cf487cca102d159a224a7c7c6d2096021b1c1d (patch) | |
tree | a4c1282cb44d5670195a473d3394ff7510af6d27 | |
parent | 5a3ce81d657507a10d51c71c1a0b0692dee75b4e (diff) | |
download | gsoc2013-evolution-39cf487cca102d159a224a7c7c6d2096021b1c1d.tar.gz gsoc2013-evolution-39cf487cca102d159a224a7c7c6d2096021b1c1d.tar.zst gsoc2013-evolution-39cf487cca102d159a224a7c7c6d2096021b1c1d.zip |
Bug #682820 - Settings not converted on backup restore
-rw-r--r-- | modules/backup-restore/evolution-backup-tool.c | 5 |
1 files changed, 5 insertions, 0 deletions
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); |