comparison src/gtkblist.c @ 12971:7bd4dbf26c00

[gaim-migrate @ 15324] Scale the buddy icons in the non-full tooltips, as I mentioned on gaim-devel. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Fri, 20 Jan 2006 20:36:43 +0000
parents ec9b92104904
children 78f8ef7f0f6d
comparison
equal deleted inserted replaced
12970:ec9b92104904 12971:7bd4dbf26c00
2081 { 2081 {
2082 char *tooltip_text = NULL; 2082 char *tooltip_text = NULL;
2083 struct tooltip_data *td = g_new0(struct tooltip_data, 1); 2083 struct tooltip_data *td = g_new0(struct tooltip_data, 1);
2084 2084
2085 td->status_icon = gaim_gtk_blist_get_status_icon(node, GAIM_STATUS_ICON_LARGE); 2085 td->status_icon = gaim_gtk_blist_get_status_icon(node, GAIM_STATUS_ICON_LARGE);
2086 td->avatar = gaim_gtk_blist_get_buddy_icon(node, FALSE, FALSE); 2086 td->avatar = gaim_gtk_blist_get_buddy_icon(node, !full, FALSE);
2087 tooltip_text = gaim_get_tooltip_text(node, full); 2087 tooltip_text = gaim_get_tooltip_text(node, full);
2088 td->layout = gtk_widget_create_pango_layout(gtkblist->tipwindow, NULL); 2088 td->layout = gtk_widget_create_pango_layout(gtkblist->tipwindow, NULL);
2089 pango_layout_set_markup(td->layout, tooltip_text, -1); 2089 pango_layout_set_markup(td->layout, tooltip_text, -1);
2090 pango_layout_set_wrap(td->layout, PANGO_WRAP_WORD); 2090 pango_layout_set_wrap(td->layout, PANGO_WRAP_WORD);
2091 pango_layout_set_width(td->layout, 300000); 2091 pango_layout_set_width(td->layout, 300000);