aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-commands.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-02-04 18:55:25 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-02-04 18:55:25 +0800
commit3a96d74c2bcd6c646c8176d88e82836aeab5d9bf (patch)
tree4022204d16d752ae1b16c17f4ee951c9385b44cb /shell/e-shell-window-commands.c
parentef8a0762ac9e07a36e8d39d2948c8acd065aa350 (diff)
downloadgsoc2013-evolution-3a96d74c2bcd6c646c8176d88e82836aeab5d9bf.tar.gz
gsoc2013-evolution-3a96d74c2bcd6c646c8176d88e82836aeab5d9bf.tar.zst
gsoc2013-evolution-3a96d74c2bcd6c646c8176d88e82836aeab5d9bf.zip
** See bug #53683.
2004-02-04 Not Zed <NotZed@Ximian.com> ** See bug #53683. * Evolution-Component.idl: added EvolutionComponent::quit() call. * main.c (quit_box_new): removed, dont show quit box anymore at the end, we've already shutdown by now with the new shutdown sequence. * e-shell-window-commands.c (command_quit): call e_shell_quit to quit. * e-shell.c (e_shell_prepare_for_quit): renamed es_run_quit, now internal, and a gtktimeout function, so return code inverted. (e_shell_quit): new public entry, find out if we can shutdown, if so, then trigger a shutdown. (e_shell_request_close_window): just call e_shell_quit to exit when we've run out of windows. (e_shell_quit): desensitise all of the app windows before running shutdown. looks a bit weird, but not doing so looks worse. svn path=/trunk/; revision=24609
Diffstat (limited to 'shell/e-shell-window-commands.c')
-rw-r--r--shell/e-shell-window-commands.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/e-shell-window-commands.c b/shell/e-shell-window-commands.c
index fa45f34fb0..9640d86a0d 100644
--- a/shell/e-shell-window-commands.c
+++ b/shell/e-shell-window-commands.c
@@ -97,9 +97,7 @@ command_quit (BonoboUIComponent *uih,
EShell *shell = e_shell_window_peek_shell (window);
e_shell_window_save_defaults (window);
-
- if (e_shell_prepare_for_quit (shell))
- e_shell_close_all_windows (shell);
+ e_shell_quit(shell);
}
static void