diff options
| author | Zdenek Prikryl <zprikryl@redhat.com> | 2009-08-24 18:42:14 +0200 |
|---|---|---|
| committer | Zdenek Prikryl <zprikryl@redhat.com> | 2009-08-24 18:42:14 +0200 |
| commit | 47df431ad534b9319d95ef4dc79c2671baf0ee1b (patch) | |
| tree | 39673e93373c47929c89103547cc6dcae82f6d38 /src/Gui/CCMainWindow.py | |
| parent | 057aefaf2625ca1976a3863b4647324303664a94 (diff) | |
| parent | ffb9d48d975cab3683bbbf9f94e0eacefcf4ce5b (diff) | |
| download | abrt-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.py | 12 |
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()) |
