From 3a96d74c2bcd6c646c8176d88e82836aeab5d9bf Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 4 Feb 2004 10:55:25 +0000 Subject: ** See bug #53683. 2004-02-04 Not Zed ** 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 --- shell/e-shell-window-commands.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'shell/e-shell-window-commands.c') 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 -- cgit v1.2.3