# HG changeset patch # User John Bailey # Date 1253118415 0 # Node ID 7525698499e3ef509a5c559d7a99b4ef36bbe61b # Parent 0aac63e8489f8786e618188cf1abd0aa91d064ea Move this to im.pidgin.pidgin.next.minor too so im.pidgin.pidgin will compile. *** Plucked rev 48e7bc40f3e696487c1f162edd2f5aeda98dbdd6 (deryni@pidgin.im): 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). *** Plucked rev 48e7bc40f3e696487c1f162edd2f5aeda98dbdd6 (deryni@pidgin.im): 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 0aac63e8489f -r 7525698499e3 pidgin/gtkconv.c --- a/pidgin/gtkconv.c Wed Sep 16 16:25:59 2009 +0000 +++ b/pidgin/gtkconv.c Wed Sep 16 16:26:55 2009 +0000 @@ -3879,7 +3879,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));