From 492abfb4072a7b69de4f2e9cf45ef6243a83cd9d Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Tue, 28 Jul 2009 17:04:57 +0200
Subject: [PATCH] always build emoticons menu with 16x16 images. Fixes #3125

---
 src/gajim.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gajim.py b/src/gajim.py
index a8f0f971fe..1f114563dc 100644
--- a/src/gajim.py
+++ b/src/gajim.py
@@ -2713,7 +2713,7 @@ class Interface:
 					if emot_file.endswith('.gif'):
 						pix = gtk.gdk.PixbufAnimation(emot_file)
 					else:
-						pix = gtk.gdk.pixbuf_new_from_file(emot_file)
+						pix = gtk.gdk.pixbuf_new_from_file_at_size(emot_file, 16, 16)
 					self.emoticons_images.append((emot, pix))
 				self.emoticons[emot.upper()] = emot_file
 		del emoticons
-- 
GitLab