diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-05 14:39:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-05 14:39:47 +0000 |
commit | 6ebccbefb748953cc52b48ec44d38c3078555b13 (patch) | |
tree | b3f9e112c6cba37ab36af13fd7c992eca6333fff | |
parent | c325ba0b3c587aa4d94dbfa023702d1f4e34ac96 (diff) | |
download | rpmdrake-6ebccbefb748953cc52b48ec44d38c3078555b13.tar rpmdrake-6ebccbefb748953cc52b48ec44d38c3078555b13.tar.gz rpmdrake-6ebccbefb748953cc52b48ec44d38c3078555b13.tar.bz2 rpmdrake-6ebccbefb748953cc52b48ec44d38c3078555b13.tar.xz rpmdrake-6ebccbefb748953cc52b48ec44d38c3078555b13.zip |
fix crash (#38514) due to not having commited all bits of 'remember state of
"Show automatically selected packages" (#38138)'
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | rpmdrake.pm | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- fix crash (#38545) due to not having commited all bits of 'remember + state of "Show automatically selected packages" (#38138)' - rpmdrake: o do not reset search field diff --git a/rpmdrake.pm b/rpmdrake.pm index 527d40b1..021aa366 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -86,7 +86,7 @@ our @EXPORT = qw( ); our $typical_width = 280; -our $dont_show_selections = $> ? 1 : 0; +our $dont_show_selections; # i18n: IMPORTANT: to get correct namespace (rpmdrake instead of libDrakX) BEGIN { unshift @::textdomains, qw(rpmdrake urpmi rpm-summary-main rpm-summary-contrib rpm-summary-devel) } @@ -151,6 +151,7 @@ our ($mandrakeupdate_wanted_categories, $offered_to_add_sources, $no_confirmatio our %config = ( mandrakeupdate_wanted_categories => { var => \$mandrakeupdate_wanted_categories, default => [ qw(security) ] }, already_splashed => { var => \$already_splashed, default => [] }, + dont_show_selections => { var => \$dont_show_selections, default => [ $> ? 1 : 0 ] }, max_info_in_descr => { var => \$max_info_in_descr, default => [] }, offered_to_add_sources => { var => \$offered_to_add_sources, default => [ 0 ] }, tree_mode => { var => \$tree_mode, default => [ qw(gui_pkgs) ] }, |