[gnome-music/wip/mschraal/core: 93/208] coremodel: Make get_album_disc private



commit f24c08a267c744269a19565dd390bd1f49a1a496
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]