[Aptitude-svn-commit] r4192 - in branches/aptitude-0.3/aptitude: .
src
Daniel Burrows
dburrows at costa.debian.org
Thu Sep 22 22:52:42 UTC 2005
Author: dburrows
Date: Thu Sep 22 22:52:39 2005
New Revision: 4192
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/solution_screen.cc
Log:
Use a pkg_menu_tree instead of a vs_tree to build the solution screen.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Thu Sep 22 22:52:39 2005
@@ -1,5 +1,10 @@
2005-09-22 Daniel Burrows <dburrows at debian.org>
+ * src/solution_screen.cc:
+
+ Use a pkg_menu_tree instead of a vs_tree to build the solution
+ screen. Note that pkg_menu_tree is a bit of a misnomer now...
+
* src/pkg_tree.h:
Make pkg_menu_tree::create a static method (whoops).
Modified: branches/aptitude-0.3/aptitude/src/solution_screen.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/solution_screen.cc (original)
+++ branches/aptitude-0.3/aptitude/src/solution_screen.cc Thu Sep 22 22:52:39 2005
@@ -20,6 +20,8 @@
#include "solution_screen.h"
#include "aptitude.h"
+#include "menu_redirect.h"
+#include "pkg_tree.h"
#include "solution_fragment.h"
#include "solution_item.h"
@@ -509,7 +511,9 @@
vs_table_ref rval = vs_table::create();
vs_label_ref l = vs_label::create(L"");
- vs_tree_ref info_tree = vs_tree::create();
+ pkg_menu_tree_ref info_tree = pkg_menu_tree::create();
+
+ create_menu_bindings(info_tree.unsafe_get_ref(), rval);
solution_examiner_ref examiner
= solution_examiner::create(sigc::mem_fun(l.unsafe_get_ref(),
More information about the Aptitude-svn-commit
mailing list