From 45a0e08efabebe77a1ce6ce45510320e2278009f Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Wed, 9 Sep 2009 16:41:11 +0200 Subject: GUI: more global settings (still "read-only") --- src/Gui/PluginList.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Gui/PluginList.py') diff --git a/src/Gui/PluginList.py b/src/Gui/PluginList.py index 76bdf81..005bffe 100644 --- a/src/Gui/PluginList.py +++ b/src/Gui/PluginList.py @@ -40,6 +40,12 @@ class PluginInfoList(list): def getActionPlugins(self): return [x for x in self if x["Enabled"] == 'yes' and x["Type"] == 'Action'] + + def getDatabasePlugins(self): + return [x for x in self if x["Enabled"] == 'yes' and x["Type"] == 'Database'] + + def getAnalyzerPlugins(self): + return [x for x in self if x["Enabled"] == 'yes' and x["Type"] == 'Analyzer'] -- cgit