summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakconnect
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-08-26 13:13:15 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-08-26 13:13:15 +0000
commit79cbd949e3b45fd7b4ca6bdf521d12eddc49a41a (patch)
treed18100d89a2f56572f834bc2a75115e7b07a5709 /perl-install/standalone/drakconnect
parent43b766a3c2f7915a186ba1b93b77a8b087dfe6d8 (diff)
downloaddrakx-79cbd949e3b45fd7b4ca6bdf521d12eddc49a41a.tar
drakx-79cbd949e3b45fd7b4ca6bdf521d12eddc49a41a.tar.gz
drakx-79cbd949e3b45fd7b4ca6bdf521d12eddc49a41a.tar.bz2
drakx-79cbd949e3b45fd7b4ca6bdf521d12eddc49a41a.tar.xz
drakx-79cbd949e3b45fd7b4ca6bdf521d12eddc49a41a.zip
(sensitive_buttons) fix it
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-xperl-install/standalone/drakconnect5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index 3dfdf55bd..e9d0ba4f4 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -60,7 +60,7 @@ MDK::Common::Globals::init(
connect_prog => "/etc/sysconfig/network-scripts/net_cnx_pg"
);
-#$::isEmbedded && ref($in) =~ /gtk/ or goto dd;
+$::isEmbedded && ref($in) =~ /gtk/ or goto dd;
require ugtk2;
ugtk2->import(qw(:helpers :wrappers :create));
@@ -274,7 +274,8 @@ $combo1->signal_connect(realize => sub {
});
sub sensitive_buttons {
- $_->set_sensitive(0) foreach $lan_button, $wiz_button, $int_button;
+ my ($state) = @_;
+ $_->set_sensitive($state) foreach $lan_button, $wiz_button, $int_button;
}