Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/gajim.py')
-rwxr-xr-xsrc/gajim.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gajim.py b/src/gajim.py
index 230de2f20..c1872255f 100755
--- a/src/gajim.py
+++ b/src/gajim.py
@@ -2494,7 +2494,7 @@ class Interface:
for image in self.emoticons_images:
item = gtk.MenuItem()
img = gtk.Image()
- if type(image[1]) == gtk.gdk.PixbufAnimation:
+ if isinstance(image[1], gtk.gdk.PixbufAnimation):
img.set_from_animation(image[1])
else:
img.set_from_pixbuf(image[1])