aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-24 16:14:20 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-24 16:14:20 +0000
commite1fa68f7b462d8bb4c3a222ec217e39678e3a5ab (patch)
tree7c5d331b3dbe431c75c64d5eda720be2ca5cf0a7 /Rpmdrake/gui.pm
parent749da7f388db2f6f37e2b238f34aa4b39384cb4a (diff)
downloadrpmdrake-e1fa68f7b462d8bb4c3a222ec217e39678e3a5ab.tar
rpmdrake-e1fa68f7b462d8bb4c3a222ec217e39678e3a5ab.tar.gz
rpmdrake-e1fa68f7b462d8bb4c3a222ec217e39678e3a5ab.tar.bz2
rpmdrake-e1fa68f7b462d8bb4c3a222ec217e39678e3a5ab.tar.xz
rpmdrake-e1fa68f7b462d8bb4c3a222ec217e39678e3a5ab.zip
(get_info) provide version to extract_header() thus fixing changelog
highlighting
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index bed4a9a0..43e2ba74 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);
}