aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-account-setup
diff options
context:
space:
mode:
authorSushma Rai <rsushma@src.gnome.org>2005-07-23 19:39:09 +0800
committerSushma Rai <rsushma@src.gnome.org>2005-07-23 19:39:09 +0800
commit31749138bf435e4ad59db8035b5f126d507b84e8 (patch)
tree6d7355ac731b7ed8e008a9eb8fdfba34708d969b /plugins/groupwise-account-setup
parent43032fcfdd41841034d3015277c9a4412faa7aa8 (diff)
downloadgsoc2013-evolution-31749138bf435e4ad59db8035b5f126d507b84e8.tar.gz
gsoc2013-evolution-31749138bf435e4ad59db8035b5f126d507b84e8.tar.zst
gsoc2013-evolution-31749138bf435e4ad59db8035b5f126d507b84e8.zip
Marking "Novell GroupWise Address Book" for offline usage, by default.
svn path=/trunk/; revision=29856
Diffstat (limited to 'plugins/groupwise-account-setup')
-rw-r--r--plugins/groupwise-account-setup/ChangeLog6
-rw-r--r--plugins/groupwise-account-setup/camel-gw-listener.c6
2 files changed, 11 insertions, 1 deletions
diff --git a/plugins/groupwise-account-setup/ChangeLog b/plugins/groupwise-account-setup/ChangeLog
index 424d65dc06..3ee3025ece 100644
--- a/plugins/groupwise-account-setup/ChangeLog
+++ b/plugins/groupwise-account-setup/ChangeLog
@@ -1,3 +1,9 @@
+2005-07-23 Sushma Rai <rsushma@novell.com>
+
+ * camel-gw-listener.c (add_addressbook_sources): marking
+ "Novell GroupWise Address Book" for offline usage by default. This is
+ needed as we now reply from cache always.
+
2005-07-13 Tor Lillqvist <tml@novell.com>
* org-gnome-gw-account-setup.eplug.xml: Use SOEXT.
diff --git a/plugins/groupwise-account-setup/camel-gw-listener.c b/plugins/groupwise-account-setup/camel-gw-listener.c
index b82be6c894..8474d25b37 100644
--- a/plugins/groupwise-account-setup/camel-gw-listener.c
+++ b/plugins/groupwise-account-setup/camel-gw-listener.c
@@ -620,7 +620,11 @@ add_addressbook_sources (EAccount *account)
e_source_set_property (source, "auth-domain", "Groupwise");
e_source_set_property (source, "port", soap_port);
e_source_set_property(source, "user", url->user);
- e_source_set_property (source, "offline_sync", camel_url_get_param (url, "offline_sync") ? "1" : "0");
+ if (!strcmp (book_name, "Novell GroupWise Address Book"))
+ e_source_set_property (source, "offline_sync", "1");
+ else
+ e_source_set_property (source, "offline_sync",
+ camel_url_get_param (url, "offline_sync") ? "1" : "0");
if (!e_gw_container_get_is_writable (E_GW_CONTAINER(temp_list->data)))
e_source_set_property (source, "completion", "true");
if (e_gw_container_get_is_frequent_contacts (E_GW_CONTAINER(temp_list->data)))