summaryrefslogtreecommitdiffstats
path: root/src/Gui
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-12-09 19:48:19 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-12-09 19:48:19 +0100
commitc6cfcc792147083ab41eb990f8ee4e3150cd5d75 (patch)
tree169b264b15f86ec96b33d6f3ce148ef34fdc67a0 /src/Gui
parent27ebe303780e332126bb90c284876d67fd59e61d (diff)
downloadabrt-c6cfcc792147083ab41eb990f8ee4e3150cd5d75.tar.gz
abrt-c6cfcc792147083ab41eb990f8ee4e3150cd5d75.tar.xz
abrt-c6cfcc792147083ab41eb990f8ee4e3150cd5d75.zip
Gui: make report status window's text wrap. Fixes bug 82
See https://fedorahosted.org/abrt/ticket/82 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Gui')
-rw-r--r--src/Gui/CCReporterDialog.py2
-rw-r--r--src/Gui/CC_gui_functions.py3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/Gui/CCReporterDialog.py b/src/Gui/CCReporterDialog.py
index 746c45c2..219512ea 100644
--- a/src/Gui/CCReporterDialog.py
+++ b/src/Gui/CCReporterDialog.py
@@ -96,7 +96,7 @@ class ReporterDialog():
# this callback is called when user press Cancel or Report button in Report dialog
def on_response(self, dialog, response_id, daemon):
# the button has been pressed (probably)
- print "response_id", response_id
+ # print "response_id", response_id
if response_id == gtk.RESPONSE_APPLY:
if not (self.check_settings(daemon) and self.check_report()):
dialog.stop_emission("response")
diff --git a/src/Gui/CC_gui_functions.py b/src/Gui/CC_gui_functions.py
index dfed2248..0532ab79 100644
--- a/src/Gui/CC_gui_functions.py
+++ b/src/Gui/CC_gui_functions.py
@@ -45,9 +45,12 @@ def gui_report_dialog ( report_status_dict, parent_dialog,
plugin_label = Label()
plugin_label.set_markup("<b>%s</b>: " % plugin)
plugin_label.set_justify(gtk.JUSTIFY_RIGHT)
+ plugin_label.set_alignment(0, 0)
status_label = Label()
status_label.set_max_width_chars(MAX_WIDTH)
status_label.set_selectable(True)
+ status_label.set_line_wrap(True)
+ status_label.set_alignment(0, 0)
status_hbox.pack_start(plugin_label, expand=False)
status_hbox.pack_start(status_label, expand=False)
# 0 means not succesfull