# HG changeset patch # User Tim Ringenbach # Date 1128792247 0 # Node ID 42d9a9203767b3c5f75989c7841677c86b20115c # Parent 45d54425dc65655841023f6357b21af53f730ee6 [gaim-migrate @ 13900] patch by sadrul to improve the send to menu's icons. I had to manually apply this because patch kept failing 1 out of 1 hunks, and faceprint wasn't here to help. committer: Tailor Script diff -r 45d54425dc65 -r 42d9a9203767 src/gtkconv.c --- a/src/gtkconv.c Sat Oct 08 16:08:51 2005 +0000 +++ b/src/gtkconv.c Sat Oct 08 17:24:07 2005 +0000 @@ -2636,25 +2636,22 @@ GtkWidget *label; GtkWidget *image; GtkWidget *menuitem; - GdkPixbuf *pixbuf, *scale; + GdkPixbuf *pixbuf; gchar *text; account = bud->account; /* Create a pixmap for the protocol icon. */ - pixbuf = gaim_gtk_create_prpl_icon(account); - scale = gdk_pixbuf_scale_simple(pixbuf, 16, 16, GDK_INTERP_BILINEAR); - + pixbuf = gaim_gtk_blist_get_status_icon((GaimBlistNode*)bud, GAIM_STATUS_ICON_SMALL); /* Now convert it to GtkImage */ if (pixbuf == NULL) image = gtk_image_new(); else - image = gtk_image_new_from_pixbuf(scale); + image = gtk_image_new_from_pixbuf(pixbuf); gtk_size_group_add_widget(sg, image); - g_object_unref(G_OBJECT(scale)); g_object_unref(G_OBJECT(pixbuf)); /* Make our menu item */