changeset 3511d26b1676 in /home/hg/repos/gajim
author: Yann Leboulanger asterix@lagaule.org branches: details:http://hg.gajim.org/gajim?cmd=changeset;node=3511d26b1676 description: fix logic
diffstat:
src/gtkgui_helpers.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 3c85815fade8 -r 3511d26b1676 src/gtkgui_helpers.py --- a/src/gtkgui_helpers.py Tue Mar 25 14:46:47 2014 +0100 +++ b/src/gtkgui_helpers.py Tue Mar 25 14:50:12 2014 +0100 @@ -1100,6 +1100,8 @@ 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)