summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-23 17:21:39 +0000
committerMatt Wilson <msw@redhat.com>1999-09-23 17:21:39 +0000
commit0560aa0c84f75a5a890abad6fe087106807148b5 (patch)
tree5fcac2a0897d9c237175647a66afa34dcf85c220 /iw
parent173bdf6c32ebd2127ac88ff3494c6d20b845c65c (diff)
downloadanaconda-0560aa0c84f75a5a890abad6fe087106807148b5.tar.gz
anaconda-0560aa0c84f75a5a890abad6fe087106807148b5.tar.xz
anaconda-0560aa0c84f75a5a890abad6fe087106807148b5.zip
gdk_flush () ize
Diffstat (limited to 'iw')
-rw-r--r--iw/progress.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/iw/progress.py b/iw/progress.py
index 846f58d0c..1f3a5e163 100644
--- a/iw/progress.py
+++ b/iw/progress.py
@@ -37,7 +37,8 @@ class InstallProgressWindow (InstallWindow):
def setPackageScale (self, amount, total):
threads_enter ()
self.progress.update (float (amount) / total)
-# self.totalProgress.update (float (self.sizeComplete + amount) / self.totalSize)
+# self.totalProgress.update (float (self.sizeComplete + amount) / self.totalSize)
+ gdk_flush ()
threads_leave ()
def completePackage(self, header):
@@ -73,7 +74,8 @@ class InstallProgressWindow (InstallWindow):
remainingTime = finishTime - elapsedTime
apply (self.clist.set_text, self.status["remaining"]["time"] + ("%s" % formatTime(remainingTime),))
- self.totalProgress.update (float (self.sizeComplete) / self.totalSize)
+ self.totalProgress.update (float (self.sizeComplete) / self.totalSize)
+ gdk_flush ()
threads_leave ()
return
@@ -97,6 +99,7 @@ class InstallProgressWindow (InstallWindow):
if (summary == None):
summary = "(none)"
self.curPackage["summary"].set_text (summary)
+ gdk_flush ()
threads_leave ()
def setSizes (self, total, totalSize):
@@ -109,6 +112,7 @@ class InstallProgressWindow (InstallWindow):
apply (self.clist.set_text, self.status["total"]["size"] +
("%d M" % (totalSize / (1024 * 1024)),))
+ gdk_flush ()
threads_leave ()
def allocate (self, widget, *args):