summaryrefslogtreecommitdiffstats
path: root/src/Gui/CCMainWindow.py
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-10-22 16:58:36 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2009-10-22 16:58:36 +0200
commit398aaec063d3c59fb9a22d56f29dec80d6659e88 (patch)
tree0284e8bda9ef228a82f7dc422476382cb717e30a /src/Gui/CCMainWindow.py
parent6c0ebcba31940fe8b622eafeb7aa96e5209f5738 (diff)
downloadabrt-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.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py
index e68d2fbb..34c2defe 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 ..