diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-05-21 03:06:03 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-05-21 03:06:03 +0800 |
commit | 13c9d214fa4b93a0c3ae08a533a8605b13a323b1 (patch) | |
tree | ccbba8078222dac08bc3697a8ce6415b950e6009 /shell/evolution-storage.c | |
parent | 3682e0ef1f2d736ced6cff11dd4c5e87dd0fd6d8 (diff) | |
download | gsoc2013-evolution-13c9d214fa4b93a0c3ae08a533a8605b13a323b1.tar gsoc2013-evolution-13c9d214fa4b93a0c3ae08a533a8605b13a323b1.tar.gz gsoc2013-evolution-13c9d214fa4b93a0c3ae08a533a8605b13a323b1.tar.bz2 gsoc2013-evolution-13c9d214fa4b93a0c3ae08a533a8605b13a323b1.tar.lz gsoc2013-evolution-13c9d214fa4b93a0c3ae08a533a8605b13a323b1.tar.xz 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 'shell/evolution-storage.c')
-rw-r--r-- | shell/evolution-storage.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/shell/evolution-storage.c b/shell/evolution-storage.c index 28cbf89ce2..9e6b7883d5 100644 --- a/shell/evolution-storage.c +++ b/shell/evolution-storage.c @@ -943,7 +943,8 @@ evolution_storage_new_folder (EvolutionStorage *evolution_storage, const char *type, const char *physical_uri, const char *description, - int unread_count) + int unread_count, + gboolean can_sync_offline) { EvolutionStorageResult result; EvolutionStoragePrivate *priv; @@ -970,10 +971,11 @@ evolution_storage_new_folder (EvolutionStorage *evolution_storage, CORBA_exception_init (&ev); corba_folder = GNOME_Evolution_Folder__alloc (); - corba_folder->displayName = CORBA_string_dup (display_name); - corba_folder->description = CORBA_string_dup (description); - corba_folder->type = CORBA_string_dup (type); - corba_folder->physicalUri = CORBA_string_dup (physical_uri); + corba_folder->displayName = CORBA_string_dup (display_name); + corba_folder->description = CORBA_string_dup (description); + corba_folder->type = CORBA_string_dup (type); + corba_folder->physicalUri = CORBA_string_dup (physical_uri); + corba_folder->canSyncOffline = (CORBA_boolean) can_sync_offline; evolutionUri = make_full_uri (evolution_storage, path); corba_folder->evolutionUri = CORBA_string_dup (evolutionUri); |