diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-08-29 23:13:39 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-08-29 23:13:39 +0200 |
| commit | c9d03a8a633afd3b6a17b985bc640d59c6889a45 (patch) | |
| tree | a480caae7d8f047b4ff939b595c7c82a9a356b26 /DistUpgrade/DistUpgradeViewGtk.py | |
| parent | ab901030dbec4180254a680dd1c49016cfc36d4a (diff) | |
| download | python-apt-c9d03a8a633afd3b6a17b985bc640d59c6889a45.tar.gz | |
* DistUpgrade/
- actually show the estiamted download time
Diffstat (limited to 'DistUpgrade/DistUpgradeViewGtk.py')
| -rw-r--r-- | DistUpgrade/DistUpgradeViewGtk.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/DistUpgrade/DistUpgradeViewGtk.py b/DistUpgrade/DistUpgradeViewGtk.py index bb2e63e2..90d1e157 100644 --- a/DistUpgrade/DistUpgradeViewGtk.py +++ b/DistUpgrade/DistUpgradeViewGtk.py @@ -37,7 +37,7 @@ import apt_pkg import os from apt.progress import InstallProgress -from DistUpgradeView import DistUpgradeView, FuzzyTimeToStr +from DistUpgradeView import DistUpgradeView, FuzzyTimeToStr, estimatedDownloadTime from UpdateManager.Common.SimpleGladeApp import SimpleGladeApp, bindtextdomain import gettext @@ -476,6 +476,7 @@ class DistUpgradeViewGtk(DistUpgradeView,SimpleGladeApp): if downloadSize > 0: msg += _("You have to download a total of %s." %\ apt_pkg.SizeToStr(downloadSize)) + msg += estimatedDownloadTime(downloadSize) if (pkgs_upgrade + pkgs_inst + pkgs_remove) > 100: msg += "\n\n%s" % _("The upgrade can take several hours and "\ |
