[gnome-music/wip/mschraal/albumartists-cleanup] artistalbumwidget: Mark create_disc_box private
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/albumartists-cleanup] artistalbumwidget: Mark create_disc_box private
- Date: Sun, 17 Jun 2018 16:20:27 +0000 (UTC)
commit ff0310a6eb40fc36fc2584653c08740f5dda3773
Author: Marinus Schraal <mschraal gnome org>
Date: Sun Jun 17 18:14:07 2018 +0200
artistalbumwidget: Mark create_disc_box private
gnomemusic/widgets/artistalbumwidget.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/widgets/artistalbumwidget.py b/gnomemusic/widgets/artistalbumwidget.py
index 11131faf..6fcc49a2 100644
--- a/gnomemusic/widgets/artistalbumwidget.py
+++ b/gnomemusic/widgets/artistalbumwidget.py
@@ -103,7 +103,7 @@ class ArtistAlbumWidget(Gtk.Box):
grilo.populate_album_songs(self._media, self._add_item)
- def create_disc_box(self, disc_nr, disc_songs):
+ def _create_disc_box(self, disc_nr, disc_songs):
disc_box = DiscBox(self._model)
disc_box.set_songs(disc_songs)
disc_box.set_disc_number(disc_nr)
@@ -137,7 +137,7 @@ class ArtistAlbumWidget(Gtk.Box):
discs[disc_nr].append(song)
for disc_nr in discs:
- disc = self.create_disc_box(disc_nr, discs[disc_nr])
+ disc = self._create_disc_box(disc_nr, discs[disc_nr])
self._disc_list_box.add(disc)
if len(discs) == 1:
disc.props.show_disc_label = False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]