aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-folder-cache.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-05-21 03:06:03 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-05-21 03:06:03 +0800
commit13c9d214fa4b93a0c3ae08a533a8605b13a323b1 (patch)
treeccbba8078222dac08bc3697a8ce6415b950e6009 /mail/mail-folder-cache.c
parent3682e0ef1f2d736ced6cff11dd4c5e87dd0fd6d8 (diff)
downloadgsoc2013-evolution-13c9d214fa4b93a0c3ae08a533a8605b13a323b1.tar.gz
gsoc2013-evolution-13c9d214fa4b93a0c3ae08a533a8605b13a323b1.tar.zst
gsoc2013-evolution-13c9d214fa4b93a0c3ae08a533a8605b13a323b1.zip
Set the can_sync_offline property on the EFolder based on the
* e-corba-storage.c (impl_StorageListener_notifyFolderCreated): Set the can_sync_offline property on the EFolder based on the canSyncOffline value on the CORBA folder. * evolution-test-component.c (setup_custom_storage): Pass FALSE for @sync_offline to evolution_storage_new_folder(). * e-local-storage.c (new_folder): Pass FALSE for @sync_offline to evolution_storage_new_folder(). * evolution-storage.h (evolution_storage_new_folder): New arg @can_sync_offline. * subscribe-dialog.c (recursive_add_folder): Pass TRUE for @sync_offline to evolution_storage_new_folder(). * mail-folder-cache.c (real_flush_updates): Pass TRUE for @sync_offline to evolution_storage_new_folder(). * gui/component/addressbook-storage.c (load_source_data): Pass FALSE for @sync_offline to evolution_storage_new_folder(). (addressbook_storage_add_source): Pass FALSE for @sync_offline to evolution_storage_new_folder(). svn path=/trunk/; revision=16947
Diffstat (limited to 'mail/mail-folder-cache.c')
-rw-r--r--mail/mail-folder-cache.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c
index a9479f3d36..4ceb61b16a 100644
--- a/mail/mail-folder-cache.c
+++ b/mail/mail-folder-cache.c
@@ -190,7 +190,9 @@ real_flush_updates(void *o, void *event_data, void *data)
char *type = (strncmp(up->uri, "vtrash:", 7)==0)?"vtrash":"mail";
d(printf("Adding new folder: %s\n", up->path));
- evolution_storage_new_folder(storage, up->path, up->name, type, up->uri, up->name, up->unread);
+ evolution_storage_new_folder(storage,
+ up->path, up->name, type, up->uri, up->name, up->unread,
+ TRUE);
}
if (!up->olduri && up->add)