From b1654ab7ba077966ded2c0f08f6b5dd62ec15338 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 21 Sep 2012 16:16:04 +0000 Subject: (get_info) provide version to extract_header() thus fixing changelog highlighting (backported from trunk) --- NEWS | 1 + Rpmdrake/gui.pm | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index cd29e2c2..223f9a0c 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ +- fix changelog highlighting - makes --merge-all-rpmnew option slight faster Version 5.34 - 13 May 2012, Pascal Terjan diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index 72428dea..f5c3677b 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -1041,7 +1041,8 @@ sub get_info { #- the package information hasn't been loaded. Instead of rescanning the media, just give up. exists $pkgs->{$key} or return [ [ N("Description not available for this package\n") ] ]; #- get the description if needed: - exists $pkgs->{$key}{description} or slow_func($widget, sub { extract_header($pkgs->{$key}, $urpm, 'info') }); + + exists $pkgs->{$key}{description} or slow_func($widget, sub { extract_header($pkgs->{$key}, $urpm, 'info', version_release($pkgs->{$key}{pkg})) }); format_pkg_simplifiedinfo($pkgs, $key, $urpm, $descriptions); } -- cgit v1.2.1