aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 9763d4a6..d42602db 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -440,10 +440,9 @@ sub pkgs_provider {
);
foreach my $importance (qw(bugfix security normal)) {
$filter_methods{$importance} = sub {
- @filtered_pkgs = $h->{updates};
- @filtered_pkgs = { map { $_ => @filtered_pkgs->{$_} } grep {
+ @filtered_pkgs = grep {
my ($name, $_version) = split_fullname($_);
- $descriptions->{$name}{importance} eq $importance } @filtered_pkgs };
+ $descriptions->{$name}{importance} eq $importance } @{$h->{updates}};
};
}
$filter_methods{mandrake_choices} = $filter_methods{non_installed};