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/install_interactive.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/install_interactive.pm')
-rw-r--r-- | perl-install/install_interactive.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_interactive.pm b/perl-install/install_interactive.pm index ae65f6dae..24064d9ea 100644 --- a/perl-install/install_interactive.pm +++ b/perl-install/install_interactive.pm @@ -165,7 +165,7 @@ When sure, press Ok.")) or return; } ]; } - if (!$readonly && ref($o) =~ /gtk/) { #- diskdrake only available in gtk for now + if (!$readonly && $o->isa('interactive_gtk')) { #- diskdrake only available in gtk for now $solutions{diskdrake} = [ 0, _("Custom disk partitioning"), sub { partition_with_diskdrake($o, $hds, 'nowizard') } ]; } |