diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-08-21 22:22:41 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-08-21 22:22:41 +0000 |
commit | 11cf3c81e656704021e34a4772e3b027af8d7cac (patch) | |
tree | 05b431801efc15817ed093e5e73e1f01ee060f6f /lib/network | |
parent | f1e1024c53ea5c0c5c2632417f4f8f4838f6d8f7 (diff) | |
download | drakx-net-11cf3c81e656704021e34a4772e3b027af8d7cac.tar drakx-net-11cf3c81e656704021e34a4772e3b027af8d7cac.tar.gz drakx-net-11cf3c81e656704021e34a4772e3b027af8d7cac.tar.bz2 drakx-net-11cf3c81e656704021e34a4772e3b027af8d7cac.tar.xz drakx-net-11cf3c81e656704021e34a4772e3b027af8d7cac.zip |
move buttons on one row
Diffstat (limited to 'lib/network')
-rwxr-xr-x | lib/network/netcenter.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm index c96d932..521ee28 100755 --- a/lib/network/netcenter.pm +++ b/lib/network/netcenter.pm @@ -65,13 +65,14 @@ sub main { 0, gtknew('Label', padding => [ 2, 0 ]), 0, $cmanager->{gui}{labels}{interface} = gtknew('Label', alignment => [ 0, 0 ], text_markup => '<b>' . $_->get_interface . '</b>'), ]), - gtknew('HBox', children_loose => [ - gtknew('Label', padding => [ 5, 0 ]), - gtknew('VBox', spacing => 5, children_tight => [ + gtknew('HBox', children => [ + 0, gtknew('Label', padding => [ 5, 0 ]), + 1, gtknew('VBox', spacing => 5, children_tight => [ if_($cmanager->{gui}{show_networks}, gtknew('Label', text => N("Please select your network:"), alignment => [ 0, 0 ]), gtknew('Frame', shadow_type => 'in', child => $cmanager->{gui}{networks_list})), - gtknew('HButtonBox', spacing => 6, layout => 'end', children_loose => [ + gtknew('HBox', children => [ + 1, gtknew('HButtonBox', spacing => 6, layout => 'start', children_loose => [ ($cmanager->{gui}{show_networks} ? $cmanager->{gui}{buttons}{refresh} = gtknew('Button', text => N("Refresh"), @@ -87,8 +88,7 @@ sub main { image => gtknew('Image', file => 'configure-16'), clicked => sub { network::connection_manager::configure_connection($cmanager) }), ]), - gtknew('HButtonBox', spacing => 6, layout => 'end', children_loose => [ - $cmanager->{gui}{buttons}{connect_toggle} = + 0, $cmanager->{gui}{buttons}{connect_toggle} = gtknew('Button', image => gtknew('Image', file => 'activate-16'), clicked => sub { network::connection_manager::start_connection($cmanager) }), |