diff options
author | Not Zed <NotZed@Ximian.com> | 2004-03-17 17:23:49 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-03-17 17:23:49 +0800 |
commit | bc5fc28e5b2e3602b186ee430d45c48c919ae9da (patch) | |
tree | aac73e0cd1cac5beaf610e49773fd4fac98a4a5f /camel/camel-disco-store.c | |
parent | cf4811b131d3d791da98de338a477a452663d183 (diff) | |
download | gsoc2013-evolution-bc5fc28e5b2e3602b186ee430d45c48c919ae9da.tar.gz gsoc2013-evolution-bc5fc28e5b2e3602b186ee430d45c48c919ae9da.tar.zst gsoc2013-evolution-bc5fc28e5b2e3602b186ee430d45c48c919ae9da.zip |
See bug #55618.
2004-03-17 Not Zed <NotZed@Ximian.com>
* See bug #55618.
* camel-disco-diary.c (camel_disco_diary_new): seek to the end of
the file after we open it. c99 apparently says the file merely
adds to the end of the file when you write, not that it is opened
and positioned at the end of the file (linux's man pages are out
of date).
* camel-folder-summary.c (content_info_new): setup the content
type as well, from the headers.
* providers/imap/camel-imap-summary.c
(camel_imap_summary_add_offline): copy size from the source info.
svn path=/trunk/; revision=25096
Diffstat (limited to 'camel/camel-disco-store.c')
-rw-r--r-- | camel/camel-disco-store.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/camel/camel-disco-store.c b/camel/camel-disco-store.c index 65cbc16194..02ac74cd3f 100644 --- a/camel/camel-disco-store.c +++ b/camel/camel-disco-store.c @@ -32,6 +32,8 @@ #include "camel-exception.h" #include "camel-session.h" +#define d(x) + #define CDS_CLASS(o) (CAMEL_DISCO_STORE_CLASS (CAMEL_OBJECT_GET_CLASS (o))) static CamelStoreClass *parent_class = NULL; @@ -154,6 +156,7 @@ disco_connect (CamelService *service, CamelException *ex) case CAMEL_DISCO_STORE_RESYNCING: if (!CDS_CLASS (service)->connect_online (service, ex)) return FALSE; + d(printf(" diary is %s\n", camel_disco_diary_empty(store->diary)?"empty":"not empty")); if (camel_disco_diary_empty (store->diary)) return TRUE; @@ -322,6 +325,8 @@ camel_disco_store_set_status (CamelDiscoStore *store, CamelDiscoStoreStatus status, CamelException *ex) { + d(printf("disco store set status: %s\n", status == CAMEL_DISCO_STORE_ONLINE?"online":"offline")); + CDS_CLASS (store)->set_status (store, status, ex); } |