From bcf8dbb96f31e1b7fcca3a179f64885ca04ff565 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 2 Nov 2011 09:08:45 +0100 Subject: Bug #662589 - 'Retrieve List' for new Google calendar does not use proxy --- plugins/google-account-setup/google-source.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/google-account-setup/google-source.c b/plugins/google-account-setup/google-source.c index a9785ad844..405d52155e 100644 --- a/plugins/google-account-setup/google-source.c +++ b/plugins/google-account-setup/google-source.c @@ -467,6 +467,7 @@ retrieve_list_clicked (GtkButton *button, authorizer = gdata_client_login_authorizer_new ("evolution-client-0.1.0", GDATA_TYPE_CALENDAR_SERVICE); service = gdata_calendar_service_new (GDATA_AUTHORIZER (authorizer)); + update_proxy_settings (GDATA_SERVICE (service), URL_GET_SUBSCRIBED_CALENDARS); if (!gdata_client_login_authorizer_authenticate (authorizer, user, password, NULL, &error)) { /* Error! */ claim_error (parent, error->message); @@ -481,7 +482,6 @@ retrieve_list_clicked (GtkButton *button, memset (password, 0, strlen (password)); g_free (password); - update_proxy_settings (GDATA_SERVICE (service), URL_GET_SUBSCRIBED_CALENDARS); feed = gdata_calendar_service_query_all_calendars (service, NULL, NULL, NULL, NULL, &error); if (feed) { -- cgit v1.2.3