From 60f8c669cc7a77c6eba3ae525c4d0c5b323cf2e2 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 21 Sep 2012 16:16:31 +0000 Subject: (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" (backported from trunk) --- Rpmdrake/gui.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index a7ee887d..6c40f606 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -1043,7 +1043,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); } -- cgit v1.2.1