This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
[PATCH 4/5] Update progress display when download phase starts
- From: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- To: cygwin-apps at cygwin dot com
- Cc: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- Date: Sun, 24 Apr 2011 14:05:56 +0100
- Subject: [PATCH 4/5] Update progress display when download phase starts
- References: <1303650357-3668-1-git-send-email-jon.turney@dronecode.org.uk>
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 <jon.turney@dronecode.org.uk>
* download.cc (do_download_thread): Update progress display
when download phase starts
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
---
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