From 0c67c7a78fa1dab20c89501774d7b6a40c7bea59 Mon Sep 17 00:00:00 2001 From: Siviaah Nallagatla Date: Mon, 19 Jan 2004 11:14:08 +0000 Subject: add port and "/soap" to source uri 2004-01-19 Siviaah Nallagatla * 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 --- camel/ChangeLog | 5 +++++ camel/providers/groupwise/camel-gw-listener.c | 8 ++++++-- plugins/groupwise-account-setup/camel-gw-listener.c | 8 ++++++-- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index ea38da7526..20c4a6be04 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +2004-01-19 Siviaah Nallagatla + + * providers/groupwise/camel-gw-listener.c ( remove_calender_tasks_sources, + modify_calender_tasks_sources) : add port and "/soap" to source uri + 2004-01-19 Not Zed * camel-vee-store.c (change_folder): use a CamelURL to properly diff --git a/camel/providers/groupwise/camel-gw-listener.c b/camel/providers/groupwise/camel-gw-listener.c index f0186e7292..0738b35efa 100644 --- a/camel/providers/groupwise/camel-gw-listener.c +++ b/camel/providers/groupwise/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); 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); -- cgit v1.2.3