[evolution-mapi] Bug #590001 - can't mark book for offline usage.



commit 719530bb9d305a10d0994c2b109807dfa7714013
Author: Bharath Acharya <abharath novell com>
Date:   Wed Jan 6 10:14:27 2010 +0530

    Bug #590001 - can't mark book for offline usage.
    
    Add the parent-fid for the e-sources.

 .../exchange-mapi-account-listener.c               |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/account-setup-eplugin/exchange-mapi-account-listener.c b/src/account-setup-eplugin/exchange-mapi-account-listener.c
index 00799ef..a979be8 100644
--- a/src/account-setup-eplugin/exchange-mapi-account-listener.c
+++ b/src/account-setup-eplugin/exchange-mapi-account-listener.c
@@ -453,6 +453,11 @@ add_addressbook_sources (EAccount *account, GSList *folders)
 		e_source_set_property (source, "completion", "true");
 		if (folder->is_default) 
 			e_source_set_property (source, "delete", "no");
+		if (folder->parent_folder_id) {
+			gchar *tmp = exchange_mapi_util_mapi_id_to_string (folder->parent_folder_id);
+			e_source_set_property (source, "parent-fid", tmp);
+			g_free (tmp);
+		}
 		e_source_group_add_source (group, source, -1);
 		g_object_unref (source);
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]