fix resizing of thumbnails (for iconviews)

This commit is contained in:
coderkun 2016-06-11 13:51:59 +02:00
parent 1001f38a67
commit be3037bc03

View file

@ -111,6 +111,7 @@ class Application(Gtk.Application):
url = album.get_cover()
pixbuf = Application.load_cover(url)
if pixbuf is not None:
pixbuf = pixbuf.scale_simple(size, size, GdkPixbuf.InterpType.HYPER)
filetype = os.path.splitext(url)[1][1:]
if filetype == 'jpg':
filetype = 'jpeg'