summaryrefslogtreecommitdiffstats
path: root/src/Gui/PluginList.py
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2010-01-20 21:41:46 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2010-01-20 21:41:46 +0100
commit9fac90866f5936fc507463faade2bc6be56f7182 (patch)
treed2309661a1d8e712c3ac09b89a5b2807f9c18f56 /src/Gui/PluginList.py
parentbbb210c836aaa6487e643176548b8b3feb11c347 (diff)
downloadabrt-9fac90866f5936fc507463faade2bc6be56f7182.tar.gz
abrt-9fac90866f5936fc507463faade2bc6be56f7182.tar.xz
abrt-9fac90866f5936fc507463faade2bc6be56f7182.zip
Fixed reporting from abrt-gui when g-keyring is not accessible
- when g-k is not available to user, GUI let him to insert his credentials, but only remembers it until he closes the gui
Diffstat (limited to 'src/Gui/PluginList.py')
-rw-r--r--src/Gui/PluginList.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Gui/PluginList.py b/src/Gui/PluginList.py
index d2232bbc..78e58298 100644
--- a/src/Gui/PluginList.py
+++ b/src/Gui/PluginList.py
@@ -38,7 +38,12 @@ class PluginInfoList(list):
def getReporterPlugins(self):
return [x for x in self if x["Enabled"] == 'yes' and x["Type"] == 'Reporter']
-
+ def getReporterPluginsSettings(self):
+ reporters_settings = {}
+ for plugin in self.getReporterPlugins():
+ reporters_settings[str(plugin)] = plugin.Settings
+ return reporters_settings
+
__PFList = None
__PFList_dbmanager = None