[gnome-music/wip/jfelder/grilo-reload-tracker-source: 3/6] 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: 3/6] coregrilo: Add a registry property
- Date: Wed, 19 Feb 2020 18:09:05 +0000 (UTC)
commit afdf2d7619d838d33c296f2681c976c0920a049a
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]