aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--Rpmdrake/gui.pm1
-rw-r--r--icons/state_backport.pngbin0 -> 966 bytes
3 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index de5c3564..c1d8ab39 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- rpmdrake:
+ o display backported packages with a different icon
+
Version 5.31 - 20 March 2012, Thierry Vignaud
- fix a rare crash when some packages are installed twice (mga#4972)
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')
diff --git a/icons/state_backport.png b/icons/state_backport.png
new file mode 100644
index 00000000..db11b94e
--- /dev/null
+++ b/icons/state_backport.png
Binary files differ