[campey] fix so we do not tb for contacts that have avatar but in not in the roster group

This commit is contained in:
Nikos Kouremenos 2006-01-19 08:36:56 +00:00
parent 7da113172c
commit 286be0f9e2

View file

@ -792,6 +792,7 @@ class ChatControl(ChatControlBase):
banner_status_img.set_from_animation(banner_image.get_animation()) banner_status_img.set_from_animation(banner_image.get_animation())
else: else:
pix = banner_image.get_pixbuf() pix = banner_image.get_pixbuf()
if pix is not None:
if use_size_32: if use_size_32:
banner_status_img.set_from_pixbuf(pix) banner_status_img.set_from_pixbuf(pix)
else: # we need to scale 16x16 to 32x32 else: # we need to scale 16x16 to 32x32