summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-10-30 19:10:41 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-10-30 19:10:41 +0000
commit72cdfb169816a60385535eceb9f40292e7e383e7 (patch)
tree31d359f4390f22cdb96d37273ab6bf475e9bb99e
parenta997d74eda40ef6394959bd899309fbb5a0ce153 (diff)
downloaddrakx-backup-do-not-use-72cdfb169816a60385535eceb9f40292e7e383e7.tar
drakx-backup-do-not-use-72cdfb169816a60385535eceb9f40292e7e383e7.tar.gz
drakx-backup-do-not-use-72cdfb169816a60385535eceb9f40292e7e383e7.tar.bz2
drakx-backup-do-not-use-72cdfb169816a60385535eceb9f40292e7e383e7.tar.xz
drakx-backup-do-not-use-72cdfb169816a60385535eceb9f40292e7e383e7.zip
use isa rather than ref to test if we're gtk
-rwxr-xr-xperl-install/standalone/drakgw5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/standalone/drakgw b/perl-install/standalone/drakgw
index df017a02c..6ec6599b7 100755
--- a/perl-install/standalone/drakgw
+++ b/perl-install/standalone/drakgw
@@ -57,7 +57,7 @@ my $in = 'interactive'->vnew('su', 'default');
!$::isEmbedded && $in->isa('interactive_gtk') and $::isWizard=1;
-pur_gtk_mode() if $::isEmbedded && ref($in) =~ /gtk/;
+pur_gtk_mode() if $::isEmbedded && $in->isa('interactive_gtk');
sub sys { system(@_) == 0 or log::l("[drakgw] Warning, sys failed for $_[0]") }
@@ -666,6 +666,9 @@ Click on Configure to launch the setup wizard.", $setup_state));
#-------------------------------------------------
#- $Log$
+#- Revision 1.56 2001/10/30 19:10:41 gc
+#- use isa rather than ref to test if we're gtk
+#-
#- Revision 1.55 2001/10/02 10:28:14 gc
#- don't call pkgs_install when no package needs to be installed
#-