diff options
author | Daniel Burrows <dburrows@debian.org> | 2008-03-29 11:38:47 -0700 |
---|---|---|
committer | Daniel Burrows <dburrows@debian.org> | 2008-03-29 11:38:47 -0700 |
commit | 616e362c0cc62d7047875f4043d75d0d815700b8 (patch) | |
tree | aff8c191a6da12f88823a37fa0126e83f8604d7c /src/ui.cc | |
parent | eeeb112c9164f989c98824dbfb11d3747f68f248 (diff) | |
download | aptitude-616e362c0cc62d7047875f4043d75d0d815700b8.tar.gz |
Create an explicit menu entry for cycling the information display.
Hopefully this will make it a bit more obvious that the information
display can be cycled; I have the general feeling that this is an
"invisible" feature at the moment.
Diffstat (limited to 'src/ui.cc')
-rw-r--r-- | src/ui.cc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -155,6 +155,7 @@ sigc::signal0<void> package_states_changed; sigc::signal0<bool, cw::util::accumulate_or> package_menu_enabled; sigc::signal0<bool, cw::util::accumulate_or> package_forbid_enabled; sigc::signal0<bool, cw::util::accumulate_or> package_information_enabled; +sigc::signal0<bool, cw::util::accumulate_or> package_cycle_information_enabled; sigc::signal0<bool, cw::util::accumulate_or> package_changelog_enabled; sigc::signal0<bool, cw::util::accumulate_or> find_search_enabled; @@ -174,6 +175,7 @@ sigc::signal0<bool, cw::util::accumulate_or> package_mark_auto; sigc::signal0<bool, cw::util::accumulate_or> package_unmark_auto; sigc::signal0<bool, cw::util::accumulate_or> package_forbid; sigc::signal0<bool, cw::util::accumulate_or> package_information; +sigc::signal0<bool, cw::util::accumulate_or> package_cycle_information; sigc::signal0<bool, cw::util::accumulate_or> package_changelog; sigc::signal0<bool, cw::util::accumulate_or> resolver_toggle_rejected; @@ -2181,6 +2183,10 @@ cw::menu_info package_menu[]={ N_("Display more information about the selected package"), sigc::hide_return(package_information.make_slot()), package_information_enabled.make_slot()), + cw::menu_info(cw::menu_info::MENU_ITEM, N_("C^ycle Package Information"), "DescriptionCycle", + N_("Cycle through the modes of the package information area: it can show the package's long description, a summary of its dependency status, or an analysis of why the package is required."), + sigc::hide_return(package_cycle_information.make_slot()), + package_cycle_information_enabled.make_slot()), cw::menu_info(cw::menu_info::MENU_ITEM, N_("^Changelog"), "Changelog", N_("Display the Debian changelog of the selected package"), sigc::hide_return(package_changelog.make_slot()), |