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

This commit is contained in:
Yann Leboulanger 2009-07-28 17:04:57 +02:00
parent f748e893fb
commit 492abfb407
1 changed files with 1 additions and 1 deletions

View File

@ -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