aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-10 16:53:33 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-10 16:53:33 +0000
commite960261f9f6acc62c8d560b6010da396d9a4f390 (patch)
treeeef5d66456e0e40647912db56550dea38872b1a3 /Rpmdrake
parenta29fa866dbb7dfa41a18da4d636639fb39634b72 (diff)
downloadrpmdrake-e960261f9f6acc62c8d560b6010da396d9a4f390.tar
rpmdrake-e960261f9f6acc62c8d560b6010da396d9a4f390.tar.gz
rpmdrake-e960261f9f6acc62c8d560b6010da396d9a4f390.tar.bz2
rpmdrake-e960261f9f6acc62c8d560b6010da396d9a4f390.tar.xz
rpmdrake-e960261f9f6acc62c8d560b6010da396d9a4f390.zip
(get_summary) simplify (since perl-URPM-1.56, perl knows that strings from rpm
headers are UTF-8)
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 6cf047f9..102b88be 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -71,7 +71,7 @@ sub compute_main_window_size {
sub get_summary {
my ($key) = @_;
- my $summary = translate(to_utf8($pkgs->{$key}{summary}));
+ my $summary = translate($pkgs->{$key}{summary});
utf8::valid($summary) ? $summary : ();
}