aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view-menu.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-01-11 04:43:48 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-01-11 04:43:48 +0800
commitb08b93d946c4e8688ad68f1c5c7ccbe0e1ab76e0 (patch)
treed20bdfc05b4d3cc669db4d0d3e556120c3414c4e /shell/e-shell-view-menu.c
parent62e880130bebe19aef3eef95dc4d66578950c0c2 (diff)
downloadgsoc2013-evolution-b08b93d946c4e8688ad68f1c5c7ccbe0e1ab76e0.tar.gz
gsoc2013-evolution-b08b93d946c4e8688ad68f1c5c7ccbe0e1ab76e0.tar.zst
gsoc2013-evolution-b08b93d946c4e8688ad68f1c5c7ccbe0e1ab76e0.zip
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
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r--shell/e-shell-view-menu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c
index 453de955a0..8bc89b88f0 100644
--- a/shell/e-shell-view-menu.c
+++ b/shell/e-shell-view-menu.c
@@ -168,6 +168,8 @@ command_quit (BonoboUIComponent *uih,
shell_view = E_SHELL_VIEW (data);
+ e_shell_view_save_defaults (shell_view);
+
shell = e_shell_view_get_shell (shell_view);
if (e_shell_prepare_for_quit (shell))