summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-13 16:51:58 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-13 16:51:58 +0000
commitaf33249b43e2ad5ad0e255307d441137a08d7de5 (patch)
treeb318f2818703a56a1239fa422f95c5b0987e3baf
parent18e5b1cac3868ec9c7bdd0455848786c829ab433 (diff)
downloaddrakx-net-af33249b43e2ad5ad0e255307d441137a08d7de5.tar
drakx-net-af33249b43e2ad5ad0e255307d441137a08d7de5.tar.gz
drakx-net-af33249b43e2ad5ad0e255307d441137a08d7de5.tar.bz2
drakx-net-af33249b43e2ad5ad0e255307d441137a08d7de5.tar.xz
drakx-net-af33249b43e2ad5ad0e255307d441137a08d7de5.zip
rename prepare_connection as setup_connection (to avoid confusion with network::connection::prepare_connection)
-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);
}