summaryrefslogtreecommitdiffstats
path: root/lib/network/netcenter.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-03 12:58:08 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-03 12:58:08 +0000
commit7e5e45a9ca2a53232665d31dd58d915bd7cf5700 (patch)
tree18bcec24b7d44a76c68192a0bda393882e4a200d /lib/network/netcenter.pm
parent10a186916e192edbf76a8964951cb8bfe1c29bb2 (diff)
downloaddrakx-net-7e5e45a9ca2a53232665d31dd58d915bd7cf5700.tar
drakx-net-7e5e45a9ca2a53232665d31dd58d915bd7cf5700.tar.gz
drakx-net-7e5e45a9ca2a53232665d31dd58d915bd7cf5700.tar.bz2
drakx-net-7e5e45a9ca2a53232665d31dd58d915bd7cf5700.tar.xz
drakx-net-7e5e45a9ca2a53232665d31dd58d915bd7cf5700.zip
re-organize boxes
Diffstat (limited to 'lib/network/netcenter.pm')
-rwxr-xr-xlib/network/netcenter.pm30
1 files changed, 17 insertions, 13 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index 46c54d9..3a16d90 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -102,22 +102,26 @@ sub main() {
$::isEmbedded ? () : (0, Gtk2::Banner->new($icon, $title)),
1, gtknew('ScrolledWindow', width => 500, height => 300, child => gtknew('VBox', spacing => 5, children_tight => [
map {
- gtknew('VBox', children_tight => [
- gtknew('HBox', children_tight => [
- gtknew('Image', file => $_->get_type_icon),
+ gtknew('HBox', children_tight => [
+ gtknew('Image', file => $_->get_type_icon),
+ gtknew('VBox', children_tight => [
$_->get_description,
- ]),
- gtknew('HBox', children => [
- 0, gtknew('Label', padding => [ 20, 0 ]),
- 0, gtknew('VBox', children_tight => [
- gtknew('HBox', children_tight => [
- gtkset_image(gtknew('Button'), 'connected'),
- gtkset_image(gtknew('Button'), 'monitor-24'),
- gtkset_image(gtknew('Button'), 'configure-24'),
- ($_->can('get_networks') ? (0, gtkset_image(gtknew('Button'), 'refresh')) : ()),
+ gtknew('HBox', children_tight => [
+ gtknew('Label', padding => [ 20, 0 ]),
+ gtknew('VBox', children_tight => [
+ ($_->can('get_networks') && !$_->network_scan_is_slow ? (build_networks_list($_)) : ()),
+ gtknew('HBox', children_tight => [
+ gtknew('VBox', children_tight => [
+ gtknew('HButtonBox', children_tight => [
+ gtkset_image(gtknew('Button'), 'connected'),
+ gtkset_image(gtknew('Button'), 'monitor-24'),
+ gtkset_image(gtknew('Button'), 'configure-24'),
+ ($_->can('get_networks') ? (0, gtkset_image(gtknew('Button'), 'refresh')) : ()),
+ ]),
+ ]),
+ ]),
]),
]),
- ($_->can('get_networks') && !$_->network_scan_is_slow ? (1, build_networks_list($_)) : ()),
]),
]);
} @connections,