aboutsummaryrefslogtreecommitdiffstats
path: root/modules/online-accounts
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-08-15 22:36:37 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-08-15 23:56:26 +0800
commitd5a6337563eafd7628aed41deee989864933db62 (patch)
tree63a873bb401ea8554da6993a65ada0aa6d345ede /modules/online-accounts
parent9cc59ac6c37351a8d956d3ac081b473f92100196 (diff)
downloadgsoc2013-evolution-d5a6337563eafd7628aed41deee989864933db62.tar.gz
gsoc2013-evolution-d5a6337563eafd7628aed41deee989864933db62.tar.zst
gsoc2013-evolution-d5a6337563eafd7628aed41deee989864933db62.zip
online-accounts: Adapt to URL parameter renames.
It's "security-method" now instead of "use_ssl".
Diffstat (limited to 'modules/online-accounts')
-rw-r--r--modules/online-accounts/e-online-accounts-google.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/online-accounts/e-online-accounts-google.c b/modules/online-accounts/e-online-accounts-google.c
index b35fd53f57..04d7f9f39a 100644
--- a/modules/online-accounts/e-online-accounts-google.c
+++ b/modules/online-accounts/e-online-accounts-google.c
@@ -192,9 +192,10 @@ online_accounts_google_sync_mail (GoaObject *goa_object,
/* Always == SSL (port 993) */
if (goa_mail_get_imap_use_tls (goa_mail))
- camel_url_set_param (url, "use_ssl", "always");
+ string = "ssl-on-alternate-port";
else
- camel_url_set_param (url, "use_ssl", "never");
+ string = "none";
+ camel_url_set_param (url, "security-method", string);
string = goa_account_get_id (goa_account);
camel_url_set_param (url, GOA_KEY, string);
@@ -228,9 +229,10 @@ online_accounts_google_sync_mail (GoaObject *goa_object,
/* When-Possible == STARTTLS */
if (goa_mail_get_smtp_use_tls (goa_mail))
- camel_url_set_param (url, "use_ssl", "when-possible");
+ string = "starttls-on-standard-port";
else
- camel_url_set_param (url, "use_ssl", "never");
+ string = "none";
+ camel_url_set_param (url, "security-method", string);
string = goa_account_get_id (goa_account);
camel_url_set_param (url, GOA_KEY, string);