diff options
Diffstat (limited to 'src/empathy-account-assistant.c')
-rw-r--r-- | src/empathy-account-assistant.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c index c8379ae02..9c55b3654 100644 --- a/src/empathy-account-assistant.c +++ b/src/empathy-account-assistant.c @@ -305,11 +305,12 @@ account_assistant_protocol_changed_cb (GtkComboBox *chooser, char *str; GtkWidget *account_widget; EmpathyAccountWidget *widget_object = NULL; + gboolean is_gtalk; priv = GET_PRIV (self); cm = empathy_protocol_chooser_dup_selected ( - EMPATHY_PROTOCOL_CHOOSER (chooser), &proto); + EMPATHY_PROTOCOL_CHOOSER (chooser), &proto, &is_gtalk); if (cm == NULL || proto == NULL) /* we are not ready yet */ @@ -317,10 +318,15 @@ account_assistant_protocol_changed_cb (GtkComboBox *chooser, /* Create account */ /* To translator: %s is the protocol name */ - str = g_strdup_printf (_("New %s account"), proto->name); + str = g_strdup_printf (_("New %s account"), + empathy_protocol_name_to_display_name ( + is_gtalk ? "gtalk" : proto->name)); settings = empathy_account_settings_new (cm->name, proto->name, str); + empathy_account_settings_set_icon_name_async (settings, "im-google-talk", + NULL, NULL); + if (priv->first_resp == RESPONSE_CREATE_ACCOUNT) empathy_account_settings_set_boolean (settings, "register", TRUE); |