If we have many packages installed, but very little to download, don't
leave the last package we checked for prerequisites displayed whilst we
locate the first package to download

2011-04-24  Jon TURNEY  <[email protected]>

        * download.cc (do_download_thread): Update progress display
        when download phase starts

Signed-off-by: Jon TURNEY <[email protected]>
---
 download.cc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/download.cc b/download.cc
index 25260fd..32bb2c4 100644
--- a/download.cc
+++ b/download.cc
@@ -199,6 +199,10 @@ do_download_thread (HINSTANCE h, HWND owner)
   total_download_bytes = 0;
   total_download_bytes_sofar = 0;
 
+  Progress.SetText1 ("Checking for packages to download...");
+  Progress.SetText2 ("");
+  Progress.SetText3 ("");
+
   packagedb db;
   /* calculate the amount needed */
   for (packagedb::packagecollection::iterator i = db.packages.begin ();
-- 
1.7.4

Reply via email to