From 01604fd2820239a0c2e2e98ff4dc86fa69472576 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 25 Aug 2003 13:41:49 +0000 Subject: fix drakconnect not working on console (found by poulpy) due to having killed pre_func() which used to set a background pixmap in the old days, thus the bogus test that went in. --- perl-install/network/netconnect.pm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'perl-install/network') diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index f59846571..0bc5eddf5 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -152,12 +152,10 @@ If you don't want to use the auto detection, deselect the checkbox. load_conf($netcnx, $netc, $intf); foreach my $type (qw(modem winmodem isdn adsl cable lan)) { $conf{$type} and do { - $in->isa('interactive::gtk') and do { - #-PO here, "forward" is the standard gtk+ button for "next"; check what is displayed in your language - $in->ask_okcancel(N("Network Configuration Wizard"), N("We are now going to configure the %s connection.\n\n\nPress \"%s\" to continue.", translate($type), N("Next")), 1) or goto step_2; - &{$net_conf_callbacks{$type}} or goto step_2; - $netconnect::need_restart_network = 1 if $type =~ /lan|cable/; - } + #-PO here, "forward" is the standard gtk+ button for "next"; check what is displayed in your language + $in->ask_okcancel(N("Network Configuration Wizard"), N("We are now going to configure the %s connection.\n\n\nPress \"%s\" to continue.", translate($type), N("Next")), 1) or goto step_2; + &{$net_conf_callbacks{$type}} or goto step_2; + $netconnect::need_restart_network = 1 if $type =~ /lan|cable/; } } }; -- cgit v1.2.1