From 659c5d26709176e7d00656a96a990437edc1ca47 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Tue, 25 Mar 2014 14:50:12 +0100
Subject: [PATCH] fix logic

---
 src/gtkgui_helpers.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gtkgui_helpers.py b/src/gtkgui_helpers.py
index 240666b3c9..e634fdaf04 100644
--- a/src/gtkgui_helpers.py
+++ b/src/gtkgui_helpers.py
@@ -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)
-- 
GitLab