[gnome-music/wip/jfelder/grilo-reload-tracker-source: 1/4] coregrilo: Add a registry property
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/grilo-reload-tracker-source: 1/4] coregrilo: Add a registry property
- Date: Wed, 19 Feb 2020 18:08:26 +0000 (UTC)
commit 49ca7791b2ad54ab40d75cef0d16fc47a174ef54
Author: Jean Felder <jfelder src gnome org>
Date: Wed Feb 19 16:30:54 2020 +0100
coregrilo: Add a registry property
gnomemusic/coregrilo.py | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/gnomemusic/coregrilo.py b/gnomemusic/coregrilo.py
index 628645fb..957f0a74 100644
--- a/gnomemusic/coregrilo.py
+++ b/gnomemusic/coregrilo.py
@@ -90,6 +90,16 @@ class CoreGrilo(GObject.GObject):
self._registry.load_all_plugins(True)
+ @GObject.Property(
+ type=Grl.Registry, default=None, flags=GObject.ParamFlags.READABLE)
+ def registry(self):
+ """Get grilo plugin manager
+
+ :returns: Grilo Registry object
+ :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]