diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | Rpmdrake/gui.pm | 5 |
2 files changed, 4 insertions, 2 deletions
@@ -2,6 +2,7 @@ - rpmdrake: o fix view tooltip (#39694) o really make "by update availability" view usable (#39461) + o split out installed packages if any in "by update availability" view Version 4.9.11 - 1 April 2008, Thierry Vignaud diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index b8d79656..706c16df 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -876,8 +876,9 @@ or you already installed all of them.")); } elsif ($::mode->[0] eq 'by_presence') { _build_tree($elems, map { my $pkg = $pkgs->{$_->[0]}{pkg}; - [ $_->[0], $pkg->flag_installed && !$pkg->flag_skip - ? N("Upgradable") : N("Addable") ]; + [ $_->[0], $pkg->flag_installed ? + (!$pkg->flag_skip && $pkg->flag_upgrade ? N("Upgradable") : N("Installed")) + : N("Addable") ]; } $sortmethods{flat}->(@elems)); } else { _build_tree($elems, @elems); |