diff options
-rw-r--r-- | camel/ChangeLog | 4 | ||||
-rw-r--r-- | camel/camel-vee-store.c | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 4221438ae8..b4028f9a76 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,9 @@ 2004-02-17 Not Zed <NotZed@Ximian.com> + * camel-vee-store.c (vee_sync): implment, make sync a noop on vee + stores. Speeds up exit, so we don't try and sync and re-sync + folders multiple times. + ** See bug #53861. * providers/nntp/camel-nntp-summary.c (add_range_xover): Fix from diff --git a/camel/camel-vee-store.c b/camel/camel-vee-store.c index eb6c7ed214..d46c120fe7 100644 --- a/camel/camel-vee-store.c +++ b/camel/camel-vee-store.c @@ -35,6 +35,8 @@ static CamelFolder *vee_get_folder (CamelStore *store, const char *folder_name, guint32 flags, CamelException *ex); static void vee_delete_folder(CamelStore *store, const char *folder_name, CamelException *ex); static void vee_rename_folder(CamelStore *store, const char *old, const char *new, CamelException *ex); + +static void vee_sync (CamelStore *store, int expunge, CamelException *ex); static CamelFolder *vee_get_trash (CamelStore *store, CamelException *ex); static CamelFolder *vee_get_junk (CamelStore *store, CamelException *ex); @@ -78,6 +80,7 @@ camel_vee_store_class_init (CamelVeeStoreClass *klass) store_class->get_folder_info = vee_get_folder_info; store_class->free_folder_info = camel_store_free_folder_info_full; + store_class->sync = vee_sync; store_class->get_trash = vee_get_trash; store_class->get_junk = vee_get_junk; } @@ -183,6 +186,12 @@ vee_get_folder (CamelStore *store, const char *folder_name, guint32 flags, Camel return (CamelFolder *)vf; } +static void +vee_sync(CamelStore *store, int expunge, CamelException *ex) +{ + /* noop */; +} + static CamelFolder * vee_get_trash (CamelStore *store, CamelException *ex) { |