aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorAngelo Naselli <angelo.naselli@softeco.it>2014-05-15 16:32:17 +0200
committerAngelo Naselli <angelo.naselli@softeco.it>2014-05-15 16:32:17 +0200
commit5b24d6f61e17bffc2c9283a65100a29d6a05e586 (patch)
tree91e61d8b26a49a537af5250fe169bf25eea9bc7f /Rpmdrake/gui.pm
parentae2c25a96da3c90e24815dcd090c220685955a20 (diff)
downloadrpmdrake-5b24d6f61e17bffc2c9283a65100a29d6a05e586.tar
rpmdrake-5b24d6f61e17bffc2c9283a65100a29d6a05e586.tar.gz
rpmdrake-5b24d6f61e17bffc2c9283a65100a29d6a05e586.tar.bz2
rpmdrake-5b24d6f61e17bffc2c9283a65100a29d6a05e586.tar.xz
rpmdrake-5b24d6f61e17bffc2c9283a65100a29d6a05e586.zip
package list contains only latest updates, not all, so
filters and backport list have been managed accordingly (fix mga#12766)
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 29724779..2ecdc21b 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -647,9 +647,12 @@ 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 {
- [ difference2([ keys %$pkgs ], $h->{inactive_backports}) ];
+ [ keys %$pkgs ];
},
all_updates => sub {
# potential "updates" from media not tagged as updates: