[gnome-music/wip/mschraal/artisttile-delayed-retrieval-fix: 3/3] artisttile: Fix delayed loading of artist art




commit 82e868b9b4c831163dac19d680095cf844992938
Author: Marinus Schraal <mschraal gnome org>
Date:   Sun Aug 15 16:12:42 2021 +0200

    artisttile: Fix delayed loading of artist art
    
    In 333d707c38ef delayed loading was added, but the init setter on
    coreobject this was not utilized and still starts all artist art loading
    at nearly the same time.
    
    Remove the offending line.

 gnomemusic/widgets/artisttile.py | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/gnomemusic/widgets/artisttile.py b/gnomemusic/widgets/artisttile.py
index e59367ba1..da2c5d55b 100644
--- a/gnomemusic/widgets/artisttile.py
+++ b/gnomemusic/widgets/artisttile.py
@@ -52,8 +52,6 @@ class ArtistTile(Gtk.ListBoxRow):
         self._art_stack.props.size = ArtSize.XSMALL
         self._art_stack.props.art_type = DefaultIcon.Type.ARTIST
 
-        self._art_stack.props.coreobject = self.props.coreartist
-
         self.bind_property('text', self._label, 'label')
         self.bind_property('text', self._label, 'tooltip-text')
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]