[empathy/gnome-2-34] Set the extra-certificate-identities in EmpathyAccountsDialog



commit ba40b4cdae9aae29b6b2e711431e38d63207851c
Author: Stef Walter <stefw collabora co uk>
Date:   Tue Mar 22 16:20:30 2011 +0100

    Set the extra-certificate-identities in EmpathyAccountsDialog
    
    https://bugzilla.gnome.org/show_bug.cgi?id=645133

 src/empathy-accounts-dialog.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index ee601ac..3c690c0 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -695,11 +695,22 @@ accounts_dialog_setup_ui_to_add_account (EmpathyAccountsDialog *dialog)
           "talkx.l.google.com:80",
           NULL};
 
+      gchar *extra_certificate_identities[] = {
+          "talk.google.com",
+          NULL};
+
       empathy_account_settings_set_icon_name_async (settings, "im-google-talk",
           NULL, NULL);
 
       empathy_account_settings_set_strv (settings, "fallback-servers",
           fallback_servers);
+
+      if (empathy_account_settings_have_tp_param (settings,
+              "extra-certificate-identities"))
+        {
+          empathy_account_settings_set_strv (settings,
+                  "extra-certificate-identities", extra_certificate_identities);
+        }
     }
   else if (is_facebook)
     {



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