aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSiviaah Nallagatla <snallagatla@novell.com>2004-01-19 19:14:08 +0800
committerSivaiah Nallagatla <siva@src.gnome.org>2004-01-19 19:14:08 +0800
commit0c67c7a78fa1dab20c89501774d7b6a40c7bea59 (patch)
treef928d1a8c88a8367c65d33a89864a7606c546bb3 /plugins
parent35243289664c9e672b2802ffdd1408294a53b4a4 (diff)
downloadgsoc2013-evolution-0c67c7a78fa1dab20c89501774d7b6a40c7bea59.tar
gsoc2013-evolution-0c67c7a78fa1dab20c89501774d7b6a40c7bea59.tar.gz
gsoc2013-evolution-0c67c7a78fa1dab20c89501774d7b6a40c7bea59.tar.bz2
gsoc2013-evolution-0c67c7a78fa1dab20c89501774d7b6a40c7bea59.tar.lz
gsoc2013-evolution-0c67c7a78fa1dab20c89501774d7b6a40c7bea59.tar.xz
gsoc2013-evolution-0c67c7a78fa1dab20c89501774d7b6a40c7bea59.tar.zst
gsoc2013-evolution-0c67c7a78fa1dab20c89501774d7b6a40c7bea59.zip
add port and "/soap" to source uri
2004-01-19 Siviaah Nallagatla <snallagatla@novell.com> * providers/groupwise/camel-gw-listener.c ( remove_calender_tasks_sources, modify_calender_tasks_sources) : add port and "/soap" to source uri svn path=/trunk/; revision=24303
Diffstat (limited to 'plugins')
-rw-r--r--plugins/groupwise-account-setup/camel-gw-listener.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/groupwise-account-setup/camel-gw-listener.c b/plugins/groupwise-account-setup/camel-gw-listener.c
index f0186e7292..0738b35efa 100644
--- a/plugins/groupwise-account-setup/camel-gw-listener.c
+++ b/plugins/groupwise-account-setup/camel-gw-listener.c
@@ -244,7 +244,9 @@ modify_esource (const char* conf_key, GwAccountInfo *old_account_info, const cha
gboolean found_group;
url = camel_url_new (old_account_info->source_url, NULL);
- old_relative_uri = g_strdup_printf ("%s@%s", url->user, url->host);
+ /* FIXME: don't hard-code the port number */
+ old_relative_uri = g_strdup_printf ("%s:7181/soap", url->host);
+
list = e_source_list_new_for_gconf (gconf_client_get_default (), conf_key);
groups = e_source_list_peek_groups (list);
@@ -313,7 +315,9 @@ remove_calendar_tasks_sources (GwAccountInfo *info)
char *relative_uri;
url = camel_url_new (info->source_url, NULL);
- relative_uri = g_strdup_printf ("%s@%s", url->user, url->host);
+ /* FIXME: don't hard-code the port number */
+ relative_uri = g_strdup_printf ("%s:7181/soap", url->host);
+
remove_esource ("/apps/evolution/calendar/sources", info->name, "Default", relative_uri);
remove_esource ("/apps/evolution/tasks/sources", info->name, "Default", relative_uri);