[gnome-music/wip/jfelder/gtk4-v3: 62/119] coredisc: Add listitemfactory hack
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/gtk4-v3: 62/119] coredisc: Add listitemfactory hack
- Date: Thu, 3 Feb 2022 04:51:45 +0000 (UTC)
commit e0a8f0ad7f35678baa74ec97ad15d51ed6b95862
Author: Marinus Schraal <mschraal gnome org>
Date: Sun Apr 25 16:02:59 2021 +0200
coredisc: Add listitemfactory hack
gnomemusic/coredisc.py | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gnomemusic/coredisc.py b/gnomemusic/coredisc.py
index 09780018b..376193c5f 100644
--- a/gnomemusic/coredisc.py
+++ b/gnomemusic/coredisc.py
@@ -29,6 +29,7 @@ class CoreDisc(GObject.GObject):
__gtype_name__ = "CoreDisc"
+ coredisc = GObject.Property(type=object, default=None)
disc_nr = GObject.Property(type=int, default=0)
duration = GObject.Property(type=int, default=None)
media = GObject.Property(type=Grl.Media, default=None)
@@ -42,6 +43,7 @@ class CoreDisc(GObject.GObject):
"""
super().__init__()
+ self.props.coredisc = self
self._coregrilo = application.props.coregrilo
self._coremodel = application.props.coremodel
self._filter_model = None
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]