fix resizing of thumbnails (for iconviews)
This commit is contained in:
parent
1001f38a67
commit
be3037bc03
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ class Application(Gtk.Application):
|
||||||
url = album.get_cover()
|
url = album.get_cover()
|
||||||
pixbuf = Application.load_cover(url)
|
pixbuf = Application.load_cover(url)
|
||||||
if pixbuf is not None:
|
if pixbuf is not None:
|
||||||
|
pixbuf = pixbuf.scale_simple(size, size, GdkPixbuf.InterpType.HYPER)
|
||||||
filetype = os.path.splitext(url)[1][1:]
|
filetype = os.path.splitext(url)[1][1:]
|
||||||
if filetype == 'jpg':
|
if filetype == 'jpg':
|
||||||
filetype = 'jpeg'
|
filetype = 'jpeg'
|
||||||
|
|
Loading…
Reference in a new issue