summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index c42e61a68..92e3ab0c7 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -171,7 +171,7 @@ ifdown eth0
my $pre_func = sub {
$::Wizard_no_previous=1;
- if (ref($in) =~ /gtk/) {
+ if ($in->isa('interactive_gtk')) {
$::Wizard_splash=1;
require my_gtk;
my_gtk->import(qw(:wrappers));