summaryrefslogtreecommitdiffstats
path: root/src/Gui
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-08-04 11:20:30 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2009-08-04 11:20:30 +0200
commit12b081bf63388b542727418512eaecbe1ba788ec (patch)
tree0d4353524fddb55fca3247e30d52769c65d40e0a /src/Gui
parent7de904c4fc0011dc568906792352c6981717ad15 (diff)
downloadabrt-12b081bf63388b542727418512eaecbe1ba788ec.tar.gz
abrt-12b081bf63388b542727418512eaecbe1ba788ec.tar.xz
abrt-12b081bf63388b542727418512eaecbe1ba788ec.zip
GUI: minor fix to center the error dialog on parent.
Diffstat (limited to 'src/Gui')
-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 c2f75ab2..8ddaa517 100644
--- a/src/Gui/CCMainWindow.py
+++ b/src/Gui/CCMainWindow.py
@@ -129,7 +129,7 @@ class MainWindow():
self.pBarWindow.hide()
except Exception, e:
pass
- gui_error_message("Unable to get report!\n%s" % message)
+ gui_error_message("Unable to get report!\n%s" % message,parent_dialog=self.window)
def update_cb(self, daemon, message):
self.wTree.get_widget("lStatus").set_text(message)
@@ -255,6 +255,7 @@ class MainWindow():
self.pBarWindow.hide()
gui_error_message("Error getting the report: %s" % e)
return
+
def sw_delete_event_cb(self, widget, event, data=None):
if self.timer:
gobject.source_remove(self.timer)