From 7563f6886286407e8c709ae69ef5b1c922ce77ab Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 19 Sep 2007 10:03:59 +0000 Subject: reuse get_summary() --- MandrivaUpdate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MandrivaUpdate') diff --git a/MandrivaUpdate b/MandrivaUpdate index 6150846a..b8e7762f 100755 --- a/MandrivaUpdate +++ b/MandrivaUpdate @@ -74,7 +74,7 @@ sub refresh_packages_list { my $i; @{$list->{data}} = map { $data{$_} = $i++; - my $summary = translate($pkgs->{$_}{pkg}->summary); + my $summary = get_summary($_); [ $pkgs->{$_}{selected}, format_name_n_summary($_, $summary) ]; } grep { $pkgs->{$_}{pkg} } @requested; gtktext_insert($info, -- cgit v1.2.1