aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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. */