From affa9b892f22cc550e09ef760b8d8345997893a3 Mon Sep 17 00:00:00 2001 From: Sarfraaz Ahmed Date: Thu, 21 Jul 2005 14:46:34 +0000 Subject: Rescan the tree before fetching the folder list. Similar Dont add the 2005-07-21 Sarfraaz Ahmed * exchange-calendar.c (e_exchange_calendar_get_calendars): Rescan the tree before fetching the folder list. * exchange-contacts.c (e_exchange_contacts_get_contacts): Similar * exchange-config-listener.c (account_added): Dont add the sources here now. Its now taken care while the folders are being created in e-d-s. * exchange-folder.c (org_gnome_exchange_folder_subscription): Dont add the esources here. svn path=/trunk/; revision=29834 --- plugins/exchange-operations/exchange-folder.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'plugins/exchange-operations/exchange-folder.c') diff --git a/plugins/exchange-operations/exchange-folder.c b/plugins/exchange-operations/exchange-folder.c index c22c1e90dd..4c20c54136 100644 --- a/plugins/exchange-operations/exchange-folder.c +++ b/plugins/exchange-operations/exchange-folder.c @@ -388,7 +388,7 @@ org_gnome_exchange_folder_subscription (EPlugin *ep, EMMenuTargetSelect *target) if (!folder) { return; } - +#if 0 hier = e_folder_exchange_get_hierarchy (folder); folder_display_name = g_strdup_printf ("%s's %s", hier->owner_name, folder_name); folder_type = (gchar *) e_folder_get_type_string (folder); @@ -405,9 +405,10 @@ org_gnome_exchange_folder_subscription (EPlugin *ep, EMMenuTargetSelect *target) !(strcmp (folder_type, "contacts/public")) || !(strcmp (folder_type, "contacts/ldap"))) { add_folder_esource (account, EXCHANGE_CONTACTS_FOLDER, folder_display_name, physical_uri); -} + } -g_free (folder_display_name); -exchange_account_open_folder (account, g_strdup_printf ("/%s", user_email_address)); + g_free (folder_display_name); +#endif + exchange_account_open_folder (account, g_strdup_printf ("/%s", user_email_address)); } -- cgit v1.2.3