aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rwxr-xr-xsrc/fe/gtk/ProgressDialog.py2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c1150e9..e22af18 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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