mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
changed fallback cover
This commit is contained in:
parent
58b563c1d8
commit
091ff07d32
@ -686,7 +686,7 @@ class Cover(object):
|
||||
|
||||
def get_pixbuf(self, size):
|
||||
if self.path == None:
|
||||
self.path=Gtk.IconTheme.get_default().lookup_icon("mpdevil", size, Gtk.IconLookupFlags.FORCE_SVG).get_filename() # fallback cover
|
||||
self.path=Gtk.IconTheme.get_default().lookup_icon("media-optical", size, Gtk.IconLookupFlags.FORCE_SVG).get_filename() # fallback cover
|
||||
return GdkPixbuf.Pixbuf.new_from_file_at_size(self.path, size, size)
|
||||
|
||||
######################
|
||||
|
Loading…
Reference in New Issue
Block a user