summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network')
-rw-r--r--lib/network/connection_manager.pm2
-rwxr-xr-xlib/network/drakroam.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index beebf45..e7a8401 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -33,7 +33,7 @@ sub create {
{ in => $in, net => $net, gui => { w => $w, pixbufs => $pixbufs } };
}
-sub prepare_connection {
+sub setup_connection {
my ($cmanager) = @_;
my @packages = $cmanager->{connection}->can('get_packages') ? $cmanager->{connection}->get_packages : ();
diff --git a/lib/network/drakroam.pm b/lib/network/drakroam.pm
index 6c704f4..fabc850 100755
--- a/lib/network/drakroam.pm
+++ b/lib/network/drakroam.pm
@@ -39,7 +39,7 @@ sub select_connection {
my ($droam) = @_;
$droam->{connection} = get_connection($droam);
- network::connection_manager::prepare_connection($droam) if $droam->{connection};
+ network::connection_manager::setup_connection($droam) if $droam->{connection};
update_on_connection_change($droam);
}