diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-09-08 12:58:19 +0200 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-09-08 12:58:19 +0200 |
| commit | e065ed970b01cd4d145466918921d592aeab952c (patch) | |
| tree | 0da70f2db3c6bbcb5f51cb303c6348c57b8b55f6 /src/Gui/PluginList.py | |
| parent | cea9d8bb0b407f6675ed063e0fd4152ab2a9e128 (diff) | |
GUI: added UI for global settings (just preview, not usable!)
Diffstat (limited to 'src/Gui/PluginList.py')
| -rw-r--r-- | src/Gui/PluginList.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Gui/PluginList.py b/src/Gui/PluginList.py index 591096b..76bdf81 100644 --- a/src/Gui/PluginList.py +++ b/src/Gui/PluginList.py @@ -33,6 +33,14 @@ class PluginInfoList(list): return else: print "db == None!" + + + def getEnabledPlugins(self): + return [x for x in self if x["Enabled"] == 'yes'] + + def getActionPlugins(self): + return [x for x in self if x["Enabled"] == 'yes' and x["Type"] == 'Action'] + __PFList = None |
