aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm5
1 files changed, 3 insertions, 2 deletions
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);