aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/groupwise-account-setup/ChangeLog7
-rw-r--r--plugins/groupwise-account-setup/camel-gw-listener.c9
2 files changed, 15 insertions, 1 deletions
diff --git a/plugins/groupwise-account-setup/ChangeLog b/plugins/groupwise-account-setup/ChangeLog
index fc7088feeb..11c5a318cd 100644
--- a/plugins/groupwise-account-setup/ChangeLog
+++ b/plugins/groupwise-account-setup/ChangeLog
@@ -1,3 +1,10 @@
+2005-11-24 Sushma Rai <rsushma@novell.com>
+
+ * camel-gw-listener.c (add_addressbook_sources): Checking if the
+ frequent contacts folder is read from the server, and if not
+ displaying the warning message to user, asking to use some other
+ GroupWise mail clinet to get it created.
+
2005-11-09 Parthasarathi Susarla <sparthasarathi@novell.com>
* camel-gw-listener.c (get_addressbook_names_from_server):
diff --git a/plugins/groupwise-account-setup/camel-gw-listener.c b/plugins/groupwise-account-setup/camel-gw-listener.c
index df721da739..92b43ae20f 100644
--- a/plugins/groupwise-account-setup/camel-gw-listener.c
+++ b/plugins/groupwise-account-setup/camel-gw-listener.c
@@ -606,6 +606,7 @@ add_addressbook_sources (EAccount *account)
GConfClient* client;
const char* use_ssl;
const char *poa_address;
+ gboolean is_frequent_contacts = FALSE;
url = camel_url_new (account->source->url, NULL);
if (url == NULL) {
@@ -630,6 +631,8 @@ add_addressbook_sources (EAccount *account)
return FALSE;
for (; temp_list != NULL; temp_list = g_list_next (temp_list)) {
const char *book_name = e_gw_container_get_name (E_GW_CONTAINER(temp_list->data));
+ if (!is_frequent_contacts)
+ is_frequent_contacts = e_gw_container_get_is_frequent_contacts (E_GW_CONTAINER (temp_list->data));
source = e_source_new (book_name, g_strconcat (";",book_name, NULL));
e_source_set_property (source, "auth", "plain/password");
e_source_set_property (source, "auth-domain", "Groupwise");
@@ -659,7 +662,11 @@ add_addressbook_sources (EAccount *account)
g_object_unref (list);
g_object_unref (client);
g_free (base_uri);
-
+
+ if (!is_frequent_contacts) {
+ /* display warning message */
+ e_error_run (NULL, "addressbook:gw-book-list-init", NULL);
+ }
return TRUE;
}