[gnome-music/wip/jfelder/gtk4-v3: 254/259] artisttile: Move label logic here
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/gtk4-v3: 254/259] artisttile: Move label logic here
- Date: Thu, 17 Feb 2022 08:41:26 +0000 (UTC)
commit 5d246720815e1f1f164152b17f116384e54c3393
Author: Marinus Schraal <mschraal gnome org>
Date: Mon Feb 14 10:38:42 2022 +0100
artisttile: Move label logic here
gnomemusic/views/artistsview.py | 1 -
gnomemusic/widgets/artisttile.py | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/views/artistsview.py b/gnomemusic/views/artistsview.py
index bc24b23cb..6d87803f9 100644
--- a/gnomemusic/views/artistsview.py
+++ b/gnomemusic/views/artistsview.py
@@ -98,7 +98,6 @@ class ArtistsView(Gtk.Paned):
artist_tile = list_item.props.child
artist_tile.props.coreartist = coreartist
- artist_tile.props.text = coreartist.props.artist
def _on_model_items_changed(
self, model: Gtk.SingleSelection, position: int, removed: int,
diff --git a/gnomemusic/widgets/artisttile.py b/gnomemusic/widgets/artisttile.py
index 429144d68..7ed4d7093 100644
--- a/gnomemusic/widgets/artisttile.py
+++ b/gnomemusic/widgets/artisttile.py
@@ -76,3 +76,4 @@ class ArtistTile(Gtk.Box):
self._coreartist = coreartist
self._art_stack.props.coreobject = coreartist
+ self.props.text = coreartist.props.artist
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]