From 2dd11815b455f1bb9510b5c9cf90e4f08f7bfa21 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 14 Mar 2008 12:25:34 +0000 Subject: pass some missing variables --- lib/network/drakconnect/global.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/network/drakconnect/global.pm') diff --git a/lib/network/drakconnect/global.pm b/lib/network/drakconnect/global.pm index 746f717..84881b2 100644 --- a/lib/network/drakconnect/global.pm +++ b/lib/network/drakconnect/global.pm @@ -22,7 +22,7 @@ sub update_network_status { } sub configure_net { - my ($in, $net) = @_; + my ($in, $net, $modules_conf) = @_; my $int_state; my $int_label = Gtk2::WrappedLabel->new($net->{type} eq 'lan' ? N("Gateway:") : N("Interface:")); my $int_name = Gtk2::Label->new($net->{type} eq 'lan' ? $net->{network}{GATEWAY} : $net->{net_interface}); @@ -90,7 +90,7 @@ Run the \"%s\" assistant from the Mandriva Linux Control Center", N("Set up a ne foreach my $i (0..$#conf_data) { ${$conf_data[$i][1]} = $infos[2*$i+1]->get_text; } - network::drakconnect::apply(); + network::drakconnect::apply($in, $net, $modules_conf); $exit_dialogsub->(); }), ), -- cgit v1.2.1