From 346c27514bbb20b6a9b54fc8e46377add6a4daa6 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 17 Jul 2003 18:00:38 +0000 Subject: center_always is unuser-friendly --- perl-install/standalone/drakconnect | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'perl-install/standalone/drakconnect') diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index 711714476..bb504b962 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -221,7 +221,7 @@ $window1->{window}->add( }), gtksignal_connect(Gtk2::Button->new(N("Launch the wizard")), clicked => sub { - system("drakconnect"); + system("drakconnect&"); #- reload everything... $netcnx = {}; $netc = {}; $intf = {}; network::netconnect::read_net_conf('', $netcnx, $netc); @@ -413,10 +413,10 @@ Configure them first by clicking on 'Configure'")),1,1,0); ); my $i = 0; foreach my $j (@conf_data) { - $infos[2*$i] = new Gtk2::HBox(0,0); my $l = new Gtk2::Label($j->[0]); $l->set_justify('left'); - $infos[2*$i]->pack_start($l,1,1,0); + $infos[2*$i] = gtkpack_(Gtk2::HBox->new, + 1); $vbox_local->pack_start($infos[2*$i],0,0,0); if (defined $j->[2]) { my $c = new Gtk2::OptionMenu; @@ -479,7 +479,6 @@ Configure them first by clicking on 'Configure'")),1,1,0); my @infos = @{$card_tab[2*$_]}; $intf->{"eth$_"}{BOOTPROTO} eq "dhcp" or $infos[8]->hide; } - $window->set_position('center_always'); $window->run; } -- cgit v1.2.1