diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-10 14:46:48 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-10 14:46:48 +0000 |
commit | 00112c66ad0a561492a517129028fc6ebe1d5ce4 (patch) | |
tree | ac5d30d692d1b459a573d3e32f6aed9bd6fd7015 /perl-install/standalone/drakconnect | |
parent | 59aa711803d9ea1ffe99cd0af8d31bf38b475e85 (diff) | |
download | drakx-00112c66ad0a561492a517129028fc6ebe1d5ce4.tar drakx-00112c66ad0a561492a517129028fc6ebe1d5ce4.tar.gz drakx-00112c66ad0a561492a517129028fc6ebe1d5ce4.tar.bz2 drakx-00112c66ad0a561492a517129028fc6ebe1d5ce4.tar.xz drakx-00112c66ad0a561492a517129028fc6ebe1d5ce4.zip |
grey instead of hide stuff in normal mode (more user friendly)
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-x | perl-install/standalone/drakconnect | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index dc85bf894..763136c89 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -240,7 +240,7 @@ $window1->{window}->add( my $button_expert = new Gtk2::Button(N("Expert Mode")); $button_expert->signal_connect(clicked => sub { - foreach ($button_internet, $button_lan) { $expert_mode ? $_->hide : $_->show } + foreach ($button_internet, $button_lan) { $expert_mode ? $_->set_sensitive(0) : $_->set_sensitive(1) } $button_expert->child->set($expert_mode ? N("Expert Mode") : N("Normal Mode")); $expert_mode = !$expert_mode; }); @@ -283,7 +283,7 @@ $combo1->signal_connect(realize => sub { }); $window1->{rwindow}->show_all; -$_->hide foreach $button_internet, $button_lan; +$_->set_sensitive(0) foreach $button_internet, $button_lan; gtkflush(); my $tag = Glib::Timeout->add(4000, \&update2); $window1->main; |