diff options
| -rw-r--r-- | debian/changelog | 2 | ||||
| -rwxr-xr-x | doc/examples/gui-inst.py | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index c421b58e..6c9d56ec 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,7 +8,7 @@ python-apt (0.6.16) unstable; urgency=low now instead of a single one * apt_pkg.Cdrom.Add() returns a boolean now, CdromProgress has totalSteps - -- + -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 22 Dec 2005 10:21:51 +0100 python-apt (0.6.15) unstable; urgency=low diff --git a/doc/examples/gui-inst.py b/doc/examples/gui-inst.py index 1cb551ef..deb325fe 100755 --- a/doc/examples/gui-inst.py +++ b/doc/examples/gui-inst.py @@ -38,10 +38,12 @@ class GuiFetchProgress(gtk.Window, FetchProgress): def stop(self): self.hide() def pulse(self): - self.label.set_text("Speed: %s/s" % apt_pkg.SizeToStr(self.currentCPS)) + FetchProgress.pulse(self) + self.label.set_text("Speed: %s/s" % apt_pkg.SizeToStr(self.currentCPS)) #self.progressbar.set_fraction(self.currentBytes/self.totalBytes) while gtk.events_pending(): gtk.main_iteration() + return True class TermInstallProgress(InstallProgress, gtk.Window): def __init__(self): |
