[gnome-music/wip/jfelder/core-playlists-view: 5/6] artistsview: Restore loading popup



commit 7359bf56d13cb605f9684b12bee9bafc335811df
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 eede7035..85a56c35 100644
--- a/gnomemusic/views/artistsview.py
+++ b/gnomemusic/views/artistsview.py
@@ -140,6 +140,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):
@@ -151,6 +152,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]