[gnome-music/wip/jfelder/albumwidget-album-getter] albumwidget: Fix album property type
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/albumwidget-album-getter] albumwidget: Fix album property type
- Date: Fri, 30 Jul 2021 14:02:25 +0000 (UTC)
commit 0a3f25e885994892e20a3746e657c0fe393072b5
Author: Jean Felder <jfelder src gnome org>
Date: Fri Jul 30 16:01:33 2021 +0200
albumwidget: Fix album property type
gnomemusic/widgets/albumwidget.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gnomemusic/widgets/albumwidget.py b/gnomemusic/widgets/albumwidget.py
index 81bf52957..4dfd6d0fc 100644
--- a/gnomemusic/widgets/albumwidget.py
+++ b/gnomemusic/widgets/albumwidget.py
@@ -26,6 +26,7 @@ from gettext import ngettext
from gi.repository import GObject, Grl, Gtk
+from gnomemusic.corealbum import CoreAlbum
from gnomemusic.utils import ArtSize
from gnomemusic.widgets.disclistboxwidget import DiscBox
from gnomemusic.widgets.disclistboxwidget import DiscListBox # noqa: F401
@@ -181,7 +182,7 @@ class AlbumWidget(Gtk.Box):
self.deselect_all()
@GObject.Property(
- type=Grl.Media, default=None, flags=GObject.ParamFlags.READABLE)
+ type=CoreAlbum, default=None, flags=GObject.ParamFlags.READABLE)
def album(self):
"""Get the current album.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]