changeset b05ca8670140 in tryton:5.0
details: https://hg.tryton.org/tryton?cmd=changeset&node=b05ca8670140
description:
        Show text in progress bar

        issue11062
        review367951003
        (grafted from c4114052833fac339014733bf2f8ad9c5d6cbe64)
diffstat:

 tryton/gui/window/view_form/view/form_gtk/progressbar.py |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r a2ad41d4984a -r b05ca8670140 
tryton/gui/window/view_form/view/form_gtk/progressbar.py
--- a/tryton/gui/window/view_form/view/form_gtk/progressbar.py  Thu Dec 16 
22:14:22 2021 +0100
+++ b/tryton/gui/window/view_form/view/form_gtk/progressbar.py  Wed Dec 29 
12:22:11 2021 +0100
@@ -23,6 +23,7 @@
         orientation = self.orientations.get(attrs.get('orientation',
             'left_to_right'), gtk.PROGRESS_LEFT_TO_RIGHT)
         self.widget.set_orientation(orientation)
+        self.widget.set_show_text(True)
 
     def display(self, record, field):
         super(ProgressBar, self).display(record, field)

Reply via email to