fix logic
This commit is contained in:
parent
ca1d2331d8
commit
659c5d2670
|
@ -1102,6 +1102,8 @@ def make_jabber_state_images():
|
||||||
pixbuf = animation.get_static_image()
|
pixbuf = animation.get_static_image()
|
||||||
else:
|
else:
|
||||||
pixbuf = pix.get_pixbuf()
|
pixbuf = pix.get_pixbuf()
|
||||||
|
else:
|
||||||
|
pixbuf = pix.get_pixbuf()
|
||||||
scaled_pix = pixbuf.scale_simple(24, 24, GdkPixbuf.InterpType.BILINEAR)
|
scaled_pix = pixbuf.scale_simple(24, 24, GdkPixbuf.InterpType.BILINEAR)
|
||||||
img.set_from_pixbuf(scaled_pix)
|
img.set_from_pixbuf(scaled_pix)
|
||||||
gajim.interface.jabber_state_images['24'][each] = img
|
gajim.interface.jabber_state_images['24'][each] = img
|
||||||
|
|
Loading…
Reference in New Issue