Fix setting albumart on UI widgets
This commit is contained in:
parent
8714d7a309
commit
0a631877df
1 changed files with 25 additions and 13 deletions
|
|
@ -441,9 +441,7 @@ class LibraryPanel(Gtk.Stack):
|
|||
else:
|
||||
self._standalone_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 compare_albums(self, model, row1, row2, criterion):
|
||||
|
|
@ -585,6 +583,12 @@ class LibraryPanel(Gtk.Stack):
|
|||
self._library_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._albums is not None:
|
||||
self.set_albums(self._host, self._albums)
|
||||
|
|
|
|||
Loading…
Reference in a new issue