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

Daniel Burrows dburrows@costa.debian.org
Wed, 27 Apr 2005 00:27:06 +0000


Author: dburrows
Date: Wed Apr 27 00:27:03 2005
New Revision: 3105

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/ui.cc
Log:
Actually show a preview after auto-fixing.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Wed Apr 27 00:27:03 2005
@@ -1,5 +1,9 @@
 2005-04-26  Daniel Burrows  <dburrows@debian.org>
 
+	* src/ui.cc:
+
+	  Oops, actually show a preview after auto-fixing.
+
 	* src/solution_fragment.cc:
 
 	  Don't require that the solution is a sensible solution right

Modified: branches/aptitude-0.3/aptitude/src/ui.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/ui.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/ui.cc	Wed Apr 27 00:27:03 2005
@@ -988,8 +988,7 @@
 	  if(aptcfg->FindB(PACKAGE "::Auto-Fix-Broken", true))
 	    {
 	      auto_fix_broken();
-	      if(active_preview_tree)
-		active_preview_tree->build_tree();
+	      do_package_run_or_show_preview();
 	    }
 	  else
 	    install_fixer_dialog();