aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2008-02-18 12:29:19 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2008-02-18 12:29:19 +0800
commit6802474cc247c1be784e4d8ac33d14a6ff4d5e5b (patch)
tree16f14161e00edd8316961c47c8fb5ed6a2a5c74b
parent9c315742d2fbd97767b0f6cb41294c03742a4e45 (diff)
downloadgsoc2013-evolution-6802474cc247c1be784e4d8ac33d14a6ff4d5e5b.tar
gsoc2013-evolution-6802474cc247c1be784e4d8ac33d14a6ff4d5e5b.tar.gz
gsoc2013-evolution-6802474cc247c1be784e4d8ac33d14a6ff4d5e5b.tar.bz2
gsoc2013-evolution-6802474cc247c1be784e4d8ac33d14a6ff4d5e5b.tar.lz
gsoc2013-evolution-6802474cc247c1be784e4d8ac33d14a6ff4d5e5b.tar.xz
gsoc2013-evolution-6802474cc247c1be784e4d8ac33d14a6ff4d5e5b.tar.zst
gsoc2013-evolution-6802474cc247c1be784e4d8ac33d14a6ff4d5e5b.zip
** Fix for bug #167638
2008-02-18 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #167638 * mail-component.c: (impl_quit): Upstreamed Fejj's OpenSUSE patch for faster quitting. svn path=/trunk/; revision=35037
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/mail-component.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index f3b39f6182..3411d8356b 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,12 @@
2008-02-18 Srinivasa Ragavan <sragavan@novell.com>
+ ** Fix for bug #167638
+
+ * mail-component.c: (impl_quit): Upstreamed Fejj's OpenSUSE patch for
+ faster quitting.
+
+2008-02-18 Srinivasa Ragavan <sragavan@novell.com>
+
** Fix for bnc #153807
* em-composer-utils.c: (em_utils_post_to_folder): Patch from OpenSUSE.
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)