aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 2ecdc21b..29724779 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -647,12 +647,9 @@ sub pkgs_provider {
installed => $h->{installed},
all => [ keys %$pkgs ],
);
- #anaselli NOTE $all_pkgs contains only latest updates, not all of them.
- # Moreover only if backports are enabled those are offered,
- # so non needs to remove inactive_backports from all packages
my %tmp_filter_methods = (
all => sub {
- [ keys %$pkgs ];
+ [ difference2([ keys %$pkgs ], $h->{inactive_backports}) ];
},
all_updates => sub {
# potential "updates" from media not tagged as updates: