summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakgw
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-12-05 11:38:27 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-12-05 11:38:27 +0000
commit4582440dd3536b4ee02fdcc89698e25cfbad07ce (patch)
tree370407512ae8c29d283b955655ece730c5469629 /perl-install/standalone/drakgw
parent6046e27cfdd8ea0d3ee44a2286eac8f6997ad8c7 (diff)
downloaddrakx-4582440dd3536b4ee02fdcc89698e25cfbad07ce.tar
drakx-4582440dd3536b4ee02fdcc89698e25cfbad07ce.tar.gz
drakx-4582440dd3536b4ee02fdcc89698e25cfbad07ce.tar.bz2
drakx-4582440dd3536b4ee02fdcc89698e25cfbad07ce.tar.xz
drakx-4582440dd3536b4ee02fdcc89698e25cfbad07ce.zip
gtk+2 fixes
Diffstat (limited to 'perl-install/standalone/drakgw')
-rwxr-xr-xperl-install/standalone/drakgw4
1 files changed, 2 insertions, 2 deletions
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");