summaryrefslogtreecommitdiffstats
path: root/src/Gui/PluginList.py
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-09-09 16:41:11 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2009-09-09 16:41:11 +0200
commit45a0e08efabebe77a1ce6ce45510320e2278009f (patch)
treef33da998073cf7e68872b5232db878efc84734ef /src/Gui/PluginList.py
parent320b7eae1821cb3f92a8e19d6ea6fa70be552d29 (diff)
GUI: more global settings (still "read-only")
Diffstat (limited to 'src/Gui/PluginList.py')
-rw-r--r--src/Gui/PluginList.py6
1 files changed, 6 insertions, 0 deletions
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']