[gnome-music/wip/mschraal/coreartist-artistart-fix] coreartist: Fix ArtistArt creation
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/coreartist-artistart-fix] coreartist: Fix ArtistArt creation
- Date: Wed, 1 Apr 2020 00:21:42 +0000 (UTC)
commit 7a4d5367608dd83b732060b021af45c5032205d1
Author: Marinus Schraal <mschraal gnome org>
Date: Wed Apr 1 02:13:36 2020 +0200
coreartist: Fix ArtistArt creation
In c3896da52b ArtistArt init arguments are changed to be in line with
other similar calls. Mistakenly the actual caller of this object was not
updated, resulting in no artist art being retrieved.
Correct the callers arguments.
gnomemusic/coreartist.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gnomemusic/coreartist.py b/gnomemusic/coreartist.py
index 09bd655e..9aeccd68 100644
--- a/gnomemusic/coreartist.py
+++ b/gnomemusic/coreartist.py
@@ -45,6 +45,7 @@ class CoreArtist(GObject.GObject):
"""
super().__init__()
+ self._application = application
self._cached_thumbnail_uri = None
self._coregrilo = application.props.coregrilo
self._coremodel = application.props.coremodel
@@ -111,7 +112,7 @@ class CoreArtist(GObject.GObject):
def thumbnail(self):
if self._thumbnail is None:
self._thumbnail = ""
- ArtistArt(self, self._coremodel)
+ ArtistArt(self._application, self)
return self._thumbnail
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]