summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-09 20:17:21 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-09 20:17:21 +0000
commit1e81087c28bab739ec1c28e4072ceb0d9889b375 (patch)
tree82c037ef5ee238a461d6a884f4dcef9a150b8647
parente01abe24d233f3feb3dd7f699bab6371585a745c (diff)
downloaddrakx-net-1e81087c28bab739ec1c28e4072ceb0d9889b375.tar
drakx-net-1e81087c28bab739ec1c28e4072ceb0d9889b375.tar.gz
drakx-net-1e81087c28bab739ec1c28e4072ceb0d9889b375.tar.bz2
drakx-net-1e81087c28bab739ec1c28e4072ceb0d9889b375.tar.xz
drakx-net-1e81087c28bab739ec1c28e4072ceb0d9889b375.zip
rename update_on_network_change as update_on_status_change (we do not necessarily have multiple networks)
-rw-r--r--lib/network/connection_manager.pm10
-rwxr-xr-xlib/network/netcenter.pm2
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index d8d9c80..81a5a20 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -135,7 +135,7 @@ sub start_connection {
gtkset_mousecursor_normal($cmanager->{gui}{w}{window}->window);
}
- update_on_network_change($cmanager);
+ update_on_status_change($cmanager);
}
sub stop_connection {
@@ -146,7 +146,7 @@ sub stop_connection {
$cmanager->{connection}->disconnect;
gtkset_mousecursor_normal($cmanager->{gui}{w}{window}->window);
- update_on_network_change($cmanager);
+ update_on_status_change($cmanager);
}
sub toggle_would_disconnect {
@@ -200,7 +200,7 @@ sub select_network {
my ($selected) = $droam->{gui}{networks_list}->get_selected_indices;
$droam->{connection}{network} = defined $selected && $droam->{gui}{networks_list}{data}[$selected][0];
}
- update_on_network_change($droam);
+ update_on_status_change($droam);
}
sub update_networks {
@@ -238,10 +238,10 @@ sub update_networks {
}
}
- update_on_network_change($cmanager);
+ update_on_status_change($cmanager);
}
-sub update_on_network_change {
+sub update_on_status_change {
my ($cmanager) = @_;
if ($cmanager->{gui}{buttons}{connect_toggle}) {
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index c9855f1..25cd088 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -102,7 +102,7 @@ sub main {
]),
]),
]);
- network::connection_manager::update_on_network_change($cmanager);
+ network::connection_manager::update_on_status_change($cmanager);
$box;
} @connections,
])),