Mercurial > pidgin.yaz
changeset 27561:3da1d149de25
If neither a locally-set custom icon nor a remotely-set buddy icon can be
found, then reset the icon container size to the minimum again.
Fixes #9671.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 12 Jul 2009 20:03:43 +0000 |
parents | 708c7edba73b |
children | 834236111afc |
files | pidgin/gtkconv.c |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkconv.c Sun Jul 12 18:47:57 2009 +0000 +++ b/pidgin/gtkconv.c Sun Jul 12 20:03:43 2009 +0000 @@ -6985,12 +6985,20 @@ icon = purple_conv_im_get_icon(PURPLE_CONV_IM(conv)); if (icon == NULL) + { + gtk_widget_set_size_request(gtkconv->u.im->icon_container, + -1, BUDDYICON_SIZE_MIN); return; + } data = purple_buddy_icon_get_data(icon, &len); if (data == NULL) + { + gtk_widget_set_size_request(gtkconv->u.im->icon_container, + -1, BUDDYICON_SIZE_MIN); return; + } } loader = gdk_pixbuf_loader_new();