diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-09-21 16:16:04 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-09-21 16:16:04 +0000 |
commit | b1654ab7ba077966ded2c0f08f6b5dd62ec15338 (patch) | |
tree | dc896d5bcf3e54c9c58ac4e2b2bf5e014dea85f9 | |
parent | 066e87f60a7bc056a84c89739f4093b081b76dd7 (diff) | |
download | rpmdrake-b1654ab7ba077966ded2c0f08f6b5dd62ec15338.tar rpmdrake-b1654ab7ba077966ded2c0f08f6b5dd62ec15338.tar.gz rpmdrake-b1654ab7ba077966ded2c0f08f6b5dd62ec15338.tar.bz2 rpmdrake-b1654ab7ba077966ded2c0f08f6b5dd62ec15338.tar.xz rpmdrake-b1654ab7ba077966ded2c0f08f6b5dd62ec15338.zip |
(get_info) provide version to extract_header() thus fixing changelog highlighting
(backported from trunk)
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | Rpmdrake/gui.pm | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -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); } |