diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-29 13:11:04 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-29 13:11:04 +0100 |
commit | 7b8b85d25ef4a2e0e49fc94b3bd47f8aa945091f (patch) | |
tree | 2735ebafd715f6817081b02f5e80aef4ea57d729 /src/Gui | |
parent | 54db4e264d6f862bd0af2f366d62b9c4b7b93c2d (diff) | |
download | abrt-7b8b85d25ef4a2e0e49fc94b3bd47f8aa945091f.tar.gz abrt-7b8b85d25ef4a2e0e49fc94b3bd47f8aa945091f.tar.xz abrt-7b8b85d25ef4a2e0e49fc94b3bd47f8aa945091f.zip |
fix bug 559881 (kerneloops not shown in "new" GUI)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Gui')
-rw-r--r-- | src/Gui/CCReporterDialog.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Gui/CCReporterDialog.py b/src/Gui/CCReporterDialog.py index a04725bd..b5f57d74 100644 --- a/src/Gui/CCReporterDialog.py +++ b/src/Gui/CCReporterDialog.py @@ -219,7 +219,8 @@ class ReporterDialog(): except: pass - if item == FILENAME_BACKTRACE: + if item == FILENAME_BACKTRACE or item == FILENAME_KERNELOOPS: + self.is_oops = item == FILENAME_KERNELOOPS buff = gtk.TextBuffer() tvBacktrace = self.builder.get_object("tvBacktrace") buff.set_text(self.report[item][CD_CONTENT]) @@ -308,7 +309,10 @@ class ReporterDialog(): tev_backtrace = self.builder.get_object("tvBacktrace") buff = tev_backtrace.get_buffer() text = buff.get_text(buff.get_start_iter(), buff.get_end_iter()) - self.report[FILENAME_BACKTRACE] = [CD_TXT, 'y', text] + if self.is_oops: + self.report[FILENAME_KERNELOOPS] = [CD_TXT, 'y', text] + else: + self.report[FILENAME_BACKTRACE] = [CD_TXT, 'y', text] def check_report(self): # FIXME: check the report for passwords and some other potentially |