# HG changeset patch # User Elliott Sales de Andrade # Date 1247429023 0 # Node ID 3da1d149de25ed928fafd4d6562b67e93d6edda1 # Parent 708c7edba73b0cc4027e853651ae8e9fe245daad 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. diff -r 708c7edba73b -r 3da1d149de25 pidgin/gtkconv.c --- 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();