diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-10-22 16:58:36 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-10-22 16:58:36 +0200 |
commit | 398aaec063d3c59fb9a22d56f29dec80d6659e88 (patch) | |
tree | 0284e8bda9ef228a82f7dc422476382cb717e30a /src/Gui/CCMainWindow.py | |
parent | 6c0ebcba31940fe8b622eafeb7aa96e5209f5738 (diff) | |
download | abrt-398aaec063d3c59fb9a22d56f29dec80d6659e88.tar.gz abrt-398aaec063d3c59fb9a22d56f29dec80d6659e88.tar.xz abrt-398aaec063d3c59fb9a22d56f29dec80d6659e88.zip |
GUI: small fixes
Diffstat (limited to 'src/Gui/CCMainWindow.py')
-rw-r--r-- | src/Gui/CCMainWindow.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py index e68d2fb..34c2def 100644 --- a/src/Gui/CCMainWindow.py +++ b/src/Gui/CCMainWindow.py @@ -154,9 +154,12 @@ class MainWindow(): def on_miSettings_clicked(self, widget): dialog = SettingsDialog(self.window, self.ccdaemon) - dialog.hydrate() + try: + dialog.hydrate() + except Exception, e: + gui_error_message(_("Can't show the settings dialog\n%s" % e)) + return dialog.show() - self.ccdaemon.getSettings() def warning_cb(self, daemon, message=None): # try to hide the progressbar, we dont really care if it was visible .. |