summaryrefslogtreecommitdiffstats
path: root/src/Gui/CCReporterDialog.py
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2009-12-02 14:26:52 +0100
committerKarel Klic <kklic@redhat.com>2009-12-02 14:26:52 +0100
commit8fe948d484d06b24838b83512f2c0d66cf38197c (patch)
tree0a23ec7cf62fe6abcd90f5306a9302a874e417ef /src/Gui/CCReporterDialog.py
parentb5f3c5516cfb57cdce0f82a03773f57dc974b886 (diff)
parentd4d9e424d0c0773ad926b2d6c10b88c14a6dffcf (diff)
downloadabrt-8fe948d484d06b24838b83512f2c0d66cf38197c.tar.gz
abrt-8fe948d484d06b24838b83512f2c0d66cf38197c.tar.xz
abrt-8fe948d484d06b24838b83512f2c0d66cf38197c.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'src/Gui/CCReporterDialog.py')
-rw-r--r--src/Gui/CCReporterDialog.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Gui/CCReporterDialog.py b/src/Gui/CCReporterDialog.py
index 84254846..8e86ee4c 100644
--- a/src/Gui/CCReporterDialog.py
+++ b/src/Gui/CCReporterDialog.py
@@ -121,8 +121,11 @@ class ReporterDialog():
response = ui.run()
if response == gtk.RESPONSE_APPLY:
ui.dehydrate()
- plugin.save_settings()
if plugin.Settings.check():
+ try:
+ plugin.save_settings()
+ except Exception, e:
+ gui_error_message(_("Can't save plugin settings:\n %s" % e))
box = image.get_parent()
im = gtk.Image()
im.set_from_stock(gtk.STOCK_APPLY, gtk.ICON_SIZE_MENU)