aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2007-12-05 23:11:26 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-12-05 23:11:26 +0800
commit08380ae64ec3d29f1335ce1d1a4a7b601be7903d (patch)
tree0ca7262699f9cbc0b70e559611b1ff6c54eec305 /shell/e-shell.c
parenteeeb246bdd1de04ab60e46c95449137db5ef0d5f (diff)
downloadgsoc2013-evolution-08380ae64ec3d29f1335ce1d1a4a7b601be7903d.tar
gsoc2013-evolution-08380ae64ec3d29f1335ce1d1a4a7b601be7903d.tar.gz
gsoc2013-evolution-08380ae64ec3d29f1335ce1d1a4a7b601be7903d.tar.bz2
gsoc2013-evolution-08380ae64ec3d29f1335ce1d1a4a7b601be7903d.tar.lz
gsoc2013-evolution-08380ae64ec3d29f1335ce1d1a4a7b601be7903d.tar.xz
gsoc2013-evolution-08380ae64ec3d29f1335ce1d1a4a7b601be7903d.tar.zst
gsoc2013-evolution-08380ae64ec3d29f1335ce1d1a4a7b601be7903d.zip
** Add basic support for crash recovery
2007-12-05 Srinivasa Ragavan <sragavan@novell.com> ** Add basic support for crash recovery * apps_evolution_shell.schemas.in: Keys to recover and recovery dialog. * e-shell.c: (e_shell_quit): Delete the lock while quitting. * main.c: (show_recovery_warning), (idle_cb): Create lock and also show the warning dialog. svn path=/trunk/; revision=34652
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 4e651453a4..51ab69c8c1 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -1377,6 +1377,9 @@ e_shell_quit(EShell *shell)
e_shell_window_save_defaults (p->data);
}
can_quit = !es_run_quit(shell);
+
+ /* Mark a safe quit by destroying the lock. */
+ e_file_lock_destroy ();
}
return can_quit;