[gnome-music/wip/mschraal/core] artistsview: Restore loading popup
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/core] artistsview: Restore loading popup
- Date: Sat, 13 Jul 2019 22:42:31 +0000 (UTC)
commit 564742842ee47df4ed4bf1540842cc772330d078
Author: Jean Felder <jfelder src gnome org>
Date: Thu Jul 11 11:01:29 2019 +0200
artistsview: Restore loading popup
gnomemusic/views/artistsview.py | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gnomemusic/views/artistsview.py b/gnomemusic/views/artistsview.py
index 639372a1..a28b59dc 100644
--- a/gnomemusic/views/artistsview.py
+++ b/gnomemusic/views/artistsview.py
@@ -138,6 +138,7 @@ class ArtistsView(BaseView):
artist_albums.connect(
"ready", self._on_artist_albums_ready, coreartist)
self._view.set_visible_child_name("empty-frame")
+ self._window.notifications_popup.push_loading()
return
def _on_artist_albums_ready(self, klass, coreartist):
@@ -149,6 +150,7 @@ class ArtistsView(BaseView):
scroll_vadjustment = self._view_container.props.vadjustment
scroll_vadjustment.props.value = 0.
self._view.set_visible_child(new_artist_albums_widget)
+ self._window.notifications_popup.pop_loading()
self._loaded_artists.append(coreartist)
return
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]