diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-08-15 22:36:37 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-09-14 20:08:50 +0800 |
commit | 06f3ea68de9622da4ed43049e8d47b98d7330030 (patch) | |
tree | 378f221839dba96cf1bd5e857d208f172fe8d9f8 | |
parent | 7ae6cc1c915ca4021afa99dc8cd3ac8f4f9e9c3f (diff) | |
download | gsoc2013-evolution-06f3ea68de9622da4ed43049e8d47b98d7330030.tar gsoc2013-evolution-06f3ea68de9622da4ed43049e8d47b98d7330030.tar.gz gsoc2013-evolution-06f3ea68de9622da4ed43049e8d47b98d7330030.tar.bz2 gsoc2013-evolution-06f3ea68de9622da4ed43049e8d47b98d7330030.tar.lz gsoc2013-evolution-06f3ea68de9622da4ed43049e8d47b98d7330030.tar.xz gsoc2013-evolution-06f3ea68de9622da4ed43049e8d47b98d7330030.tar.zst gsoc2013-evolution-06f3ea68de9622da4ed43049e8d47b98d7330030.zip |
online-accounts: Adapt to URL parameter renames.
It's "security-method" now instead of "use_ssl".
-rw-r--r-- | modules/online-accounts/e-online-accounts-google.c | 10 |
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); |