summaryrefslogtreecommitdiff
path: root/plugins/python
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/python')
-rw-r--r--plugins/python/scripting/core.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/python/scripting/core.py b/plugins/python/scripting/core.py
index c46ef07..1b91688 100644
--- a/plugins/python/scripting/core.py
+++ b/plugins/python/scripting/core.py
@@ -19,7 +19,7 @@ class ScriptingEngine(PluginModule):
_version = '0.1'
_url = 'https://www.chrysalide.re/'
- _actions = ( PluginModule.PluginAction.PLUGINS_LOADED, PluginModule.PluginAction.PANEL_CREATION )
+ _actions = ( PluginModule.PluginAction.PLUGIN_LOADED, PluginModule.PluginAction.PANEL_CREATION )
_manager = None
@@ -64,15 +64,17 @@ class ScriptingEngine(PluginModule):
file_menu.insert(item, index)
- def _notify_plugins_loaded(self, action):
+ def _manage(self, action):
"""Ack the full loading of all plugins."""
- if action == PluginModule.PluginAction.PLUGINS_LOADED:
+ if action == PluginModule.PluginAction.PLUGIN_LOADED:
xbel = self.build_config_filename('recents.xbel', True)
ScriptingEngine._manager = Gtk.RecentManager(filename=xbel)
+ return True
+
def _on_panel_creation(self, action, item):
"""Get notified of a new panel creation."""