diff options
author | damien <damien@mandriva.com> | 2001-08-14 14:01:11 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2001-08-14 14:01:11 +0000 |
commit | bdb89adb3629a491d23f94014f3b7f1b0f5badfd (patch) | |
tree | 578cd36dd195af57c1c1502114549cc83b148e9b /perl-install/standalone | |
parent | 09d0bf18f2557b95dcb153d4405462b357a22c07 (diff) | |
download | drakx-backup-do-not-use-bdb89adb3629a491d23f94014f3b7f1b0f5badfd.tar drakx-backup-do-not-use-bdb89adb3629a491d23f94014f3b7f1b0f5badfd.tar.gz drakx-backup-do-not-use-bdb89adb3629a491d23f94014f3b7f1b0f5badfd.tar.bz2 drakx-backup-do-not-use-bdb89adb3629a491d23f94014f3b7f1b0f5badfd.tar.xz drakx-backup-do-not-use-bdb89adb3629a491d23f94014f3b7f1b0f5badfd.zip |
corrected activation button
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/draknet | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/standalone/draknet b/perl-install/standalone/draknet index e6be72764..75ac12561 100755 --- a/perl-install/standalone/draknet +++ b/perl-install/standalone/draknet @@ -473,8 +473,11 @@ Configure them first by clicking on 'Configure'")),1,1,0); $i++; } my $c = $_; - $vbox_local->pack_start(gtksignal_connect(my $b = new Gtk::Button(ethisup($c) ? _("desactivate") : _("activate")), clicked => - sub {system("/sbin/if".(ethisup($c)?"down":"up")." eth$c");gtkbuttonset($_[0], ethisup($c)?_("desactivate"):_("activate"));}),0,0,0); + $vbox_local->pack_start(gtkpack__(new Gtk::HBox(0,0), + gtksignal_connect(my $b = new Gtk::Button(ethisup($c) ? _("desactivate now") : _("activate now")), clicked => sub { + system("/sbin/if".(ethisup($c)?"down":"up")." eth$c"); + gtkbuttonset($_[0], ethisup($c)?_("desactivate now"):_("activate now")); + })),0,0,0); # $clist1->append($_+1, "eth$_", $intf->{"eth$_"}{IPADDR}, $intf->{"eth$_"}{BOOTPROTO}, $all_cards[$_]->[1]); # $clist1->set_selectable($_, 0); # require Data::Dumper; |