diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | Rpmdrake/gui.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -4,6 +4,8 @@ o do not garbage ~/.rpmdrake o fix --distrib o fix --distrib --mirrorlist +- rpmdrake: + o make "by update availability" view usable (#39461) Version 4.9.8 - 25 March 2008, Thierry Vignaud 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") |