diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-03-29 12:14:27 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-03-29 12:14:27 +0200 |
| commit | ceedd9449aebce9916e8c7f29640756214f8c37d (patch) | |
| tree | 842f67a10a8b3c5708ea0be13e3d9b0261642aea | |
| parent | 4171544c714a8cdefbd2445b3108be89dc7ab59b (diff) | |
| download | python-apt-ceedd9449aebce9916e8c7f29640756214f8c37d.tar.gz | |
* do a pulse when dpkg initalizes but nothing was installed yet
| -rw-r--r-- | DistUpgrade/DistUpgradeViewGtk.py | 3 |
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) |
