[evolution-patches] Addressbook: Groupwise backend, folder creation.
- From: Sushma Rai <rsushma novell com>
- To: Evolution patches List <evolution-patches gnome org>
- Subject: [evolution-patches] Addressbook: Groupwise backend, folder creation.
- Date: Thu, 17 Nov 2005 11:19:07 +0530
Hi,
This fix is to display message to user, to use some other
groupwise mail client to get his frequent contacts, and
personal books created.
Thanks,
Sushma.
Index: addressbook/addressbook.error.xml
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/addressbook.error.xml,v
retrieving revision 1.3
diff -u -p -r1.3 addressbook.error.xml
--- addressbook/addressbook.error.xml 3 Aug 2005 06:11:55 -0000 1.3
+++ addressbook/addressbook.error.xml 17 Nov 2005 05:32:36 -0000
@@ -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" 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>
Index: plugins/groupwise-account-setup/camel-gw-listener.c
===================================================================
RCS file: /cvs/gnome/evolution/plugins/groupwise-account-setup/camel-gw-listener.c,v
retrieving revision 1.39
diff -u -p -r1.39 camel-gw-listener.c
--- plugins/groupwise-account-setup/camel-gw-listener.c 28 Sep 2005 08:38:58 -0000 1.39
+++ plugins/groupwise-account-setup/camel-gw-listener.c 17 Nov 2005 05:33:09 -0000
@@ -604,6 +604,7 @@ add_addressbook_sources (EAccount *accou
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) {
@@ -628,6 +629,8 @@ add_addressbook_sources (EAccount *accou
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");
@@ -657,7 +660,11 @@ add_addressbook_sources (EAccount *accou
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", NULL);
+ }
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]