summaryrefslogtreecommitdiffstats
path: root/lib/network/netcenter.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-11-17 11:31:46 +0000
committerOlivier Blin <oblin@mandriva.com>2008-11-17 11:31:46 +0000
commit4167145c9ad86262e2024fd23f04f7de06f09025 (patch)
tree0bc86121c19d544be3bc77de0ee9313e85299c65 /lib/network/netcenter.pm
parent765bccebb7ac1efc08549b6a191f1ac66529cd18 (diff)
downloaddrakx-net-4167145c9ad86262e2024fd23f04f7de06f09025.tar
drakx-net-4167145c9ad86262e2024fd23f04f7de06f09025.tar.gz
drakx-net-4167145c9ad86262e2024fd23f04f7de06f09025.tar.bz2
drakx-net-4167145c9ad86262e2024fd23f04f7de06f09025.tar.xz
drakx-net-4167145c9ad86262e2024fd23f04f7de06f09025.zip
keep track of main managers box (to add more managers on hotplugging)
Diffstat (limited to 'lib/network/netcenter.pm')
-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 => [