From d80d3abee605d1fe8a091df4fa52af900c4045f1 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 24 Feb 2010 05:47:49 +0000 Subject: (mainwindow) fix crashing when deleting media with UTF-8 characters (#57644) --- NEWS | 3 +++ Rpmdrake/edit_urpm_sources.pm | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index c9ea6f5f..87991b6c 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +- edit-urpm-sources: + o fix crashing when deleting media with UTF-8 characters (#57644) + Version 5.24 - 3 December 2009, Thierry Vignaud - remove --root option that was deprecated since August 2007 diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm index d23190f4..5d3f01ab 100644 --- a/Rpmdrake/edit_urpm_sources.pm +++ b/Rpmdrake/edit_urpm_sources.pm @@ -1112,7 +1112,6 @@ sub mainwindow() { $list->clear; foreach (grep { ! $_->{external} } @{$urpm->{media}}) { my $name = $_->{name}; - c::set_tagged_utf8($name) if utf8::valid($name); $list->append_set($col{mainw}{is_enabled} => !$_->{ignore}, $col{mainw}{is_update} => ! !$_->{update}, $col{mainw}{type} => get_medium_type($_), -- cgit v1.2.1