From 6802474cc247c1be784e4d8ac33d14a6ff4d5e5b Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Mon, 18 Feb 2008 04:29:19 +0000 Subject: ** Fix for bug #167638 2008-02-18 Srinivasa Ragavan ** Fix for bug #167638 * mail-component.c: (impl_quit): Upstreamed Fejj's OpenSUSE patch for faster quitting. svn path=/trunk/; revision=35037 --- mail/mail-component.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/mail-component.c') diff --git a/mail/mail-component.c b/mail/mail-component.c index f1aec270cf..eb9f9c8b59 100644 --- a/mail/mail-component.c +++ b/mail/mail-component.c @@ -831,11 +831,14 @@ impl_quit(PortableServer_Servant servant, CORBA_Environment *ev) mail_config_prune_proxies (); switch (mc->priv->quit_state) { case MC_QUIT_START: { + extern int camel_application_is_exiting; int now = time(NULL)/60/60/24, days; gboolean empty_junk; GConfClient *gconf = mail_config_get_gconf_client(); + camel_application_is_exiting = TRUE; + mail_vfolder_shutdown(); mc->priv->quit_expunge = gconf_client_get_bool(gconf, "/apps/evolution/mail/trash/empty_on_exit", NULL) -- cgit v1.2.3