[gnome-music/wip/jfelder/tracker3-rebased: 34/49] coregrilo: Add a registry property
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/tracker3-rebased: 34/49] coregrilo: Add a registry property
- Date: Wed, 29 Jul 2020 14:15:25 +0000 (UTC)
commit 4af066ae5ec11b770e9d968fbfa4b4978968b8ab
Author: Jean Felder <jfelder src gnome org>
Date: Sat Nov 23 13:57:13 2019 +0100
coregrilo: Add a registry property
This property will be used by the new Grilo Wrappers.
gnomemusic/coregrilo.py | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/gnomemusic/coregrilo.py b/gnomemusic/coregrilo.py
index b4d0312d..fe09f9a6 100644
--- a/gnomemusic/coregrilo.py
+++ b/gnomemusic/coregrilo.py
@@ -111,6 +111,16 @@ class CoreGrilo(GObject.GObject):
weakref.finalize(self, Grl.deinit)
+ @GObject.Property(
+ type=Grl.Registry, default=None, flags=GObject.ParamFlags.READABLE)
+ def registry(self):
+ """Get Grilo Registry.
+
+ :returns: the Grilo Registry
+ :rtype: Grl.Registry
+ """
+ return self._registry
+
def _on_tracker_available_changed(self, klass, value):
new_state = self._tracker_wrapper.props.tracker_available
# FIXME:No removal support yet.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]