summaryrefslogtreecommitdiffstats
path: root/lib/network/netcenter.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-11-17 11:33:29 +0000
committerOlivier Blin <oblin@mandriva.com>2008-11-17 11:33:29 +0000
commit6561f523561235a9d8900bfbdbbada4465b90460 (patch)
tree576207d7f219ed6ed792caa11c06642bb7f8c70a /lib/network/netcenter.pm
parent49e2e5d60d3e9cbcfa1c4f7cb1f199f966d1965e (diff)
downloaddrakx-net-6561f523561235a9d8900bfbdbbada4465b90460.tar
drakx-net-6561f523561235a9d8900bfbdbbada4465b90460.tar.gz
drakx-net-6561f523561235a9d8900bfbdbbada4465b90460.tar.bz2
drakx-net-6561f523561235a9d8900bfbdbbada4465b90460.tar.xz
drakx-net-6561f523561235a9d8900bfbdbbada4465b90460.zip
simplify
Diffstat (limited to 'lib/network/netcenter.pm')
-rwxr-xr-xlib/network/netcenter.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index 5a642c0..c2d94ed 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -153,7 +153,7 @@ sub main {
$::isEmbedded ? () : (0, Gtk2::Banner->new($icon, $title)),
1, gtknew('ScrolledWindow', width => 600, height => $scrolled_height, shadow_type => 'none',
child => $managers_box = gtknew('VBox', spacing => 5, children_tight => [
- map_index { build_cmanager_box($cmanagers[$::i], $::i == 0) } @connections,
+ map_index { build_cmanager_box($_, $::i == 0) } @cmanagers,
])),
0, gtknew('HButtonBox', spacing => 6, layout => 'end', children_loose => [
gtknew('Button', text => N("Quit"), clicked => sub { Gtk2->main_quit }),