# HG changeset patch # User Etan Reisner # Date 1250313096 0 # Node ID 329d665c78b2e0af842335bb3fb9c058bde7597a # Parent e8eaf57f42da167318d8e1bdbb160f5b72fc83c7 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). diff -r e8eaf57f42da -r 329d665c78b2 pidgin/gtkconv.c --- 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));