diff options
author | Milan Crha <mcrha@redhat.com> | 2011-06-17 18:23:00 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:30 +0800 |
commit | 665ba76e2fb90041901daa6be090453b10984cdb (patch) | |
tree | f8e8075defcfd584b8a226e1fd87c8102a5ef10f /plugins | |
parent | 6f29c40dbf49e4c2af91fcde0738925d4d8e3974 (diff) | |
download | gsoc2013-evolution-665ba76e2fb90041901daa6be090453b10984cdb.tar gsoc2013-evolution-665ba76e2fb90041901daa6be090453b10984cdb.tar.gz gsoc2013-evolution-665ba76e2fb90041901daa6be090453b10984cdb.tar.bz2 gsoc2013-evolution-665ba76e2fb90041901daa6be090453b10984cdb.tar.lz gsoc2013-evolution-665ba76e2fb90041901daa6be090453b10984cdb.tar.xz gsoc2013-evolution-665ba76e2fb90041901daa6be090453b10984cdb.tar.zst gsoc2013-evolution-665ba76e2fb90041901daa6be090453b10984cdb.zip |
Bug #650223 - Do not wait on evolution's exit when done with backup/restore
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/backup-restore/backup.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/plugins/backup-restore/backup.c b/plugins/backup-restore/backup.c index 928998f585..f813b2ca55 100644 --- a/plugins/backup-restore/backup.c +++ b/plugins/backup-restore/backup.c @@ -248,6 +248,12 @@ run_cmd (const gchar *cmd) } static void +run_evolution_no_wait (void) +{ + g_spawn_command_line_async (EVOLUTION, NULL); +} + +static void write_dir_file (void) { GString *content, *filename; @@ -326,7 +332,7 @@ backup (const gchar *filename, return; txt = _("Restarting Evolution"); - run_cmd (EVOLUTION); + run_evolution_no_wait (); } } @@ -513,7 +519,7 @@ restore (const gchar *filename, return; txt = _("Restarting Evolution"); - run_cmd (EVOLUTION); + run_evolution_no_wait (); } } |