diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-24 16:53:05 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-24 16:53:05 +0000 |
commit | 5ef73364e0b9da03f38adbc9559de40e3ea3605b (patch) | |
tree | ed721ccaf132c71dc711337973e0aded23c2d3e8 /Rpmdrake/gui.pm | |
parent | 69af4368dbc69f579d0221b2d45135079ed42f61 (diff) | |
download | rpmdrake-5ef73364e0b9da03f38adbc9559de40e3ea3605b.tar rpmdrake-5ef73364e0b9da03f38adbc9559de40e3ea3605b.tar.gz rpmdrake-5ef73364e0b9da03f38adbc9559de40e3ea3605b.tar.bz2 rpmdrake-5ef73364e0b9da03f38adbc9559de40e3ea3605b.tar.xz rpmdrake-5ef73364e0b9da03f38adbc9559de40e3ea3605b.zip |
first attempt to provide a "Backports" view (it only looks at first disabled backport medium)
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r-- | Rpmdrake/gui.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index 56014e14..ea8177f3 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -408,6 +408,7 @@ sub pkgs_provider { my @pkgs = $options{pure_updates} ? () : (grep { my $p = $pkgs->{$_}; $p->{pkg} && !$p->{selected} && $p->{pkg}->flag_installed && $p->{pkg}->flag_upgrade } @{$h->{installable}}); @filtered_pkgs = @{$h->{updates}}, @pkgs; }, + backports => sub { @filtered_pkgs = @{$h->{backports}} }, ); foreach my $importance (qw(bugfix security normal)) { $filter_methods{$importance} = sub { |