diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-09-21 16:16:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-09-21 16:16:31 +0000 |
commit | 60f8c669cc7a77c6eba3ae525c4d0c5b323cf2e2 (patch) | |
tree | f4526a17e30f8ff67dd537d4406a892ab3b40027 | |
parent | c550c7c77786fd77e5f3fc88941945d75bd083fd (diff) | |
download | rpmdrake-60f8c669cc7a77c6eba3ae525c4d0c5b323cf2e2.tar rpmdrake-60f8c669cc7a77c6eba3ae525c4d0c5b323cf2e2.tar.gz rpmdrake-60f8c669cc7a77c6eba3ae525c4d0c5b323cf2e2.tar.bz2 rpmdrake-60f8c669cc7a77c6eba3ae525c4d0c5b323cf2e2.tar.xz rpmdrake-60f8c669cc7a77c6eba3ae525c4d0c5b323cf2e2.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"
(backported from trunk)
-rw-r--r-- | Rpmdrake/gui.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |