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

Daniel Burrows dburrows at costa.debian.org
Fri Sep 30 22:43:53 UTC 2005


Author: dburrows
Date: Fri Sep 30 22:43:49 2005
New Revision: 4390

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/solution_item.cc
Log:
Reinstate advance-after-action for solution items.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Fri Sep 30 22:43:49 2005
@@ -1,5 +1,9 @@
 2005-09-30  Daniel Burrows  <dburrows at debian.org>
 
+	* src/solution_item.cc:
+
+	  Reinstate the advance-after-action behavior of solution items.
+
 	* doc/en/images/Makefile.am:
 
 	  Update the list of distributed images.

Modified: branches/aptitude-0.3/aptitude/src/solution_item.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/solution_item.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/solution_item.cc	Fri Sep 30 22:43:49 2005
@@ -161,9 +161,15 @@
 bool solution_item::dispatch_key(const key &k, vs_tree *owner)
 {
   if(global_bindings.key_matches(k, "SolutionActionReject"))
-    toggle_rejected();
+    {
+      toggle_rejected();
+      owner->line_down();
+    }
   else if(global_bindings.key_matches(k, "SolutionActionApprove"))
-    toggle_mandated();
+    {
+      toggle_mandated();
+      owner->line_down();
+    }
   else
     return vs_treeitem::dispatch_key(k, owner);
 



More information about the Aptitude-svn-commit mailing list