[gnome-music/wip/mschraal/core] artistsview: Use CoreArtist model



commit 0d35f3f77c3992eef53d528831b076d5c2c5e493
Author: Marinus Schraal <mschraal gnome org>
Date:   Mon Jun 24 01:37:28 2019 +0200

    artistsview: Use CoreArtist model

 gnomemusic/views/artistsview.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gnomemusic/views/artistsview.py b/gnomemusic/views/artistsview.py
index 1f7cd49b..f9fcf00a 100644
--- a/gnomemusic/views/artistsview.py
+++ b/gnomemusic/views/artistsview.py
@@ -118,8 +118,7 @@ class ArtistsView(BaseView):
 
         # Prepare a new artist_albums_widget here
         coreartist = row.props.artist
-        model = self._window._app._coremodel.get_artists_model_full(
-            coreartist.props.media)
+        model = coreartist.props.model
 
         new_artist_albums_widget = Gtk.Frame(
             shadow_type=Gtk.ShadowType.NONE, hexpand=True)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]