always build emoticons menu with 16x16 images. Fixes #3125
This commit is contained in:
parent
f748e893fb
commit
492abfb407
|
@ -2713,7 +2713,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
|
||||||
|
|
Loading…
Reference in New Issue