From b08b93d946c4e8688ad68f1c5c7ccbe0e1ab76e0 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 10 Jan 2003 20:43:48 +0000 Subject: Make the view save its settings as the default ones if it's the last one. * e-shell.c (e_shell_request_close_view): Make the view save its settings as the default ones if it's the last one. * e-shell-view-menu.c (command_quit): Make this view save its settings as the defaults before quitting. svn path=/trunk/; revision=19410 --- shell/e-shell.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'shell/e-shell.c') diff --git a/shell/e-shell.c b/shell/e-shell.c index 837bc3cc6c..7b99f2b9a4 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -1499,7 +1499,11 @@ e_shell_request_close_view (EShell *shell, if (shell->priv->preparing_to_quit) return FALSE; - /* If it's the last view, ask for confirm. */ + /* If it's the last view, save settings and ask for confirmation before + quitting. */ + + e_shell_view_save_defaults (shell_view); + if (e_shell_prepare_for_quit (shell)) return TRUE; else -- cgit