[Aptitude-devel] r3074 - in branches/aptitude-0.3/aptitude: . src

Daniel Burrows dburrows@costa.debian.org
Sat, 23 Apr 2005 14:10:05 +0000


Author: dburrows
Date: Sat Apr 23 14:10:02 2005
New Revision: 3074

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/broken_indicator.cc
Log:
Don't confusingly display the number of already-calculated solutions.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Sat Apr 23 14:10:02 2005
@@ -2,6 +2,11 @@
 
 	* src/broken_indicator.cc:
 
+	  Don't display the total number of calculated solutions unless
+	  they've been exhausted (I think that's likely to be confusing).
+
+	* src/broken_indicator.cc:
+
 	  Capitalize the command names in the indicator, to match the
 	  hints at the top of the screen, and make then i18nable.
 

Modified: branches/aptitude-0.3/aptitude/src/broken_indicator.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/broken_indicator.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/broken_indicator.cc	Sat Apr 23 14:10:02 2005
@@ -150,7 +150,7 @@
 	    vector<fragment *> fragments;
 	    char buf[512];
 
-	    snprintf(buf, 512, (*apt_cache_file)->solution_generation_complete()?"[%d/%d]":"[%d/%d...]",
+	    snprintf(buf, 512, (*apt_cache_file)->solution_generation_complete()?"[%d/%d]":"[%d/...]",
 		     (*apt_cache_file)->get_selected_solution()+1,
 		     (*apt_cache_file)->generated_solution_count());
 	    fragments.push_back(fragf("%s ", buf));