diff options
Diffstat (limited to 'lib/network/netcenter.pm')
-rwxr-xr-x | lib/network/netcenter.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm index cdbaf9f..1dcf270 100755 --- a/lib/network/netcenter.pm +++ b/lib/network/netcenter.pm @@ -84,7 +84,10 @@ sub main { gtkset_image(gtknew('Button', clicked => sub { network::connection_manager::stop_connection($cmanager); }), 'disconnected'), - gtkset_image(gtknew('Button'), 'monitor-24'), + $cmanager->{gui}{buttons}{monitor} = + gtkset_image(gtknew('Button', clicked => sub { + network::connection_manager::monitor_connection($cmanager); + }), 'monitor-24'), $cmanager->{gui}{buttons}{configure} = gtkset_image(gtknew('Button', clicked => sub { network::connection_manager::configure_connection($cmanager); |