summaryrefslogtreecommitdiffstats
path: root/src/Gui/CCMainWindow.py
diff options
context:
space:
mode:
authorZdenek Prikryl <zprikryl@redhat.com>2009-08-24 18:42:14 +0200
committerZdenek Prikryl <zprikryl@redhat.com>2009-08-24 18:42:14 +0200
commit47df431ad534b9319d95ef4dc79c2671baf0ee1b (patch)
tree39673e93373c47929c89103547cc6dcae82f6d38 /src/Gui/CCMainWindow.py
parent057aefaf2625ca1976a3863b4647324303664a94 (diff)
parentffb9d48d975cab3683bbbf9f94e0eacefcf4ce5b (diff)
downloadabrt-47df431ad534b9319d95ef4dc79c2671baf0ee1b.tar.gz
abrt-47df431ad534b9319d95ef4dc79c2671baf0ee1b.tar.xz
abrt-47df431ad534b9319d95ef4dc79c2671baf0ee1b.zip
Merge branch 'master' of git://git.fedorahosted.org/abrt
Diffstat (limited to 'src/Gui/CCMainWindow.py')
-rw-r--r--src/Gui/CCMainWindow.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py
index 7ae3177..e96db2b 100644
--- a/src/Gui/CCMainWindow.py
+++ b/src/Gui/CCMainWindow.py
@@ -42,7 +42,7 @@ class MainWindow():
self.wTree = gtk.glade.XML(self.gladefile)
#Get the Main Window, and connect the "destroy" event
- self.window = self.wTree.get_widget("main_window2")
+ self.window = self.wTree.get_widget("main_window3")
self.window.set_default_size(700, 480)
if (self.window):
self.window.connect("delete_event", self.delete_event_cb)
@@ -203,6 +203,16 @@ class MainWindow():
# this should work until we keep the row object in the last position
dump = dumpsListStore.get_value(dumpsListStore.get_iter(path[0]), dumpsListStore.get_n_columns()-1)
#move this to Dump class
+ if dump.isReported():
+ report_label = "<b>This crash has been reported, you can find the report(s) at:</b>\n"
+ for message in dump.getMessage().split('\n'):
+ if message:
+ if "http" in message or "file:///" in message:
+ message = "<a href=\"%s\">%s</a>" % (message, message)
+ report_label += "%s\n" % message
+ self.wTree.get_widget("lReported").set_markup(report_label)
+ else:
+ self.wTree.get_widget("lReported").set_markup("<b>Not reported!</b>")
lPackage = self.wTree.get_widget("lPackage")
self.wTree.get_widget("lDescription").set_label(dump.getDescription())