summaryrefslogtreecommitdiffstats
path: root/src/Gui/CCMainWindow.py
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-02-26 16:28:57 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-02-26 16:28:57 +0100
commit5dc43e9595943ab5a1e8045ced5f6040f94e1180 (patch)
tree126cd68521721248d2abfe869e2423061473ea9f /src/Gui/CCMainWindow.py
parent21cee04d315e4b05603c73fc46ccec85770a6de7 (diff)
downloadabrt-5dc43e9595943ab5a1e8045ced5f6040f94e1180.tar.gz
abrt-5dc43e9595943ab5a1e8045ced5f6040f94e1180.tar.xz
abrt-5dc43e9595943ab5a1e8045ced5f6040f94e1180.zip
Fixed cancel button in reporter
Diffstat (limited to 'src/Gui/CCMainWindow.py')
-rw-r--r--src/Gui/CCMainWindow.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py
index 0cbd03e..ab2e171 100644
--- a/src/Gui/CCMainWindow.py
+++ b/src/Gui/CCMainWindow.py
@@ -130,6 +130,7 @@ class MainWindow():
report = self.ccdaemon.getReport(dump.getUUID())
except Exception,e:
# FIXME #3 dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply
+ # do this async and wait for yum to end with debuginfoinstal
gui_error_message("Operation taking too long - \nPlease try again after debuginfo is installed")
return
@@ -138,7 +139,7 @@ class MainWindow():
return
report_dialog = ReporterDialog(report)
result = report_dialog.run()
- if result == -1:
+ if result == gtk.RESPONSE_CANCEL:
pass
else:
self.ccdaemon.Report(result)