summaryrefslogtreecommitdiffstats
path: root/lib/network/connection_manager.pm
diff options
context:
space:
mode:
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} =