aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-store.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2002-07-26 06:51:58 +0800
committerPeter Williams <peterw@src.gnome.org>2002-07-26 06:51:58 +0800
commit4f17d5a3cb380e772c4c4885ff8c52b25e66aeaf (patch)
tree1fc0d8858b7d952eb7324a48536ccbfe941dd5f1 /camel/providers/imap/camel-imap-store.c
parent16fe42c893218a56e9b7fb1cd9418f8569a0f51f (diff)
downloadgsoc2013-evolution-4f17d5a3cb380e772c4c4885ff8c52b25e66aeaf.tar
gsoc2013-evolution-4f17d5a3cb380e772c4c4885ff8c52b25e66aeaf.tar.gz
gsoc2013-evolution-4f17d5a3cb380e772c4c4885ff8c52b25e66aeaf.tar.bz2
gsoc2013-evolution-4f17d5a3cb380e772c4c4885ff8c52b25e66aeaf.tar.lz
gsoc2013-evolution-4f17d5a3cb380e772c4c4885ff8c52b25e66aeaf.tar.xz
gsoc2013-evolution-4f17d5a3cb380e772c4c4885ff8c52b25e66aeaf.tar.zst
gsoc2013-evolution-4f17d5a3cb380e772c4c4885ff8c52b25e66aeaf.zip
Prototype.
2002-07-25 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-summary.h (camel_imap_summary_add_offline_uncached): Prototype. * providers/imap/camel-imap-summary.c (camel_imap_summary_add_offline_uncached): New function to add an uncached message to the summary while offline. * providers/imap/camel-imap-store.c (imap_connect_online): Only refresh the folders if the disco diary is empty (ie, we're not resyncing.) * providers/imap/camel-imap-folder.c (imap_transfer_offline): Emit an event for the source if deleting its originals. Also, if we can't load the message, still process it, using the new imap summary function. svn path=/trunk/; revision=17596
Diffstat (limited to 'camel/providers/imap/camel-imap-store.c')
-rw-r--r--camel/providers/imap/camel-imap-store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index a8455b4619..7781316f27 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -1114,7 +1114,7 @@ imap_connect_online (CamelService *service, CamelException *ex)
if (camel_exception_is_set (ex))
camel_service_disconnect (service, TRUE, NULL);
- else
+ else if (camel_disco_diary_empty (disco_store->diary))
imap_store_refresh_folders (store, ex);
return !camel_exception_is_set (ex);