summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2010-11-25 17:51:38 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2010-11-25 17:51:38 +0100
commitd6e4615c5b680796d7f4499c07a623b7f6063a3d (patch)
treefc93a887b31a0cc040bd7ba8c1793abe0b94b754 /src/gui
parentab31b7efa166ac4ee84c8a730603619be628dd21 (diff)
downloadabrt-d6e4615c5b680796d7f4499c07a623b7f6063a3d.tar.gz
abrt-d6e4615c5b680796d7f4499c07a623b7f6063a3d.tar.xz
abrt-d6e4615c5b680796d7f4499c07a623b7f6063a3d.zip
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...
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/CReporterAssistant.py8
1 files changed, 8 insertions, 0 deletions
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: