aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-20 21:03:56 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-20 21:03:56 +0000
commit77238a534b13b4804da5f3412c3741dd51914fa5 (patch)
treea5eb2b635537517f9639d1bc20d8eee7be485c5c /Rpmdrake
parentf106bb914a689f1875314250cb61b194f84dd644 (diff)
downloadrpmdrake-77238a534b13b4804da5f3412c3741dd51914fa5.tar
rpmdrake-77238a534b13b4804da5f3412c3741dd51914fa5.tar.gz
rpmdrake-77238a534b13b4804da5f3412c3741dd51914fa5.tar.bz2
rpmdrake-77238a534b13b4804da5f3412c3741dd51914fa5.tar.xz
rpmdrake-77238a534b13b4804da5f3412c3741dd51914fa5.zip
(get_info) fix provided installed version for comparing
we were providing the version of the package we were looking at... "bug" introduced in commit r5401 on 2012-08-24: "(get_info) provide version to extract_header() thus fixing changelog highlighting"
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 4b0ba0c5..ae13844d 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -1045,7 +1045,7 @@ sub get_info {
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', version_release($pkgs->{$key}{pkg})) });
+ exists $pkgs->{$key}{description} or slow_func($widget, sub { extract_header($pkgs->{$key}, $urpm, 'info', find_installed_version($pkgs->{$key}{pkg})) });
format_pkg_simplifiedinfo($pkgs, $key, $urpm, $descriptions);
}