Commit 4dbd848f authored by Yann Leboulanger's avatar Yann Leboulanger

always build emoticons menu with 16x16 images. Fixes #3125

parent 99e89bfb
...@@ -2725,7 +2725,7 @@ class Interface: ...@@ -2725,7 +2725,7 @@ class Interface:
if emot_file.endswith('.gif'): if emot_file.endswith('.gif'):
pix = gtk.gdk.PixbufAnimation(emot_file) pix = gtk.gdk.PixbufAnimation(emot_file)
else: 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_images.append((emot, pix))
self.emoticons[emot.upper()] = emot_file self.emoticons[emot.upper()] = emot_file
del emoticons del emoticons
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment