diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-17 21:28:48 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-17 21:28:48 +0000 |
commit | 3e727ce1e3a49fd0149625d77fabaf6326964be4 (patch) | |
tree | 72af6c8257324a8371e6fb4a21f9da4c7708d13b /rpmdrake.pm | |
parent | acc76c2ac5fd1aeea737b0b0e03518a936796d33 (diff) | |
download | rpmdrake-3e727ce1e3a49fd0149625d77fabaf6326964be4.tar rpmdrake-3e727ce1e3a49fd0149625d77fabaf6326964be4.tar.gz rpmdrake-3e727ce1e3a49fd0149625d77fabaf6326964be4.tar.bz2 rpmdrake-3e727ce1e3a49fd0149625d77fabaf6326964be4.tar.xz rpmdrake-3e727ce1e3a49fd0149625d77fabaf6326964be4.zip |
add a "mode" combo box, thus restoring flat mode (#25770) and allowing again to
sort packages by size (#25417)
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index 9be62aed..d1bcb9c3 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -51,6 +51,7 @@ our @EXPORT = qw( $dont_show_selections $mandrakeupdate_wanted_categories $max_info_in_descr + $mode $offered_to_add_sources $tree_flat $tree_mode @@ -148,7 +149,7 @@ my ($root) = grep { $_->[2] == 0 } list_passwd(); $ENV{HOME} = $> == 0 ? $root->[7] : $ENV{HOME} || '/root'; our $configfile = "$ENV{HOME}/.rpmdrake"; -our ($already_splashed, $changelog_first_config, $filter, $max_info_in_descr, $tree_flat, $tree_mode); +our ($already_splashed, $changelog_first_config, $filter, $max_info_in_descr, $mode, $tree_flat, $tree_mode); our ($mandrakeupdate_wanted_categories, $offered_to_add_sources, $no_confirmation); our %config = ( mandrakeupdate_wanted_categories => { var => \$mandrakeupdate_wanted_categories, default => [ qw(security) ] }, @@ -161,6 +162,7 @@ our %config = ( changelog_first_config => { var => \$changelog_first_config, default => [ 0 ] }, 'no-confirmation' => { var => \$no_confirmation, default => [ 0 ] }, filter => { var => \$filter, default => [ 'all' ] }, + mode => { var => \$mode, default => [ 'by_group' ] }, ); sub readconf() { |