aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/google-account-setup
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-11-02 16:08:45 +0800
committerMilan Crha <mcrha@redhat.com>2011-11-02 16:08:45 +0800
commitbcf8dbb96f31e1b7fcca3a179f64885ca04ff565 (patch)
tree3b5a125716f0438020d15e279003528631d5b948 /plugins/google-account-setup
parent02cbe55123aa9ee218ee6a33ffb19f7644110123 (diff)
downloadgsoc2013-evolution-bcf8dbb96f31e1b7fcca3a179f64885ca04ff565.tar.gz
gsoc2013-evolution-bcf8dbb96f31e1b7fcca3a179f64885ca04ff565.tar.zst
gsoc2013-evolution-bcf8dbb96f31e1b7fcca3a179f64885ca04ff565.zip
Bug #662589 - 'Retrieve List' for new Google calendar does not use proxy
Diffstat (limited to 'plugins/google-account-setup')
-rw-r--r--plugins/google-account-setup/google-source.c2
1 files changed, 1 insertions, 1 deletions
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) {