aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-account-assistant.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-05 01:38:24 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-05 01:56:10 +0800
commitf79f134280bb47d7fd10b958ccf60ca10bd40757 (patch)
treeb45f4f855d099a9b912a3a17a17df15eba994a5b /src/empathy-account-assistant.c
parent8dd1f0d5dfa09c1ddc29c85b9db472c2821c35fe (diff)
downloadgsoc2013-empathy-f79f134280bb47d7fd10b958ccf60ca10bd40757.tar
gsoc2013-empathy-f79f134280bb47d7fd10b958ccf60ca10bd40757.tar.gz
gsoc2013-empathy-f79f134280bb47d7fd10b958ccf60ca10bd40757.tar.bz2
gsoc2013-empathy-f79f134280bb47d7fd10b958ccf60ca10bd40757.tar.lz
gsoc2013-empathy-f79f134280bb47d7fd10b958ccf60ca10bd40757.tar.xz
gsoc2013-empathy-f79f134280bb47d7fd10b958ccf60ca10bd40757.tar.zst
gsoc2013-empathy-f79f134280bb47d7fd10b958ccf60ca10bd40757.zip
set the server field of Google Talk account
This should solve connection issue with buggy router (#601089).
Diffstat (limited to 'src/empathy-account-assistant.c')
-rw-r--r--src/empathy-account-assistant.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index 089b11f64..e5c5e80c2 100644
--- a/src/empathy-account-assistant.c
+++ b/src/empathy-account-assistant.c
@@ -416,11 +416,19 @@ account_assistant_protocol_changed_cb (GtkComboBox *chooser,
settings = empathy_account_settings_new (cm->name, proto->name, str);
if (is_gtalk)
- empathy_account_settings_set_icon_name_async (settings, "im-google-talk",
- NULL, NULL);
+ {
+ empathy_account_settings_set_icon_name_async (settings, "im-google-talk",
+ NULL, NULL);
+ /* We should not have to set the server but that may cause issue with
+ * buggy router. */
+ empathy_account_settings_set_string (settings, "server",
+ "talk.google.com");
+ }
else if (is_facebook)
- empathy_account_settings_set_icon_name_async (settings, "im-facebook",
- NULL, NULL);
+ {
+ empathy_account_settings_set_icon_name_async (settings, "im-facebook",
+ NULL, NULL);
+ }
if (priv->first_resp == RESPONSE_CREATE_ACCOUNT)
empathy_account_settings_set_boolean (settings, "register", TRUE);