summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-02 15:11:15 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-02 15:11:15 +0000
commit7caab16af421c04faa828f8c779f3a6dc96d4da5 (patch)
tree6d5130613f75ac325afc92b732ea541b43c06e16 /perl-install/network
parenta980fe57b7f9de48d39778d3ff39da87a2e81987 (diff)
downloaddrakx-backup-do-not-use-7caab16af421c04faa828f8c779f3a6dc96d4da5.tar
drakx-backup-do-not-use-7caab16af421c04faa828f8c779f3a6dc96d4da5.tar.gz
drakx-backup-do-not-use-7caab16af421c04faa828f8c779f3a6dc96d4da5.tar.bz2
drakx-backup-do-not-use-7caab16af421c04faa828f8c779f3a6dc96d4da5.tar.xz
drakx-backup-do-not-use-7caab16af421c04faa828f8c779f3a6dc96d4da5.zip
instead of testing if ref($in) or ref($o) contains /gtk/, test if interactive_gtk is in ISA of the object
Diffstat (limited to 'perl-install/network')
-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));