aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--NEWS1
-rw-r--r--Rpmdrake/gui.pm3
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 65cf3cba..10c29ddd 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- display package basenames when signature checking fails
+- 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 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);
}