diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-08-02 15:11:15 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-08-02 15:11:15 +0000 |
commit | 7caab16af421c04faa828f8c779f3a6dc96d4da5 (patch) | |
tree | 6d5130613f75ac325afc92b732ea541b43c06e16 /perl-install/services.pm | |
parent | a980fe57b7f9de48d39778d3ff39da87a2e81987 (diff) | |
download | drakx-7caab16af421c04faa828f8c779f3a6dc96d4da5.tar drakx-7caab16af421c04faa828f8c779f3a6dc96d4da5.tar.gz drakx-7caab16af421c04faa828f8c779f3a6dc96d4da5.tar.bz2 drakx-7caab16af421c04faa828f8c779f3a6dc96d4da5.tar.xz drakx-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/services.pm')
-rw-r--r-- | perl-install/services.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/services.pm b/perl-install/services.pm index 44a915adf..d1d9ab783 100644 --- a/perl-install/services.pm +++ b/perl-install/services.pm @@ -239,7 +239,7 @@ sub ask_standalone_gtk { sub ask { my ($in, $prefix) = @_; - !$::isInstall && ref($in) =~ /gtk/ ? &ask_standalone_gtk : &ask_install; + !$::isInstall && $in->isa('interactive_gtk') ? &ask_standalone_gtk : &ask_install; } sub doit { |