pidgin: 48e7bc40: Use the new purple_account_get_name_for_...

deryni at pidgin.im deryni at pidgin.im
Tue Sep 8 08:51:35 EDT 2009


-----------------------------------------------------------------
Revision: 48e7bc40f3e696487c1f162edd2f5aeda98dbdd6
Ancestor: f7d26d95395d5013710b12cfdfcf131aa1033e0c
Author: deryni at pidgin.im
Date: 2009-08-15T05:11:36
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/48e7bc40f3e696487c1f162edd2f5aeda98dbdd6

Modified files:
        pidgin/gtkconv.c

ChangeLog: 

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).

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	45e5b9a1288691bad8d9217ef4fab368efb78291
+++ pidgin/gtkconv.c	105c6df5252cd52624e7cbf44c4bcf5de95092df
@@ -3859,7 +3859,7 @@ create_sendto_item(GtkWidget *menu, GtkS
 	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));


More information about the Commits mailing list