[empathy/gnome-2-34] Create GTalk accounts with extra-certificate-identities = 'talk.google.com'



commit af15e92f0ae08e321a46e21e92500bf47d060b44
Author: Stef Walter <stefw collabora co uk>
Date:   Fri Mar 18 18:47:09 2011 +0100

    Create GTalk accounts with extra-certificate-identities = 'talk.google.com'
    
    When creating google talk accounts, allow 'talk.google.com' as an extra
    identity for server certificate validation.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=645133

 src/empathy-account-assistant.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index 4e63272..4beda4b 100644
--- a/src/empathy-account-assistant.c
+++ b/src/empathy-account-assistant.c
@@ -422,11 +422,18 @@ account_assistant_protocol_changed_cb (GtkComboBox *chooser,
           "talkx.l.google.com:80",
           NULL};
 
+      gchar *extra_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);
+
+      empathy_account_settings_set_strv (settings, "extra-identities",
+          extra_identities);
     }
   else if (is_facebook)
     {



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