changeset 5147:6d68d9edf5ae

[gaim-migrate @ 5511] The icon next to "IM" in the right click context menu thing was making the "Get Info" item look lonely. So I coded it an e-girl, whereby "e-girl" I mean "added 2 lines so that 'Get Info' has an icon next to it also." committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 17 Apr 2003 03:51:01 +0000
parents ac9ca88d4b25
children 6a9a76870779
files src/buddy.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Thu Apr 17 03:28:21 2003 +0000
+++ b/src/buddy.c	Thu Apr 17 03:51:01 2003 +0000
@@ -353,6 +353,8 @@
 		if(prpl && prpl->get_info) {
 			menuitem = gtk_image_menu_item_new_with_mnemonic(_("_Get Info"));
 			g_signal_connect(G_OBJECT(menuitem), "activate", G_CALLBACK(gtk_blist_menu_info_cb), node);
+			image = gtk_image_new_from_stock(GAIM_STOCK_INFO, GTK_ICON_SIZE_MENU);
+			gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(menuitem), image);
 			gtk_menu_shell_append(GTK_MENU_SHELL(menu), menuitem);
 		}