[evolution-ews] EEwsBackend: Set write directory for newly-created folders.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] EEwsBackend: Set write directory for newly-created folders.
- Date: Sat, 4 Aug 2012 01:30:19 +0000 (UTC)
commit 569777c72fd096784affb78911fa2d3a7f1163fc
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Aug 3 18:42:58 2012 -0400
EEwsBackend: Set write directory for newly-created folders.
src/collection/e-ews-backend.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/collection/e-ews-backend.c b/src/collection/e-ews-backend.c
index 3d8f6c7..03af86d 100644
--- a/src/collection/e-ews-backend.c
+++ b/src/collection/e-ews-backend.c
@@ -731,12 +731,17 @@ ews_backend_create_resource_sync (ECollectionBackend *backend,
if (success) {
ESourceRegistryServer *server;
ESource *parent_source;
+ const gchar *cache_dir;
const gchar *parent_uid;
parent_source = e_backend_get_source (E_BACKEND (backend));
parent_uid = e_source_get_uid (parent_source);
e_source_set_parent (source, parent_uid);
+ cache_dir = e_collection_backend_get_cache_dir (backend);
+ e_server_side_source_set_write_directory (
+ E_SERVER_SIDE_SOURCE (source), cache_dir);
+
e_server_side_source_set_writable (
E_SERVER_SIDE_SOURCE (source), TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]