diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-30 16:15:57 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-30 16:15:57 +0000 |
commit | cb3c84b944f50b00393442ac4ef9409c335c41d4 (patch) | |
tree | 3e7fa7b1895d84ff899238da52ff6e2b44a1472a /Rpmdrake/edit_urpm_sources.pm | |
parent | 12900aad62ef0135dd620043bd61274a9b331c73 (diff) | |
download | rpmdrake-cb3c84b944f50b00393442ac4ef9409c335c41d4.tar rpmdrake-cb3c84b944f50b00393442ac4ef9409c335c41d4.tar.gz rpmdrake-cb3c84b944f50b00393442ac4ef9409c335c41d4.tar.bz2 rpmdrake-cb3c84b944f50b00393442ac4ef9409c335c41d4.tar.xz rpmdrake-cb3c84b944f50b00393442ac4ef9409c335c41d4.zip |
(mainwindow) make it more readable
Diffstat (limited to 'Rpmdrake/edit_urpm_sources.pm')
-rwxr-xr-x | Rpmdrake/edit_urpm_sources.pm | 6 |
1 files changed, 5 insertions, 1 deletions
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->(); |