summaryrefslogtreecommitdiffstats
path: root/lib/network/netcenter.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network/netcenter.pm')
-rwxr-xr-xlib/network/netcenter.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index 242e8f7..bb1c8e1 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -92,7 +92,7 @@ sub main {
0, $cmanager->{gui}{buttons}{connect_toggle} =
gtknew('Button',
image => gtknew('Image', file => 'activate-16'),
- clicked => sub { network::connection_manager::start_connection($cmanager) }),
+ clicked => sub { network::connection_manager::toggle_connection($cmanager) }),
]),
]),
]);