[gnome-music/wip/mschraal/core: 103/118] artistalbumwidget: Show disc nr
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/core: 103/118] artistalbumwidget: Show disc nr
- Date: Wed, 26 Jun 2019 13:08:40 +0000 (UTC)
commit 3f7cad4af19f31789313aad5b57f3a0090009113
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]