aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-10-24 18:33:33 +0000
committerThierry Vignaud <tv@mandriva.org>2006-10-24 18:33:33 +0000
commit58de487e67675b55d13f46d7b6ec3856390847e4 (patch)
tree8b10dc059b59cf9e366476c9321c0e11d6c4d2a8
parent552f74f0b356238b7e30e0bca0dab62ff8cbc8a9 (diff)
downloadrpmdrake-58de487e67675b55d13f46d7b6ec3856390847e4.tar
rpmdrake-58de487e67675b55d13f46d7b6ec3856390847e4.tar.gz
rpmdrake-58de487e67675b55d13f46d7b6ec3856390847e4.tar.bz2
rpmdrake-58de487e67675b55d13f46d7b6ec3856390847e4.tar.xz
rpmdrake-58de487e67675b55d13f46d7b6ec3856390847e4.zip
do not show "importance" & "reason for update" fields for non update
packages when there's an(other package) update for it
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index ccfced06..a867eaba 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -667,7 +667,7 @@ package main;
sub format_pkg_simplifiedinfo {
my ($pkgs, $key, $urpm, $descriptions) = @_;
my ($name, $version) = split_fullname($key);
- my $update_descr = $descriptions->{$name}{pre};
+ my $update_descr = $pkgs->{$key}{pkg}->flag_upgrade && $descriptions->{$name}{pre};
my $s = ugtk2::markup_to_TextView_format(join("\n", format_header($name . ' - ' . $pkgs->{$key}{summary}) .
# workaround gtk+ bug where GtkTextView wronly limit embedded widget size to bigger line's width (#25533):
"\x{200b} \x{feff}" . (' ' x 120),