aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-03-22 23:20:30 +0800
committerStef Walter <stefw@collabora.co.uk>2011-03-22 23:20:30 +0800
commitba40b4cdae9aae29b6b2e711431e38d63207851c (patch)
treeaf65288c2a575a52c2eafe1cc6ecfe12349a9f77
parentd5ee1dea31080835f3c1ca091c58769fc989b037 (diff)
downloadgsoc2013-empathy-ba40b4cdae9aae29b6b2e711431e38d63207851c.tar
gsoc2013-empathy-ba40b4cdae9aae29b6b2e711431e38d63207851c.tar.gz
gsoc2013-empathy-ba40b4cdae9aae29b6b2e711431e38d63207851c.tar.bz2
gsoc2013-empathy-ba40b4cdae9aae29b6b2e711431e38d63207851c.tar.lz
gsoc2013-empathy-ba40b4cdae9aae29b6b2e711431e38d63207851c.tar.xz
gsoc2013-empathy-ba40b4cdae9aae29b6b2e711431e38d63207851c.tar.zst
gsoc2013-empathy-ba40b4cdae9aae29b6b2e711431e38d63207851c.zip
Set the extra-certificate-identities in EmpathyAccountsDialog
https://bugzilla.gnome.org/show_bug.cgi?id=645133
-rw-r--r--src/empathy-accounts-dialog.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index ee601ac6b..3c690c071 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)
{