From 77238a534b13b4804da5f3412c3741dd51914fa5 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 20 Sep 2012 21:03:56 +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" --- NEWS | 1 + Rpmdrake/gui.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 5a1bc4f6..b156eb33 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,5 @@ - fix deselecting updates when clicking on "New dependancies" +- fix changelog highlighting - rpmdrake: o make failing to open RPM DB non fatal when reseting selection (mga#7352) 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); } -- cgit v1.2.1