diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-08-27 13:15:48 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-08-27 13:15:48 +0000 |
commit | c2e46ee5cae0ae1c6c956d58c1a53bd937ebb632 (patch) | |
tree | dfb8741561c334026d0a68f68a12371927d56da7 | |
parent | 8f23a08265cebdec38bdab7ba0473f3518804d27 (diff) | |
download | drakx-backup-do-not-use-c2e46ee5cae0ae1c6c956d58c1a53bd937ebb632.tar drakx-backup-do-not-use-c2e46ee5cae0ae1c6c956d58c1a53bd937ebb632.tar.gz drakx-backup-do-not-use-c2e46ee5cae0ae1c6c956d58c1a53bd937ebb632.tar.bz2 drakx-backup-do-not-use-c2e46ee5cae0ae1c6c956d58c1a53bd937ebb632.tar.xz drakx-backup-do-not-use-c2e46ee5cae0ae1c6c956d58c1a53bd937ebb632.zip |
get rid of useless/badly named bbox0
-rwxr-xr-x | perl-install/standalone/drakconnect | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index 70eaa1e6a..6ac133346 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -173,7 +173,7 @@ $list->signal_connect(button_press_event => sub { update_list(); -my ($bbox0, $label_host, $int_state, $button_expert); +my ($label_host, $int_state, $button_expert); my ($lan_button, $wiz_button, $int_button, $host_button, $button_apply); @@ -247,28 +247,28 @@ $window1->{window}->add( }), ), 0, Gtk2::HSeparator->new, - 0, $bbox0 = gtkpack(Gtk2::HButtonBox->new, - gtksignal_connect(Gtk2::Button->new(N("Help")), clicked => sub { - exec("drakhelp Drakxtools-Guide.html/internet-connection.html") unless fork() }), - $button_apply = gtksignal_connect(gtkset_sensitive(Gtk2::Button->new(N("Apply")), 0), - clicked => \&apply), - gtksignal_connect(Gtk2::Button->new(N("Cancel")), clicked => \&quit_global), - gtksignal_connect(Gtk2::Button->new(N("Ok")), clicked => sub { - if ($button_apply->get('sensitive')) { - my $dialog = _create_dialog(N("Please wait")); - gtkpack($dialog->vbox, - Gtk2::Label->new(N("Please Wait... Applying the configuration"))); - $dialog->show_all; - gtkflush(); - apply(); - $dialog->destroy; - } - update(); - quit_global(); - }), - ), - ), - ); + 0, gtkpack(Gtk2::HButtonBox->new, + gtksignal_connect(Gtk2::Button->new(N("Help")), clicked => sub { + exec("drakhelp Drakxtools-Guide.html/internet-connection.html") unless fork() }), + $button_apply = gtksignal_connect(gtkset_sensitive(Gtk2::Button->new(N("Apply")), 0), + clicked => \&apply), + gtksignal_connect(Gtk2::Button->new(N("Cancel")), clicked => \&quit_global), + gtksignal_connect(Gtk2::Button->new(N("Ok")), clicked => sub { + if ($button_apply->get('sensitive')) { + my $dialog = _create_dialog(N("Please wait")); + gtkpack($dialog->vbox, + Gtk2::Label->new(N("Please Wait... Applying the configuration"))); + $dialog->show_all; + gtkflush(); + apply(); + $dialog->destroy; + } + update(); + quit_global(); + }), + ), + ), + ); $profile_combo->signal_connect(realize => sub { |