[Aptitude-svn-commit] r3418 - in branches/aptitude-0.3/aptitude: . src

Daniel Burrows dburrows@costa.debian.org
Thu, 23 Jun 2005 01:56:54 +0000


Author: dburrows
Date: Thu Jun 23 01:56:51 2005
New Revision: 3418

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/pkg_tree.cc
Log:
Make the package tree progress bar actually move.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Thu Jun 23 01:56:51 2005
@@ -1,5 +1,10 @@
 2005-06-22  Daniel Burrows  <dburrows@debian.org>
 
+	* src/pkg_tree.cc:
+
+	  Make the package tree progress bar actually move (I forgot to
+	  increment its progress!  Oops).
+
 	* src/vs_progress.cc:
 
 	  Done() just indicates that a suboperation completed, not that

Modified: branches/aptitude-0.3/aptitude/src/pkg_tree.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/pkg_tree.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/pkg_tree.cc	Thu Jun 23 01:56:51 2005
@@ -585,6 +585,8 @@
 	      empty=false;
 	      grouper->add_package(i, mytree);
 	    }
+
+	  ++num;
 	}
 
       progress.OverallProgress(total, total, 1, _("Building view"));