summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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;
}