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

Daniel Burrows dburrows at costa.debian.org
Thu Sep 22 22:03:19 UTC 2005


Author: dburrows
Date: Thu Sep 22 22:03:17 2005
New Revision: 4187

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/ui.cc
Log:
Put the new items in the menu and define the signals corresponding to them.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Thu Sep 22 22:03:17 2005
@@ -1,5 +1,9 @@
 2005-09-22  Daniel Burrows  <dburrows at debian.org>
 
+	* src/ui.cc:
+
+	  Actually put the new items in the menu and define the signals.
+
 	* src/ui.h:
 
 	  Add signals that will be used to hook up the new menu items.

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	Thu Sep 22 22:03:17 2005
@@ -156,6 +156,13 @@
 sigc::signal0<bool, accumulate_or> package_information;
 sigc::signal0<bool, accumulate_or> package_changelog;
 
+sigc::signal0<bool, accumulate_or> resolver_toggle_rejected;
+sigc::signal0<bool, accumulate_or> resolver_toggle_rejected_enabled;
+sigc::signal0<bool, accumulate_or> resolver_toggle_approved;
+sigc::signal0<bool, accumulate_or> resolver_toggle_approved_enabled;
+sigc::signal0<bool, accumulate_or> resolver_view_target;
+sigc::signal0<bool, accumulate_or> resolver_view_target_enabled;
+
 sigc::signal0<bool, accumulate_or> find_search;
 sigc::signal0<bool, accumulate_or> find_search_back;
 sigc::signal0<bool, accumulate_or> find_research;
@@ -1814,6 +1821,24 @@
 	       "PrevSolution", N_("Select the previous solution to the dependency problems."),
 	       sigc::ptr_fun(do_previous_solution),
 	       sigc::ptr_fun(do_previous_solution_enabled)),
+
+  VS_MENU_SEPARATOR,
+
+  vs_menu_info(vs_menu_info::VS_MENU_ITEM, N_("Toggle Rejected"),
+	       "SolutionActionReject", N_("Toggle whether the currently selected action is rejected."),
+	       sigc::hide_return(resolver_toggle_rejected.make_slot()),
+	       resolver_toggle_rejected_enabled.make_slot()),
+
+  vs_menu_info(vs_menu_info::VS_MENU_ITEM, N_("Toggle Approved"),
+	       "SolutionActionApprove", N_("Toggle whether the currently selected action is approved."),
+	       sigc::hide_return(resolver_toggle_approved.make_slot()),
+	       resolver_toggle_approved_enabled.make_slot()),
+
+  vs_menu_info(vs_menu_info::VS_MENU_ITEM, N_("View Target"),
+	       "InfoScreen", N_("View the package which will be affected by the selected action"),
+	       sigc::hide_return(resolver_view_target.make_slot()),
+	       resolver_view_target_enabled.make_slot()),
+
   VS_MENU_END
 };
 



More information about the Aptitude-svn-commit mailing list