[evolution] online-accounts: Adapt to URL parameter renames.



commit d5a6337563eafd7628aed41deee989864933db62
Author: Matthew Barnes <mbarnes redhat com>
Date:   Mon Aug 15 10:36:37 2011 -0400

    online-accounts: Adapt to URL parameter renames.
    
    It's "security-method" now instead of "use_ssl".

 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 b35fd53..04d7f9f 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]