From 29620d17ab079c70a475af56f4e7e7cbe09b59cc Mon Sep 17 00:00:00 2001 From: Not Zed Date: Fri, 28 Jan 2005 09:04:28 +0000 Subject: See bug #69815. 2005-01-27 Not Zed * 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 --- mail/mail-component.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail/mail-component.c') 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); -- cgit v1.2.3