Fix setting albumart on UI widgets
This commit is contained in:
parent
8714d7a309
commit
0a631877df
4 changed files with 25 additions and 13 deletions
|
|
@ -227,9 +227,7 @@ class PlaylistPanel(Gtk.Stack):
|
|||
else:
|
||||
self._cover_pixbuf = self._get_default_image()
|
||||
# Show image
|
||||
self._resize_standalone_image()
|
||||
self.standalone_stack.set_visible_child(self.standalone_scroll)
|
||||
self.standalone_spinner.stop()
|
||||
GObject.idle_add(self._show_image)
|
||||
|
||||
|
||||
def stop_threads(self):
|
||||
|
|
@ -295,6 +293,12 @@ class PlaylistPanel(Gtk.Stack):
|
|||
self._playlist_lock.release()
|
||||
|
||||
|
||||
def _show_image(self):
|
||||
self._resize_standalone_image()
|
||||
self.standalone_stack.set_visible_child(self.standalone_scroll)
|
||||
self.standalone_spinner.stop()
|
||||
|
||||
|
||||
def _redraw(self):
|
||||
if self._playlist is not None:
|
||||
self.set_playlist(self._host, self._playlist)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue