fix logic

This commit is contained in:
Yann Leboulanger 2014-03-25 14:50:12 +01:00
parent ca1d2331d8
commit 659c5d2670
1 changed files with 2 additions and 0 deletions

View File

@ -1100,6 +1100,8 @@ def make_jabber_state_images():
if pix_16_type == Gtk.ImageType.ANIMATION:
animation = pix.get_animation()
pixbuf = animation.get_static_image()
else:
pixbuf = pix.get_pixbuf()
else:
pixbuf = pix.get_pixbuf()
scaled_pix = pixbuf.scale_simple(24, 24, GdkPixbuf.InterpType.BILINEAR)