diff options
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r-- | shell/e-shell.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c index 7e92785553..5c69e49e90 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -1175,8 +1175,11 @@ e_shell_quit(EShell *shell) if (can_quit) { GList *p = shell->priv->windows; - for (; p != NULL; p = p->next) + for (; p != NULL; p = p->next) { gtk_widget_set_sensitive (GTK_WIDGET (p->data), FALSE); + if (p == shell->priv->windows) + e_shell_window_save_defaults (p->data); + } can_quit = !es_run_quit(shell); } |