[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,12 +792,13 @@ class ChatControl(ChatControlBase):
|
|||
banner_status_img.set_from_animation(banner_image.get_animation())
|
||||
else:
|
||||
pix = banner_image.get_pixbuf()
|
||||
if use_size_32:
|
||||
banner_status_img.set_from_pixbuf(pix)
|
||||
else: # we need to scale 16x16 to 32x32
|
||||
scaled_pix = pix.scale_simple(32, 32,
|
||||
gtk.gdk.INTERP_BILINEAR)
|
||||
banner_status_img.set_from_pixbuf(scaled_pix)
|
||||
if pix is not None:
|
||||
if use_size_32:
|
||||
banner_status_img.set_from_pixbuf(pix)
|
||||
else: # we need to scale 16x16 to 32x32
|
||||
scaled_pix = pix.scale_simple(32, 32,
|
||||
gtk.gdk.INTERP_BILINEAR)
|
||||
banner_status_img.set_from_pixbuf(scaled_pix)
|
||||
|
||||
self._update_gpg()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue