aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-component.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-01-28 17:04:28 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-01-28 17:04:28 +0800
commit29620d17ab079c70a475af56f4e7e7cbe09b59cc (patch)
tree1aefeaae35cfe8e0c008e7ddfd56223d87f94373 /mail/mail-component.c
parent7d76d9858a79a758acbadff96417018d0b9a13d8 (diff)
downloadgsoc2013-evolution-29620d17ab079c70a475af56f4e7e7cbe09b59cc.tar.gz
gsoc2013-evolution-29620d17ab079c70a475af56f4e7e7cbe09b59cc.tar.zst
gsoc2013-evolution-29620d17ab079c70a475af56f4e7e7cbe09b59cc.zip
See bug #69815.
2005-01-27 Not Zed <NotZed@Ximian.com> * See bug #69815. * mail-component.c (impl_quit): shutdown vfolders as first step. * mail-vfolder.c (vfolder_setup_do): if we're shutdown during processing, just noop. (vfolder_adduri_do): same. (mail_vfolder_shutdown): set the shutdown flag. svn path=/trunk/; revision=28592
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r--mail/mail-component.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail-component.c b/mail/mail-component.c
index 7608fe4f84..e5b96aa7cf 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -649,6 +649,8 @@ impl_quit(PortableServer_Servant servant, CORBA_Environment *ev)
int now = time(NULL)/60/60/24, days;
GConfClient *gconf = mail_config_get_gconf_client();
+ mail_vfolder_shutdown();
+
mc->priv->quit_expunge = gconf_client_get_bool(gconf, "/apps/evolution/mail/trash/empty_on_exit", NULL)
&& ((days = gconf_client_get_int(gconf, "/apps/evolution/mail/trash/empty_on_exit_days", NULL)) == 0
|| (days + gconf_client_get_int(gconf, "/apps/evolution/mail/trash/empty_date", NULL)) <= now);