diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-19 10:00:44 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-19 10:00:44 +0000 |
commit | 069a389aa44434907f413203adcf31bcf0243f35 (patch) | |
tree | 7adfe0937b062574b449d49388153f4513d5c6b6 /MandrivaUpdate | |
parent | a2f35729e471f7af9cc2b73d98626870b09bbf15 (diff) | |
download | rpmdrake-069a389aa44434907f413203adcf31bcf0243f35.tar rpmdrake-069a389aa44434907f413203adcf31bcf0243f35.tar.gz rpmdrake-069a389aa44434907f413203adcf31bcf0243f35.tar.bz2 rpmdrake-069a389aa44434907f413203adcf31bcf0243f35.tar.xz rpmdrake-069a389aa44434907f413203adcf31bcf0243f35.zip |
(refresh_packages_list) simplify now that perl-URPM always return UTF-8
Diffstat (limited to 'MandrivaUpdate')
-rwxr-xr-x | MandrivaUpdate | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate index 14f6caeb..32468741 100755 --- a/MandrivaUpdate +++ b/MandrivaUpdate @@ -74,9 +74,8 @@ sub refresh_packages_list { my $i; @{$list->{data}} = map { $data{$_} = $i++; - my $summary = translate(to_utf8($pkgs->{$_}{pkg}->summary)); - [ $pkgs->{$_}{selected}, join("\n", "<b>$_</b>", - utf8::valid($summary) ? escape_text_for_TextView_markup_format($summary) : '') ]; + my $summary = translate($pkgs->{$_}{pkg}->summary); + [ $pkgs->{$_}{selected}, join("\n", "<b>$_</b>", escape_text_for_TextView_markup_format($summary) ]; } grep { $pkgs->{$_}{pkg} } @requested; gtktext_insert($info, formatAlaTeX(N("The list of updates is empty. This means that either there is |