diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-20 19:52:14 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-20 19:52:14 +0000 |
commit | 29a0cf3b022e2ae3e00a229620ffe373a9f5431b (patch) | |
tree | a1a9db380be69f0ecb4190a2d73df530600a681d | |
parent | e2e3418729b8b43399329554173819688997487f (diff) | |
download | rpmdrake-29a0cf3b022e2ae3e00a229620ffe373a9f5431b.tar rpmdrake-29a0cf3b022e2ae3e00a229620ffe373a9f5431b.tar.gz rpmdrake-29a0cf3b022e2ae3e00a229620ffe373a9f5431b.tar.bz2 rpmdrake-29a0cf3b022e2ae3e00a229620ffe373a9f5431b.tar.xz rpmdrake-29a0cf3b022e2ae3e00a229620ffe373a9f5431b.zip |
(refresh_packages_list) filter earlier
-rwxr-xr-x | MageiaUpdate | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MageiaUpdate b/MageiaUpdate index e3aba283..91b6de99 100755 --- a/MageiaUpdate +++ b/MageiaUpdate @@ -73,7 +73,7 @@ my %icons_cache; sub refresh_packages_list { my ($list, $info, $button) = @_; # select packages to update: - my @requested = sort @filtered_pkgs; + my @requested = sort grep { $pkgs->{$_}{pkg} } @filtered_pkgs; # don't select packages in skip list: if (!$initialized) { @@ -97,7 +97,7 @@ sub refresh_packages_list { $icon = $icons_cache{$importance} ||= gtknew('Pixbuf', file => $update_icons{$importance}); } [ $icon, $pkgs->{$_}{selected}, $_, format_name_n_summary($name, $summary), $version, $release, $arch, $importance ]; - } grep { $pkgs->{$_}{pkg} } @requested; + } @requested; gtktext_insert($info, formatAlaTeX(N("The list of updates is empty. This means that either there is no available update for the packages installed on your computer, |