diff options
author | Jiri Moskovcak <jmoskovc@localhost.localdomain> | 2009-11-20 11:21:11 +0100 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@localhost.localdomain> | 2009-11-20 11:21:11 +0100 |
commit | a9525e69060cb8ff1bd173475d12088c57ed82ea (patch) | |
tree | f2f07d5ab7a2fb17a688c8a47ea851be873c4a45 /src/Gui/PluginsSettingsDialog.py | |
parent | 47adbc71583d773d2c5c5f464b4c1583f92f9acc (diff) | |
download | abrt-a9525e69060cb8ff1bd173475d12088c57ed82ea.tar.gz abrt-a9525e69060cb8ff1bd173475d12088c57ed82ea.tar.xz abrt-a9525e69060cb8ff1bd173475d12088c57ed82ea.zip |
GUI: don't read the g-k every time we want to use the setting
- if g-k is not available, then user can set the settings at least
for the current ABRT session, but it's lost if we forcibly reload it
everytime
Diffstat (limited to 'src/Gui/PluginsSettingsDialog.py')
-rw-r--r-- | src/Gui/PluginsSettingsDialog.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Gui/PluginsSettingsDialog.py b/src/Gui/PluginsSettingsDialog.py index d8eac71e..48e55bf0 100644 --- a/src/Gui/PluginsSettingsDialog.py +++ b/src/Gui/PluginsSettingsDialog.py @@ -90,7 +90,9 @@ class PluginsSettingsDialog: #print "settings hydrate" self.pluginsListStore.clear() try: - pluginlist = getPluginInfoList(self.ccdaemon, refresh=True) + #pluginlist = getPluginInfoList(self.ccdaemon, refresh=True) + # don't force refresh as it will overwrite settings if g-k is not available + pluginlist = getPluginInfoList(self.ccdaemon) except Exception, e: print e #gui_error_message("Error while loading plugins info, please check if abrt daemon is running\n %s" % e) |