diff options
author | Obey Arthur Liu <arthur@milliways.fr> | 2008-04-18 00:53:28 +0200 |
---|---|---|
committer | Obey Arthur Liu <arthur@milliways.fr> | 2008-04-18 00:53:28 +0200 |
commit | 1b5137cb8d6025edad5c9b5628be9298c93bd7b6 (patch) | |
tree | 0b0967263858cebfa29dcdbc46142cbd83265a37 /src/main.cc | |
parent | 70e5317cec39b399874e3504ae5ebca0a55b3be8 (diff) | |
download | aptitude-1b5137cb8d6025edad5c9b5628be9298c93bd7b6.tar.gz |
Added the ::UI::Flat-View-As-First-View option to display the flat view as first view while keeping the default view settings. English documentation updated.
Diffstat (limited to 'src/main.cc')
-rw-r--r-- | src/main.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc index cee9653b..be7d4776 100644 --- a/src/main.cc +++ b/src/main.cc @@ -782,7 +782,11 @@ int main(int argc, char *argv[]) (*apt_cache_file)->package_category_changed.connect(sigc::ptr_fun(cw::toplevel::update)); } - do_new_package_view(*p.unsafe_get_ref()); + if(!aptcfg->FindB(PACKAGE "::UI::Flat-View-As-First-View", false)) + do_new_package_view(*p.unsafe_get_ref()); + else + do_new_flat_view(*p.unsafe_get_ref()); + p->destroy(); p = NULL; |