diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-08-21 23:33:19 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-08-21 23:33:19 +0000 |
commit | 4fa3eb245975f986804c9a207754e7e5ccf13ec0 (patch) | |
tree | 5c54966b811549aba77a70a815414e5a1ceeddc5 /lib/network/netcenter.pm | |
parent | bcc42a7d853f1875fc80b62938fb7eb71586aef8 (diff) | |
download | drakx-net-4fa3eb245975f986804c9a207754e7e5ccf13ec0.tar drakx-net-4fa3eb245975f986804c9a207754e7e5ccf13ec0.tar.gz drakx-net-4fa3eb245975f986804c9a207754e7e5ccf13ec0.tar.bz2 drakx-net-4fa3eb245975f986804c9a207754e7e5ccf13ec0.tar.xz drakx-net-4fa3eb245975f986804c9a207754e7e5ccf13ec0.zip |
move refresh button to be consistent
Diffstat (limited to 'lib/network/netcenter.pm')
-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 2e6ad50..321ba49 100755 --- a/lib/network/netcenter.pm +++ b/lib/network/netcenter.pm @@ -72,12 +72,6 @@ sub main { gtknew('Frame', shadow_type => 'in', child => $cmanager->{gui}{networks_list})), 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"), - image => gtknew('Image', file => 'refresh', size => 16), - clicked => sub { network::connection_manager::update_networks($cmanager) }) - : ()), $cmanager->{gui}{buttons}{monitor} = gtknew('Button', text => N("Monitor"), image => gtknew('Image', file => 'monitor-16'), @@ -86,6 +80,12 @@ sub main { gtknew('Button', text => N("Configure"), image => gtknew('Image', file => 'configure-16'), clicked => sub { network::connection_manager::configure_connection($cmanager) }), + ($cmanager->{gui}{show_networks} ? + $cmanager->{gui}{buttons}{refresh} = + gtknew('Button', text => N("Refresh"), + image => gtknew('Image', file => 'refresh', size => 16), + clicked => sub { network::connection_manager::update_networks($cmanager) }) + : ()), ]), 0, $cmanager->{gui}{buttons}{connect_toggle} = gtknew('Button', |