changeset 28597:329d665c78b2

Use the new purple_account_get_name_for_display function for the Send To menu. Closes #8391 (though there are likely still plenty of places we should also do this).
author Etan Reisner <pidgin@unreliablesource.net>
date Sat, 15 Aug 2009 05:11:36 +0000
parents e8eaf57f42da
children 401012968fea 6e67c0015645
files pidgin/gtkconv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Sat Aug 15 05:10:07 2009 +0000
+++ b/pidgin/gtkconv.c	Sat Aug 15 05:11:36 2009 +0000
@@ -3859,7 +3859,7 @@
 	gtk_size_group_add_widget(sg, image);
 
 	/* Make our menu item */
-	text = g_strdup_printf("%s (%s)", name, purple_account_get_username(account));
+	text = g_strdup_printf("%s (%s)", name, purple_account_get_name_for_display(account));
 	menuitem = gtk_radio_menu_item_new_with_label(*group, text);
 	g_free(text);
 	*group = gtk_radio_menu_item_get_group(GTK_RADIO_MENU_ITEM(menuitem));