summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlib/network/netcenter.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index 285d3e0..872f046 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -147,11 +147,12 @@ sub main {
(undef, my $rootwin_height) = gtkroot()->get_size;
my $scrolled_height = $rootwin_height > 480 ? 400 : 295;
+ my $managers_box;
gtkadd($w->{window},
gtknew('VBox', spacing => 5, children => [
$::isEmbedded ? () : (0, Gtk2::Banner->new($icon, $title)),
1, gtknew('ScrolledWindow', width => 600, height => $scrolled_height, shadow_type => 'none',
- child => gtknew('VBox', spacing => 5, children_tight => [
+ child => $managers_box = gtknew('VBox', spacing => 5, children_tight => [
map_index { build_cmanager_box($cmanagers[$::i], $::i == 0) } @connections,
])),
0, gtknew('HButtonBox', spacing => 6, layout => 'end', children_loose => [