diff options
author | David Cantrell <dcantrell@redhat.com> | 2005-11-21 21:22:28 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2005-11-21 21:22:28 +0000 |
commit | 85feb7fdee839400b3bc9d3c2904e5e9de3c1fb2 (patch) | |
tree | 79836ab3440e0eae2a4db7c0e2cdb82f90c162c8 /gui.py | |
parent | e9ea157654ab054de003328648cc7b32f200e3ed (diff) | |
download | anaconda-85feb7fdee839400b3bc9d3c2904e5e9de3c1fb2.tar.gz anaconda-85feb7fdee839400b3bc9d3c2904e5e9de3c1fb2.tar.xz anaconda-85feb7fdee839400b3bc9d3c2904e5e9de3c1fb2.zip |
Fixed one of the progress bars in the GUI frontend (retrieving package
information). GTK+ needs the percentage between 0 and 1, we were sending
very large values. Text mode progress bar unchanged for now.
Diffstat (limited to 'gui.py')
-rwxr-xr-x | gui.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -529,7 +529,7 @@ class ProgressWindow: def set (self, amount): # only update widget if we've changed by 5% curval = self.progress.get_fraction() - newval = float (amount) / self.total + newval = (float (amount) / self.total) / 100 if newval < 0.998: if (newval - curval) < 0.05 and newval > curval: return |