[gnome-music/wip/mschraal/core: 72/93] coremodel: Make get_album_disc private
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/core: 72/93] coremodel: Make get_album_disc private
- Date: Fri, 21 Jun 2019 22:46:44 +0000 (UTC)
commit f92f1301cad244d5c6f1f9d6b5ff0b2b0afdc98f
Author: Marinus Schraal <mschraal gnome org>
Date: Wed Jun 19 23:48:56 2019 +0200
coremodel: Make get_album_disc private
gnomemusic/coremodel.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/coremodel.py b/gnomemusic/coremodel.py
index 97579b90..d0b13e5a 100644
--- a/gnomemusic/coremodel.py
+++ b/gnomemusic/coremodel.py
@@ -90,7 +90,7 @@ class CoreModel(GObject.GObject):
model_filter = Dazzle.ListModelFilter.new(self._model)
model_filter.set_filter_func(lambda a: False)
nr = disc.get_album_disc_number()
- self.get_album_disc(media, nr, model_filter)
+ self._get_album_disc(media, nr, model_filter)
model_sort = Gfm.SortListModel.new(model_filter)
model_sort.set_sort_func(
@@ -173,7 +173,7 @@ class CoreModel(GObject.GObject):
self.emit("playlist-loaded")
- def get_album_disc(self, media, discnr, model):
+ def _get_album_disc(self, media, discnr, model):
albums_ids = []
model_filter = model
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]