[gnome-music/wip/mschraal/core] artistalbumwidget: Show disc nr
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/core] artistalbumwidget: Show disc nr
- Date: Sun, 23 Jun 2019 23:58:13 +0000 (UTC)
commit a7c17b72c46eb35027964550e6f9eba48b2db8a0
Author: Marinus Schraal <mschraal gnome org>
Date: Sun Jun 23 22:28:55 2019 +0200
artistalbumwidget: Show disc nr
gnomemusic/widgets/artistalbumwidget.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gnomemusic/widgets/artistalbumwidget.py b/gnomemusic/widgets/artistalbumwidget.py
index 4ace5e13..2cc0076e 100644
--- a/gnomemusic/widgets/artistalbumwidget.py
+++ b/gnomemusic/widgets/artistalbumwidget.py
@@ -109,8 +109,7 @@ class ArtistAlbumWidget(Gtk.Box):
self._disc_list_box.bind_model(self._model, self._create_widget)
def _create_widget(self, disc):
- disc_box = self._create_disc_box(
- disc.media.get_album_disc_number(), disc.model)
+ disc_box = self._create_disc_box(disc.props.disc_nr, disc.model)
return disc_box
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]