From af33249b43e2ad5ad0e255307d441137a08d7de5 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 13 Aug 2007 16:51:58 +0000 Subject: rename prepare_connection as setup_connection (to avoid confusion with network::connection::prepare_connection) --- lib/network/connection_manager.pm | 2 +- lib/network/drakroam.pm | 2 +- 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); } -- cgit v1.2.1