aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/addressbook.error.xml5
-rw-r--r--plugins/groupwise-account-setup/ChangeLog7
-rw-r--r--plugins/groupwise-account-setup/camel-gw-listener.c9
4 files changed, 25 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 64211188f3..7cb58c922d 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2005-11-24 Sushma Rai <rsushma@novell.com>
+
+ * addressbook.error.xml: Added new error id "gw-book-list-init" and
+ corresponding warning message.
+
2005-10-04 Srinivasa Ragavan <sragavan@novell.com>
* gui/component/addressbook-view.c (abv_source_popups):
diff --git a/addressbook/addressbook.error.xml b/addressbook/addressbook.error.xml
index 37de17ce0b..bf2c8f4c84 100644
--- a/addressbook/addressbook.error.xml
+++ b/addressbook/addressbook.error.xml
@@ -103,4 +103,9 @@
<_secondary>You are connecting to an unsupported GroupWise server and may encounter problems using Evolution. For best results the server should be upgraded to a supported version</_secondary>
</error>
+ <error id="gw-book-list-init" type="warning">
+ <_primary>GroupWise Address book creation:</_primary>
+ <_secondary>Currently you can access only GroupWise System Address Book from Evolution. Please use some other GroupWise mail client once, to get your GroupWise Frequent Contacts and Groupwise Personal Contacts folders.</_secondary>
+ </error>
+
</error-list>
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;
}