diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-10-06 14:49:47 +0200 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-10-06 14:49:47 +0200 |
| commit | b3dcc2ccd55d9e380f9fe0e040aacfbc046d380d (patch) | |
| tree | 11ba5a47cc469d438c624a85b81fb59a255a903e /src/Gui/CCMainWindow.py | |
| parent | 8afb8ed593b09d738582b9556dcb6e1c1178f742 (diff) | |
| download | abrt-b3dcc2ccd55d9e380f9fe0e040aacfbc046d380d.tar.gz abrt-b3dcc2ccd55d9e380f9fe0e040aacfbc046d380d.tar.xz abrt-b3dcc2ccd55d9e380f9fe0e040aacfbc046d380d.zip | |
GUI: call Report() with the latest pluginsettings
- pluginlist is cached so it should be refreshed before
Report() is called otherwise we get the old settings
to the daemon
Diffstat (limited to 'src/Gui/CCMainWindow.py')
| -rw-r--r-- | src/Gui/CCMainWindow.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py index f8a2054..1b4848d 100644 --- a/src/Gui/CCMainWindow.py +++ b/src/Gui/CCMainWindow.py @@ -126,7 +126,7 @@ class MainWindow(): # load data #self.load() - self.pluginlist = getPluginInfoList(self.ccdaemon) + self.pluginlist = None def on_daemon_state_changed_cb(self, widget, state): if state == "up": @@ -299,6 +299,7 @@ class MainWindow(): self.pBarWindow.show_all() self.timer = gobject.timeout_add(100, self.progress_update_cb) reporters_settings = {} + self.pluginlist = getPluginInfoList(self.ccdaemon, refresh=True) for plugin in self.pluginlist.getReporterPlugins(): reporters_settings[str(plugin)] = plugin.Settings self.ccdaemon.Report(result, reporters_settings) |
