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



commit fdbd1d2a86f9dc6f5aed38fbc4f94d412f9e6714
Author: Bharath Acharya <abharath novell com>
Date:   Wed Jan 6 10:17:26 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 fe095df..ab0a12a 100644
--- a/src/account-setup-eplugin/exchange-mapi-account-listener.c
+++ b/src/account-setup-eplugin/exchange-mapi-account-listener.c
@@ -454,6 +454,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]