diff options
author | Siviaah Nallagatla <snallagatla@novell.com> | 2004-01-19 19:14:08 +0800 |
---|---|---|
committer | Sivaiah Nallagatla <siva@src.gnome.org> | 2004-01-19 19:14:08 +0800 |
commit | 0c67c7a78fa1dab20c89501774d7b6a40c7bea59 (patch) | |
tree | f928d1a8c88a8367c65d33a89864a7606c546bb3 | |
parent | 35243289664c9e672b2802ffdd1408294a53b4a4 (diff) | |
download | gsoc2013-evolution-0c67c7a78fa1dab20c89501774d7b6a40c7bea59.tar.gz 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
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/providers/groupwise/camel-gw-listener.c | 8 | ||||
-rw-r--r-- | 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 <snallagatla@novell.com> + + * 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 <NotZed@Ximian.com> * 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); |