diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | src/fe/gtk/ProgressDialog.py | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -2,6 +2,10 @@ # Copyright 2005-2008 Gentoo Foundation; Distributed under the GPL v2 # $Id: $ + 07 Apr 2008; Andrew Gaffney <agaffney@gentoo.org> + src/fe/gtk/ProgressDialog.py: + Truncate progress bar status text at 80 characters + 06 Apr 2008; Andrew Gaffney <agaffney@gentoo.org> src/GLIArchitectureTemplate.py: Add checking for non-blank local filesystems after mounting diff --git a/src/fe/gtk/ProgressDialog.py b/src/fe/gtk/ProgressDialog.py index 0bdaece..76e690a 100755 --- a/src/fe/gtk/ProgressDialog.py +++ b/src/fe/gtk/ProgressDialog.py @@ -100,6 +100,8 @@ class ProgressDialog(gtk.Window): self.call_next_step() elif ntype == "progress": self.progress_bar.set_fraction(ndata[0]) + if len(ndata[1]) > 80: + ndata[1] = ndata[1][0:80] + "..." self.progress_bar.set_text(ndata[1]) return True return True |