From 665ba76e2fb90041901daa6be090453b10984cdb Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 17 Jun 2011 12:23:00 +0200 Subject: Bug #650223 - Do not wait on evolution's exit when done with backup/restore --- plugins/backup-restore/backup.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'plugins') 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 @@ -247,6 +247,12 @@ run_cmd (const gchar *cmd) print_and_run (cmd); } +static void +run_evolution_no_wait (void) +{ + g_spawn_command_line_async (EVOLUTION, NULL); +} + static void write_dir_file (void) { @@ -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 (); } } -- cgit v1.2.3