summaryrefslogtreecommitdiff
path: root/DistUpgrade
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-03-29 12:14:27 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-03-29 12:14:27 +0200
commitceedd9449aebce9916e8c7f29640756214f8c37d (patch)
tree842f67a10a8b3c5708ea0be13e3d9b0261642aea /DistUpgrade
parent4171544c714a8cdefbd2445b3108be89dc7ab59b (diff)
downloadpython-apt-ceedd9449aebce9916e8c7f29640756214f8c37d.tar.gz
* do a pulse when dpkg initalizes but nothing was installed yet
Diffstat (limited to 'DistUpgrade')
-rw-r--r--DistUpgrade/DistUpgradeViewGtk.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/DistUpgrade/DistUpgradeViewGtk.py b/DistUpgrade/DistUpgradeViewGtk.py
index a550402f..1e860c93 100644
--- a/DistUpgrade/DistUpgradeViewGtk.py
+++ b/DistUpgrade/DistUpgradeViewGtk.py
@@ -229,6 +229,9 @@ class GtkInstallProgressAdapter(InstallProgress):
def updateInterface(self):
InstallProgress.updateInterface(self)
+ if self.start_time == 0.0:
+ self.progress.pulse()
+ time.sleep(0.15)
while gtk.events_pending():
gtk.main_iteration()
time.sleep(0.02)