diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-07-16 03:23:20 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-07-16 03:23:20 +0000 |
commit | a51764f258d46a2e2f0ae39f25144c6ffabb8804 (patch) | |
tree | 18980a7ca91a86f6432dd19e172608ed7c12e8f1 /gui.py | |
parent | 1b2f9fe18937b9f187b7fd77a50c2c7d0f369654 (diff) | |
download | anaconda-a51764f258d46a2e2f0ae39f25144c6ffabb8804.tar.gz anaconda-a51764f258d46a2e2f0ae39f25144c6ffabb8804.tar.xz anaconda-a51764f258d46a2e2f0ae39f25144c6ffabb8804.zip |
merge from taroon branch. product.img stuff, md can be modular, lots of
little things across the board
Diffstat (limited to 'gui.py')
-rwxr-xr-x | gui.py | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -430,7 +430,13 @@ class ProgressWindow: rootPushBusyCursor() def set (self, amount): - self.progress.set_fraction (float (amount) / self.total) + # only update widget if we've changed by 5% + curval = self.progress.get_fraction() + newval = float (amount) / self.total + if newval < 0.998: + if (newval - curval) < 0.05 and newval > curval: + return + self.progress.set_fraction (newval) processEvents () def pop(self): @@ -1464,7 +1470,7 @@ class InstallControlState: for path in ("/mnt/source/RHupdates/pixmaps/", "/mnt/source/RHupdates/", "/tmp/updates/pixmaps/", "/tmp/updates/", - "/tmp/product/pixmaps/", + "/tmp/product/pixmaps/", "/tmp/product/", "/usr/share/anaconda/pixmaps/", "pixmaps/", "/usr/share/pixmaps/", "/usr/share/anaconda/", ""): |