diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-28 13:07:39 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-28 13:07:39 +0000 |
commit | 5404e79e4b0dab6612b00913db07e06f3637524f (patch) | |
tree | 7b54928ee095ecc3345f653cb56a441955747260 /Rpmdrake | |
parent | 4fc15eb76839b06c6e40ca57fef33843ad2f2c2f (diff) | |
download | rpmdrake-5404e79e4b0dab6612b00913db07e06f3637524f.tar rpmdrake-5404e79e4b0dab6612b00913db07e06f3637524f.tar.gz rpmdrake-5404e79e4b0dab6612b00913db07e06f3637524f.tar.bz2 rpmdrake-5404e79e4b0dab6612b00913db07e06f3637524f.tar.xz rpmdrake-5404e79e4b0dab6612b00913db07e06f3637524f.zip |
make "by update availability" view usable (#39461)
Diffstat (limited to 'Rpmdrake')
-rw-r--r-- | Rpmdrake/gui.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index 2a54f880..e81017c3 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -872,7 +872,7 @@ or you already installed all of them.")); _build_tree($elems, $sortmethods{by_medium}->(map { my $m = pkg2medium($pkgs->{$_->[0]}{pkg}, $urpm); [ $_->[0], $m->{name}, $m->{priority} ]; } @elems)); - } elsif ($mode eq 'by_presence') { + } elsif ($::mode->[0] eq 'by_presence') { add_node( $_->[0], $pkgs->{$_->[0]}{pkg}->flag_installed && !$pkgs->{$_->[0]}{pkg}->flag_skip ? N("Upgradable") : N("Addable") |