fix logic
This commit is contained in:
parent
ca1d2331d8
commit
659c5d2670
|
@ -1100,6 +1100,8 @@ def make_jabber_state_images():
|
||||||
if pix_16_type == Gtk.ImageType.ANIMATION:
|
if pix_16_type == Gtk.ImageType.ANIMATION:
|
||||||
animation = pix.get_animation()
|
animation = pix.get_animation()
|
||||||
pixbuf = animation.get_static_image()
|
pixbuf = animation.get_static_image()
|
||||||
|
else:
|
||||||
|
pixbuf = pix.get_pixbuf()
|
||||||
else:
|
else:
|
||||||
pixbuf = pix.get_pixbuf()
|
pixbuf = pix.get_pixbuf()
|
||||||
scaled_pix = pixbuf.scale_simple(24, 24, GdkPixbuf.InterpType.BILINEAR)
|
scaled_pix = pixbuf.scale_simple(24, 24, GdkPixbuf.InterpType.BILINEAR)
|
||||||
|
|
Loading…
Reference in New Issue