aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-27 17:16:43 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-27 17:16:43 +0000
commit5d61e9a8a6613954e36bc49e548e0c83f445f11f (patch)
tree7e76723b3aa323f2ac36ccce0c252146dc9bd109 /Rpmdrake/gui.pm
parent1bb5d5af1875a645d67c7272328ab0799a9015e4 (diff)
downloadrpmdrake-5d61e9a8a6613954e36bc49e548e0c83f445f11f.tar
rpmdrake-5d61e9a8a6613954e36bc49e548e0c83f445f11f.tar.gz
rpmdrake-5d61e9a8a6613954e36bc49e548e0c83f445f11f.tar.bz2
rpmdrake-5d61e9a8a6613954e36bc49e548e0c83f445f11f.tar.xz
rpmdrake-5d61e9a8a6613954e36bc49e548e0c83f445f11f.zip
(get_summary) do not bother caching summary
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 95d90df1..9dcb3bf4 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -103,8 +103,7 @@ sub compute_main_window_size {
sub get_summary {
my ($key) = @_;
- $pkgs->{$key}{summary} ||= $pkgs->{$key}{pkg}->summary;
- my $summary = translate($pkgs->{$key}{summary});
+ my $summary = translate($pkgs->{$key}{pkg}->summary);
require utf8;
utf8::valid($summary) ? $summary : @{[]};
}
@@ -342,7 +341,7 @@ sub format_pkg_info {
),
@source_info,
'', # extra empty line
- format_field(N("Summary: ")) . $pkg->{summary},
+ format_field(N("Summary: ")) . $upkg->summary,
'', # extra empty line
if_(
$MODE eq 'update',