summaryrefslogtreecommitdiffstats
path: root/lib/network/connection_manager.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-14 17:47:04 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-14 17:47:04 +0000
commit16d29a97063bbd928874697180ecbc27e2525199 (patch)
tree00ad93991a07763dda226cfb04ac37dbb5424f01 /lib/network/connection_manager.pm
parent5fa9d6db48beec58c1e0ae296ddb0e4918d69fd7 (diff)
downloaddrakx-net-16d29a97063bbd928874697180ecbc27e2525199.tar
drakx-net-16d29a97063bbd928874697180ecbc27e2525199.tar.gz
drakx-net-16d29a97063bbd928874697180ecbc27e2525199.tar.bz2
drakx-net-16d29a97063bbd928874697180ecbc27e2525199.tar.xz
drakx-net-16d29a97063bbd928874697180ecbc27e2525199.zip
add set_connection wrapper
Diffstat (limited to 'lib/network/connection_manager.pm')
-rw-r--r--lib/network/connection_manager.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index cb3f066..9d6145f 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -33,6 +33,11 @@ sub create {
{ in => $in, net => $net, gui => { w => $w, pixbufs => $pixbufs } };
}
+sub set_connection {
+ my ($cmanager, $connection) = @_;
+ $cmanager->{connection} = $connection;
+}
+
sub check_setup {
my ($cmanager) = @_;
$cmanager->{connection}{passed_setup} =