summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--iw/progress.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/iw/progress.py b/iw/progress.py
index 53e54c272..ac0854c89 100644
--- a/iw/progress.py
+++ b/iw/progress.py
@@ -38,7 +38,6 @@ class InstallProgressWindow (InstallWindow):
threads_enter ()
self.progress.update (float (amount) / total)
# self.totalProgress.update (float (self.sizeComplete + amount) / self.totalSize)
- gdk_flush ()
threads_leave ()
def completePackage(self, header):
@@ -74,8 +73,7 @@ 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)
- gdk_flush ()
+ self.totalProgress.update (float (self.sizeComplete) / self.totalSize)
threads_leave ()
return
@@ -99,7 +97,6 @@ class InstallProgressWindow (InstallWindow):
if (summary == None):
summary = "(none)"
self.curPackage["summary"].set_text (summary)
- gdk_flush ()
threads_leave ()
def setSizes (self, total, totalSize):
@@ -112,7 +109,6 @@ 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):