diff options
author | Sushma Rai <rsushma@src.gnome.org> | 2005-11-24 17:45:55 +0800 |
---|---|---|
committer | Sushma Rai <rsushma@src.gnome.org> | 2005-11-24 17:45:55 +0800 |
commit | c28b9a75bbfaa2538d34f6b2c0c460b930eff5d7 (patch) | |
tree | f11be1b6ef5eb90ac608917bdb8cb2bc4b450734 /plugins | |
parent | 77cf09208aa0fecdc7eaf20adee4ee4125ab5cf5 (diff) | |
download | gsoc2013-evolution-c28b9a75bbfaa2538d34f6b2c0c460b930eff5d7.tar gsoc2013-evolution-c28b9a75bbfaa2538d34f6b2c0c460b930eff5d7.tar.gz gsoc2013-evolution-c28b9a75bbfaa2538d34f6b2c0c460b930eff5d7.tar.bz2 gsoc2013-evolution-c28b9a75bbfaa2538d34f6b2c0c460b930eff5d7.tar.lz gsoc2013-evolution-c28b9a75bbfaa2538d34f6b2c0c460b930eff5d7.tar.xz gsoc2013-evolution-c28b9a75bbfaa2538d34f6b2c0c460b930eff5d7.tar.zst gsoc2013-evolution-c28b9a75bbfaa2538d34f6b2c0c460b930eff5d7.zip |
Groupwise address book, new warning message if the user's frequent contacts
folder is not createdi.
svn path=/trunk/; revision=30653
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/groupwise-account-setup/ChangeLog | 7 | ||||
-rw-r--r-- | plugins/groupwise-account-setup/camel-gw-listener.c | 9 |
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; } |