diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-08-11 15:36:23 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-08-11 15:36:23 +0200 |
commit | de7ae6b763e48607f7d1da8f4f98bd7386cccba8 (patch) | |
tree | 60b61555cba7712e850fbecb7a37a1dca26b7a23 /src/Gui/CCMainWindow.py | |
parent | 13329d88e147fac7cafcdebcafd1859a74a27aa9 (diff) | |
download | abrt-de7ae6b763e48607f7d1da8f4f98bd7386cccba8.tar.gz abrt-de7ae6b763e48607f7d1da8f4f98bd7386cccba8.tar.xz abrt-de7ae6b763e48607f7d1da8f4f98bd7386cccba8.zip |
GUI: Added option to disable/enable plugins (config preview)
Diffstat (limited to 'src/Gui/CCMainWindow.py')
-rw-r--r-- | src/Gui/CCMainWindow.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py index 8ddaa517..4b5fed2a 100644 --- a/src/Gui/CCMainWindow.py +++ b/src/Gui/CCMainWindow.py @@ -11,6 +11,7 @@ import CCDBusBackend from CC_gui_functions import * from CCDumpList import getDumpList, DumpList from CCReporterDialog import ReporterDialog +from SettingsDialog import SettingsDialog from CCReport import Report from exception import installExceptionHandler, handleMyException import ABRTExceptions @@ -100,6 +101,7 @@ class MainWindow(): self.wTree.get_widget("bReport").connect("clicked", self.on_bReport_clicked) self.wTree.get_widget("miQuit").connect("activate", self.on_bQuit_clicked) self.wTree.get_widget("miAbout").connect("activate", self.on_miAbout_clicked) + self.wTree.get_widget("miPreferences").connect("activate", self.on_miPreferences_clicked) # connect handlers for daemon signals self.ccdaemon.connect("crash", self.on_data_changed_cb, None) self.ccdaemon.connect("analyze-complete", self.on_analyze_complete_cb, self.pBarWindow) @@ -121,6 +123,11 @@ class MainWindow(): dialog = self.wTree.get_widget("about") result = dialog.run() dialog.hide() + + def on_miPreferences_clicked(self, widget): + dialog = SettingsDialog(self.window,self.ccdaemon) + dialog.hydrate() + dialog.show() def error_cb(self, daemon, message=None): # try to hide the progressbar, we dont really care if it was visible .. |