aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-20 19:52:58 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-20 19:52:58 +0000
commit6e1c3f46692061bf03dc37d47125818d29b2b957 (patch)
treedbc3c95437740147727ab483478a2f13dce50693 /Rpmdrake
parent28bf87e09235344d99fa728d8d144f680561ba33 (diff)
downloadrpmdrake-6e1c3f46692061bf03dc37d47125818d29b2b957.tar
rpmdrake-6e1c3f46692061bf03dc37d47125818d29b2b957.tar.gz
rpmdrake-6e1c3f46692061bf03dc37d47125818d29b2b957.tar.bz2
rpmdrake-6e1c3f46692061bf03dc37d47125818d29b2b957.tar.xz
rpmdrake-6e1c3f46692061bf03dc37d47125818d29b2b957.zip
(node_state) display backported packages with a different icon (which
the mirror of the to_delete icon in order to make clear that backports are dangerous)
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index c2be82c4..d197c645 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -385,6 +385,7 @@ sub node_state {
my $pkg = $pkgs->{$name};
my $urpm_obj = $pkg->{pkg};
return warn_if_no_pkg($name) if !$urpm_obj;
+ return 'backport' if $pkgs->{$name}{is_backport};
$pkg->{selected} ?
($urpm_obj->flag_installed ?
($urpm_obj->flag_upgrade ? 'to_install' : 'to_remove')