diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-08-20 16:44:08 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-08-20 16:44:08 +0000 |
commit | 106b497b540e42c47ba9815fdbac0dc217bda50e (patch) | |
tree | bdc35b321f363ed9bc06af886f542b36b23f0240 | |
parent | 96d6166b8564b452ebea67d2165ead4969607b49 (diff) | |
download | drakx-net-106b497b540e42c47ba9815fdbac0dc217bda50e.tar drakx-net-106b497b540e42c47ba9815fdbac0dc217bda50e.tar.gz drakx-net-106b497b540e42c47ba9815fdbac0dc217bda50e.tar.bz2 drakx-net-106b497b540e42c47ba9815fdbac0dc217bda50e.tar.xz drakx-net-106b497b540e42c47ba9815fdbac0dc217bda50e.zip |
move refresh button on the left to have a consistent look
-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 7de6049..0f07c73 100755 --- a/lib/network/netcenter.pm +++ b/lib/network/netcenter.pm @@ -76,6 +76,12 @@ sub main { gtknew('VBox', spacing => 5, children_tight => [ if_($cmanager->{gui}{show_networks}, $cmanager->{gui}{networks_list}), gtknew('HButtonBox', layout => 'end', children_loose => [ + ($cmanager->{gui}{show_networks} ? + $cmanager->{gui}{buttons}{refresh} = + gtkset_image(gtknew('Button', text => N("Refresh"), clicked => sub { + network::connection_manager::update_networks($cmanager); + }), 'refresh', 16) + : ()), $cmanager->{gui}{buttons}{monitor} = gtkset_image(gtknew('Button', text => N("Monitor"), clicked => sub { network::connection_manager::monitor_connection($cmanager); @@ -84,12 +90,6 @@ sub main { gtkset_image(gtknew('Button', text => N("Configure"), clicked => sub { network::connection_manager::configure_connection($cmanager); }), 'configure-16'), - ($cmanager->{gui}{show_networks} ? - $cmanager->{gui}{buttons}{refresh} = - gtkset_image(gtknew('Button', text => N("Refresh"), clicked => sub { - network::connection_manager::update_networks($cmanager); - }), 'refresh', 16) - : ()), ]), gtknew('HButtonBox', layout => 'end', children_loose => [ $cmanager->{gui}{buttons}{connect_toggle} = |