From d6e4615c5b680796d7f4499c07a623b7f6063a3d Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Thu, 25 Nov 2010 17:51:38 +0100 Subject: GUI: at least show warn when the rating is low - we lost the ability to query the reporters if they require rating during the plugins->separate process transition, so we can't disable the reporting, so at least show a warning about it... --- src/gui/CReporterAssistant.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/gui') diff --git a/src/gui/CReporterAssistant.py b/src/gui/CReporterAssistant.py index 7299b501..7fe0acbb 100644 --- a/src/gui/CReporterAssistant.py +++ b/src/gui/CReporterAssistant.py @@ -305,6 +305,14 @@ class ReporterAssistant(): except Exception, ex: rating = None log1(_("Crashdump doesn't have rating => we suppose it's not required")) + + # FIXME: temporary warning about low rating because of + # removal the code that checks if reporter requires rating + if rating != None and rating < 4: + error_msgs.append(_("The backtrace is incomplete, please make sure" + " you provide the steps to reproduce.")) + + # active buttons acording to required fields # if an backtrace has rating use it if not SendBacktrace: -- cgit