summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakboot
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-14 19:21:04 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-14 19:21:04 +0000
commit1a21cac00c1449a159d6ff5bb0d87a305d44b7d2 (patch)
tree749dbbc1598e87b69417159f2a9a4f6650b0324c /perl-install/standalone/drakboot
parent24df2ffd61569b0ee249cc592d136ecf8480d0c6 (diff)
downloaddrakx-1a21cac00c1449a159d6ff5bb0d87a305d44b7d2.tar
drakx-1a21cac00c1449a159d6ff5bb0d87a305d44b7d2.tar.gz
drakx-1a21cac00c1449a159d6ff5bb0d87a305d44b7d2.tar.bz2
drakx-1a21cac00c1449a159d6ff5bb0d87a305d44b7d2.tar.xz
drakx-1a21cac00c1449a159d6ff5bb0d87a305d44b7d2.zip
sanitize button layouts:
- use stock items everywhere - use ButtonBoxes everywhere - pack buttons always in the same order and places
Diffstat (limited to 'perl-install/standalone/drakboot')
-rwxr-xr-xperl-install/standalone/drakboot4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot
index 7b6f3ea8e..a1dea17f8 100755
--- a/perl-install/standalone/drakboot
+++ b/perl-install/standalone/drakboot
@@ -284,13 +284,13 @@ gtkadd($window,
)
)
),
- gtkadd(gtkset_layout(new Gtk2::HButtonBox, 'end'),
+ gtkadd(Gtk2::HButtonBox->new,
+ gtksignal_connect(Gtk2::Button->new_from_stock('gtk-cancel'), clicked => sub { ugtk2->exit(0) }),
gtksignal_connect(Gtk2::Button->new_from_stock('gtk-ok'), clicked => sub {
Xconfig::various::runlevel($x_mode ? 5 : 3);
updateAutologin();
ugtk2->exit(0);
}),
- gtksignal_connect(Gtk2::Button->new_from_stock('gtk-cancel'), clicked => sub { ugtk2->exit(0) })
)
)
);