[gnome-music/wip/mschraal/core: 164/177] coremodel: Better naming for get_artist_albums_model_full
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/core: 164/177] coremodel: Better naming for get_artist_albums_model_full
- Date: Wed, 3 Jul 2019 18:34:08 +0000 (UTC)
commit 62bedc2aa1e34a239715bb47485e8777d1a253d2
Author: Marinus Schraal <mschraal gnome org>
Date: Mon Jul 1 22:52:39 2019 +0200
coremodel: Better naming for get_artist_albums_model_full
get_artist_album_model
gnomemusic/coreartist.py | 2 +-
gnomemusic/coremodel.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/coreartist.py b/gnomemusic/coreartist.py
index 79722cda..3c84dc51 100644
--- a/gnomemusic/coreartist.py
+++ b/gnomemusic/coreartist.py
@@ -31,7 +31,7 @@ class CoreArtist(GObject.GObject):
@GObject.Property(type=Gio.ListModel, default=None)
def model(self):
if self._model is None:
- self._model = self._coremodel.get_artists_model_full(
+ self._model = self._coremodel.get_artist_album_model(
self.props.media)
self._model.connect("items-changed", self._on_items_changed)
diff --git a/gnomemusic/coremodel.py b/gnomemusic/coremodel.py
index 02dbe01c..7bd5a0fb 100644
--- a/gnomemusic/coremodel.py
+++ b/gnomemusic/coremodel.py
@@ -109,7 +109,7 @@ class CoreModel(GObject.GObject):
return disc_model_sort
- def get_artists_model_full(self, media):
+ def get_artist_album_model(self, media):
albums_model_filter = Dazzle.ListModelFilter.new(self._album_model)
albums_model_filter.set_filter_func(lambda a: False)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]