diff options
-rw-r--r-- | plugins/backup-restore/ChangeLog | 8 | ||||
-rw-r--r-- | plugins/backup-restore/backup.c | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/plugins/backup-restore/ChangeLog b/plugins/backup-restore/ChangeLog index 04c319f227..cfa1dcc8ad 100644 --- a/plugins/backup-restore/ChangeLog +++ b/plugins/backup-restore/ChangeLog @@ -1,3 +1,11 @@ +2008-06-30 Milan Crha <mcrha@redhat.com> + + ** Fix for bug #536488 + + * backup.c: (backup), (restore): Remove '~/.evolution/.running' + file before backup/after restore, thus Evolution will not claim + next start it was closed incorrectly. + 2008-06-30 Tobias Mueller <muelli@auftrags-killer.org> ** Fix for bug #540516 diff --git a/plugins/backup-restore/backup.c b/plugins/backup-restore/backup.c index 8711871581..d923b3bd92 100644 --- a/plugins/backup-restore/backup.c +++ b/plugins/backup-restore/backup.c @@ -72,6 +72,8 @@ backup (const char *filename) /* FIXME Will the versioned setting always work? */ s (EVOLUTION " --force-shutdown"); + s ("rm $HOME/.evolution/.running"); + CANCEL (complete); txt = _("Backing Evolution accounts and settings"); s ("gconftool-2 --dump " GCONF_DIR " > " GCONF_DUMP_PATH); @@ -136,6 +138,7 @@ restore (const char *filename) s ("rm -rf " GCONF_DUMP_PATH); s ("rm -rf " EVOLUTION_DIR_BACKUP); s ("rm -rf $HOME/.camel_certs_old"); + s ("rm $HOME/.evolution/.running"); if (restart_arg) { CANCEL (complete); |