diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-02-22 16:53:19 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-02-22 16:53:19 +0000 |
commit | 83cc25e1b135599cc16a6fa4b7079725d4808297 (patch) | |
tree | a5c4b86d57646b6a6fad708a9a6c325c38e1b03e | |
parent | a8ed36109e0ef7e183b020c4ca2d2694d51414fb (diff) | |
download | rpmdrake-83cc25e1b135599cc16a6fa4b7079725d4808297.tar rpmdrake-83cc25e1b135599cc16a6fa4b7079725d4808297.tar.gz rpmdrake-83cc25e1b135599cc16a6fa4b7079725d4808297.tar.bz2 rpmdrake-83cc25e1b135599cc16a6fa4b7079725d4808297.tar.xz rpmdrake-83cc25e1b135599cc16a6fa4b7079725d4808297.zip |
backport horrible selection bug fix
-rwxr-xr-x | rpmdrake | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -775,10 +775,10 @@ sub run_treeview_dialog { non_installed => sub { $pkgs = $h->{installable} }, #mandrake_choices => sub { $pkgs = }, all_updates => sub { - my %pkgs = grep { my $p = $h->{installable}{$_}; $p->{pkg} && !$p->{selected} && $p->{pkg}->flag_installed && $p->{pkg}->flag_upgrade } keys %{$h->{installable}}; + my @pkgs = grep { my $p = $h->{installable}{$_}; $p->{pkg} && !$p->{selected} && $p->{pkg}->flag_installed && $p->{pkg}->flag_upgrade } keys %{$h->{installable}}; $pkgs = { (map { $_ => $h->{updates}->{$_} } keys %{$h->{updates}}), - (map { $_ => $h->{installable}{$_} } keys %pkgs) + (map { $_ => $h->{installable}{$_} } @pkgs) }; }, #security => sub { $pkgs = }, |