summaryrefslogtreecommitdiffstats
path: root/lib/network/netcenter.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-10 17:17:55 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-10 17:17:55 +0000
commit2ff101f8b83626f953e1fc6164089b7fa9671298 (patch)
treeeb6c1c77844448d351eecda7f3b19174f8a424f7 /lib/network/netcenter.pm
parenta7d2e9bc198c57f739c24a241c3893e0c5ba6495 (diff)
downloaddrakx-net-2ff101f8b83626f953e1fc6164089b7fa9671298.tar
drakx-net-2ff101f8b83626f953e1fc6164089b7fa9671298.tar.gz
drakx-net-2ff101f8b83626f953e1fc6164089b7fa9671298.tar.bz2
drakx-net-2ff101f8b83626f953e1fc6164089b7fa9671298.tar.xz
drakx-net-2ff101f8b83626f953e1fc6164089b7fa9671298.zip
run net_monitor when configure button is clicked
Diffstat (limited to 'lib/network/netcenter.pm')
-rwxr-xr-xlib/network/netcenter.pm5
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);