aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-accounts-dialog.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-08-25 17:50:51 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-25 18:55:39 +0800
commit1522b80f3f6c2f0ac3cef0def5b4df362550c6b2 (patch)
tree767876bd745d916b23bb5da13ffa90dc3f056452 /src/empathy-accounts-dialog.c
parent073dc5b0186057f6f30818c3fc50d2070b1743a1 (diff)
downloadgsoc2013-empathy-1522b80f3f6c2f0ac3cef0def5b4df362550c6b2.tar
gsoc2013-empathy-1522b80f3f6c2f0ac3cef0def5b4df362550c6b2.tar.gz
gsoc2013-empathy-1522b80f3f6c2f0ac3cef0def5b4df362550c6b2.tar.bz2
gsoc2013-empathy-1522b80f3f6c2f0ac3cef0def5b4df362550c6b2.tar.lz
gsoc2013-empathy-1522b80f3f6c2f0ac3cef0def5b4df362550c6b2.tar.xz
gsoc2013-empathy-1522b80f3f6c2f0ac3cef0def5b4df362550c6b2.tar.zst
gsoc2013-empathy-1522b80f3f6c2f0ac3cef0def5b4df362550c6b2.zip
Use the new function in the accounts dialog
Diffstat (limited to 'src/empathy-accounts-dialog.c')
-rw-r--r--src/empathy-accounts-dialog.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index b2378b7dd..982ebe7bf 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -240,7 +240,8 @@ account_dialog_create_settings_widget (EmpathyAccountsDialog *dialog,
gtk_image_set_from_icon_name (GTK_IMAGE (priv->image_type),
icon_name, GTK_ICON_SIZE_DIALOG);
gtk_widget_set_tooltip_text (priv->image_type,
- empathy_account_settings_get_protocol (settings));
+ empathy_protocol_name_to_display_name
+ (empathy_account_settings_get_protocol (settings)));
accounts_dialog_update_name_label (dialog,
empathy_account_settings_get_display_name (settings));
@@ -1090,7 +1091,8 @@ accounts_dialog_button_create_clicked_cb (GtkWidget *button,
/* 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 (proto->name));
settings = empathy_account_settings_new (cm->name, proto->name, str);