aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2008-08-31 13:10:43 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2008-08-31 13:10:43 +0800
commitc091beb306134d8057e5990a759f5a13aea440fa (patch)
treef8c5a719114ee6d7ecab2ff45f0de4883b1b4f0b /mail
parent5ca2abb5d200c4651df8a1900d82a31175dc524c (diff)
downloadgsoc2013-evolution-c091beb306134d8057e5990a759f5a13aea440fa.tar
gsoc2013-evolution-c091beb306134d8057e5990a759f5a13aea440fa.tar.gz
gsoc2013-evolution-c091beb306134d8057e5990a759f5a13aea440fa.tar.bz2
gsoc2013-evolution-c091beb306134d8057e5990a759f5a13aea440fa.tar.lz
gsoc2013-evolution-c091beb306134d8057e5990a759f5a13aea440fa.tar.xz
gsoc2013-evolution-c091beb306134d8057e5990a759f5a13aea440fa.tar.zst
gsoc2013-evolution-c091beb306134d8057e5990a759f5a13aea440fa.zip
Disable flag upsync. I need to implement it more intelligently.
2008-08-30 Srinivasa Ragavan <sragavan@novell.com> * mail/mail-component.c: Disable flag upsync. I need to implement it more intelligently. svn path=/trunk/; revision=36229
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-component.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index b90c11f8c7..ba98f9f72e 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-30 Srinivasa Ragavan <sragavan@novell.com>
+
+ * mail/mail-component.c: Disable flag upsync. I need to implement it
+ more intelligently.
+
2008-08-28 Milan Crha <mcrha@redhat.com>
** Fix for bug #509647
diff --git a/mail/mail-component.c b/mail/mail-component.c
index 160e729da6..2704442bc7 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -1304,7 +1304,10 @@ mail_component_init (MailComponent *component)
mail_autoreceive_init();
priv->mail_sync_in_progress = 0;
- priv->mail_sync_id = g_timeout_add_seconds (mail_config_get_sync_timeout (), call_mail_sync, component);
+ if (g_getenv("CAMEL_FLUSH_CHANGES"))
+ priv->mail_sync_id = g_timeout_add_seconds (mail_config_get_sync_timeout (), call_mail_sync, component);
+ else
+ priv->mail_sync_id = 0;
}
/* Public API. */