aboutsummaryrefslogtreecommitdiffstats
path: root/shell
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
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')
-rw-r--r--shell/ChangeLog8
-rw-r--r--shell/e-shell-view-menu.c2
-rw-r--r--shell/e-shell.c6
3 files changed, 15 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 956827b95f..8a17e6fdbc 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,13 @@
2003-01-10 Ettore Perazzoli <ettore@ximian.com>
+ * 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.
+
+2003-01-10 Ettore Perazzoli <ettore@ximian.com>
+
* main.c (main): Generate the URI list from the popt context
fetched from the GnomeProgram object.
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))
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
aph'>* - Switch SourceForge ports to the new File Release System: categories startin...amdmi32009-08-221-2/+1 * clean upmakc2009-08-081-3/+0 * The KDE FreeBSD team is proud to announce the release of KDE 4.3.0miwi2009-08-054-27/+137 * - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-315-0/+5 * The KDE FreeBSD team is pleased to announce KDE 4.2.4, the last bugfixmiwi2009-06-032-4/+8 * Update KDE ports to 4.2.3makc2009-05-102-3/+4 * The KDE FreeBSD team is proud to announce the release of KDE 4.2.2miwi2009-04-022-15/+25 * Update KDE to 4.2.1.makc2009-03-092-3/+31 * - Add all manpages for kde4-l10n*miwi2009-02-091-0/+57 * The KDE FreeBSD team is proud to announce the release of KDE 4.2.0miwi2009-02-093-92/+289 * kde@freebsd team is pleased to announce KDE 4.1.4, the last bugfix release in...makc2009-01-143-10/+502 * The KDE FreeBSD team is proud to announce the release of KDE 4.1.1miwi2008-09-032-8/+185 * The KDE FreeBSD team is proud to announce the releasemiwi2008-08-291-3/+3 * The KDE FreeBSD team is proud to announce the releasemiwi2008-08-182-7/+61 * The KDE FreeBSD team is proud to announce the release of KDE 4.1.0miwi2008-08-105-294/+747 * - unbreak after update to webalizer 2.20-01dinoex2008-08-063-34/+0 * Mark BROKEN: does not patch after the upgrade of www/webalizererwin2008-08-051-0/+2 * - Update maintainer's email addresspav2008-07-241-1/+1 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-0/+1 * - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-20