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

Daniel Burrows dburrows at costa.debian.org
Mon Sep 26 04:07:40 UTC 2005


Author: dburrows
Date: Mon Sep 26 04:07:37 2005
New Revision: 4269

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/cmdline/cmdline_progress.cc
Log:
Make the commandline download progress widget quiet.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Mon Sep 26 04:07:37 2005
@@ -1,5 +1,9 @@
 2005-09-25  Daniel Burrows  <dburrows at debian.org>
 
+	* src/cmdline/cmdline_progress.cc:
+
+	  Make downloads quiet.
+
 	* src/cmdline/cmdline_update.cc:
 
 	  Update for quietness.

Modified: branches/aptitude-0.3/aptitude/src/cmdline/cmdline_progress.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/cmdline/cmdline_progress.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/cmdline/cmdline_progress.cc	Mon Sep 26 04:07:37 2005
@@ -37,7 +37,7 @@
   // FIXME: LEAK!!!!  (since the command-line stuff will only use this once
   // and then terminate, and killing this leak is a major pain, I'm
   // letting it by for now, but this MUST BE FIXED EVENTUALLY!)
-  AcqTextStatus *acqprogress=new AcqTextStatus(screen_width, 0);
+  AcqTextStatus *acqprogress=new AcqTextStatus(screen_width, aptcfg->FindI("Quiet", 0));
 
   m->MediaChange_sig.connect(sigc::mem_fun(*acqprogress, &AcqTextStatus::MediaChange));
   m->IMSHit_sig.connect(sigc::mem_fun(*acqprogress, &AcqTextStatus::IMSHit));



More information about the Aptitude-svn-commit mailing list