[campey] fix so we do not tb for contacts that have avatar but in not in the roster group
This commit is contained in:
parent
7da113172c
commit
286be0f9e2
1 changed files with 7 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue