From 22d58ed5438fde649c05c3397e577c98e9b8e0c5 Mon Sep 17 00:00:00 2001 From: damien Date: Tue, 30 Oct 2001 20:11:31 +0000 Subject: corrected ref($in) =~ /gtk/ --- perl-install/standalone/drakproxy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'perl-install/standalone/drakproxy') diff --git a/perl-install/standalone/drakproxy b/perl-install/standalone/drakproxy index 426d73b9c..acfc159ba 100755 --- a/perl-install/standalone/drakproxy +++ b/perl-install/standalone/drakproxy @@ -34,7 +34,7 @@ $::Wizard_title = _("Proxy handling"); my $in = 'interactive'->vnew('su', 'default'); -if ($::isWizard || ($::isEmbedded && ref($in) =~ /gtk/)) { +if ($::isWizard || ($::isEmbedded && $in->isa('interactive_gtk'))) { proxy::main('', $in); $in->exit(0); } @@ -67,6 +67,9 @@ Gtk->exit(0); #------------------------------------------------- #- $Log$ +#- Revision 1.8 2001/10/30 20:11:31 damien +#- corrected ref($in) =~ /gtk/ +#- #- Revision 1.7 2001/08/09 09:35:37 gc #- use vnew the right way everywhere #- -- cgit v1.2.1