[maemo-commits] [maemo-commits] r8767 - projects/haf/trunk/osso-application-installer/src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu Dec 14 19:37:04 EET 2006
- Previous message: [maemo-commits] r8766 - projects/haf/trunk/apt-https
 - Next message: [maemo-commits] r8768 - in projects/haf/trunk/osso-application-installer: . debian
 - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
 
Author: marivoll
Date: 2006-12-14 19:37:03 +0200 (Thu, 14 Dec 2006)
New Revision: 8767
Modified:
   projects/haf/trunk/osso-application-installer/src/apt-worker.cc
Log:
	* src/apt-worker.cc (operation): Send a status reply before
	starting to fetch files.  This makes sure that the progress dialog
	appears immediately even if the first pulse of the fetcher takes
	some time to happen. (N47877)
Modified: projects/haf/trunk/osso-application-installer/src/apt-worker.cc
===================================================================
--- projects/haf/trunk/osso-application-installer/src/apt-worker.cc	2006-12-14 17:11:24 UTC (rev 8766)
+++ projects/haf/trunk/osso-application-installer/src/apt-worker.cc	2006-12-14 17:37:03 UTC (rev 8767)
@@ -2353,6 +2353,8 @@
        }
    }
    
+   send_status (op_downloading, 0, (int)(FetchBytes - FetchPBytes), 0);
+
    if (Fetcher.Run() == pkgAcquire::Failed)
      return rescode_failure;
       
    - Previous message: [maemo-commits] r8766 - projects/haf/trunk/apt-https
 - Next message: [maemo-commits] r8768 - in projects/haf/trunk/osso-application-installer: . debian
 - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
 
