From 4582440dd3536b4ee02fdcc89698e25cfbad07ce Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 5 Dec 2002 11:38:27 +0000 Subject: gtk+2 fixes --- perl-install/standalone/drakgw | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/standalone/drakgw') diff --git a/perl-install/standalone/drakgw b/perl-install/standalone/drakgw index b72632dae..e84d71fa3 100755 --- a/perl-install/standalone/drakgw +++ b/perl-install/standalone/drakgw @@ -527,7 +527,7 @@ sub pur_gtk_mode { my $window1 = ugtk2->new('drakgw'); $window1->{rwindow}->signal_connect(delete_event => sub { ugtk2->exit(0) }); unless ($::isEmbedded) { - $window1->{rwindow}->set_position(1); + $window1->{rwindow}->set_position('center'); $window1->{rwindow}->set_title(N("Internet connection sharing configuration")); } $window1->{rwindow}->border_width(10); @@ -547,7 +547,7 @@ Click on Configure to launch the setup wizard.", $setup_state)); my $bbox1 = new Gtk2::HButtonBox; $vbox1->pack_start($bbox1,0,0,0); - $bbox1->set_layout(-end); + $bbox1->set_layout('end'); my $button_conf = Gtk2::Button->new(N("Configure")); $button_conf->signal_connect(clicked => sub { system("/usr/sbin/drakgw --wizard"); -- cgit v1.2.1