summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2010-06-16 14:35:37 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2010-06-16 14:35:37 +0200
commit774dfcd6100f1c3346a2180f15562891870db611 (patch)
tree523adda7eae7bfc843ef37613a9d91d61887c352
parentfdff46f1c86af75f77823f1947496e6341bf992b (diff)
downloadabrt-774dfcd6100f1c3346a2180f15562891870db611.tar.gz
abrt-774dfcd6100f1c3346a2180f15562891870db611.tar.xz
abrt-774dfcd6100f1c3346a2180f15562891870db611.zip
minor gui fixes
- made the report results selectable, center the wrong settings dialog
-rw-r--r--src/Gui/CReporterAssistant.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Gui/CReporterAssistant.py b/src/Gui/CReporterAssistant.py
index a87cdf5d..5f46c000 100644
--- a/src/Gui/CReporterAssistant.py
+++ b/src/Gui/CReporterAssistant.py
@@ -104,6 +104,7 @@ class ReporterAssistant():
# a raw text in case when set_markup() fails
for plugin, res in result.iteritems():
bug_report = gtk.Label()
+ bug_report.set_selectable(True)
bug_report.set_line_wrap(True)
bug_report.set_alignment(0.0, 0.0)
bug_report.set_justify(gtk.JUSTIFY_LEFT)
@@ -231,6 +232,7 @@ class ReporterAssistant():
hbox.pack_start(image, expand = False, fill = False)
vbWrongSettings.pack_start(hbox)
vbWrongSettings.show_all()
+ dialog.set_position(gtk.WIN_POS_CENTER_ON_PARENT)
dialog.set_transient_for(self.assistant)
dialog.set_modal(True)
response = dialog.run()
@@ -240,9 +242,9 @@ class ReporterAssistant():
else:
# user cancelled reporting
return False
-
else:
return NO_PROBLEMS_DETECTED
+
def warn_user(self, warnings):
# FIXME: show in lError
#self.lErrors = self.builder.get_object("lErrors")
@@ -274,7 +276,7 @@ class ReporterAssistant():
if reporter.Settings["RatingRequired"] == "yes":
rating_required = True
log1(_("Rating is required by %s plugin") % reporter)
- if not rating_required:
+ if self.selected_reporters and not rating_required:
log1(_("Rating is not required by any plugin, skipping the check.."))
try: