From cb3c84b944f50b00393442ac4ef9409c335c41d4 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 30 Aug 2007 16:15:57 +0000 Subject: (mainwindow) make it more readable --- Rpmdrake/edit_urpm_sources.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Rpmdrake/edit_urpm_sources.pm') diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm index 7514adf3..97fd0cdb 100755 --- a/Rpmdrake/edit_urpm_sources.pm +++ b/Rpmdrake/edit_urpm_sources.pm @@ -1093,7 +1093,11 @@ sub mainwindow() { ); } $list->clear; - $list->append_set($col{mainw}{is_enabled} => !$_->{ignore}, $col{mainw}{is_update} => ! !$_->{update}, $col{mainw}{name} => $_->{name}) foreach grep { ! $_->{external} } @{$urpm->{media}}; + foreach (grep { ! $_->{external} } @{$urpm->{media}}) { + $list->append_set($col{mainw}{is_enabled} => !$_->{ignore}, + $col{mainw}{is_update} => ! !$_->{update}, + $col{mainw}{name} => $_->{name}); + } $reorder_ok = 1; }; $reread_media->(); -- cgit v1.2.1