mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
load svg at sufficient size
This commit is contained in:
parent
142ff75774
commit
d28b9901cb
@ -2877,7 +2877,7 @@ class MainCover(Gtk.DrawingArea):
|
|||||||
self._client.emitter.connect("reconnected", self._on_reconnected)
|
self._client.emitter.connect("reconnected", self._on_reconnected)
|
||||||
|
|
||||||
def _clear(self):
|
def _clear(self):
|
||||||
self._pixbuf=GdkPixbuf.Pixbuf.new_from_file(FALLBACK_COVER)
|
self._pixbuf=GdkPixbuf.Pixbuf.new_from_file_at_size(FALLBACK_COVER, 1000, 1000)
|
||||||
self._surface=Gdk.cairo_surface_create_from_pixbuf(self._pixbuf, 0, None)
|
self._surface=Gdk.cairo_surface_create_from_pixbuf(self._pixbuf, 0, None)
|
||||||
self.queue_draw()
|
self.queue_draw()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user