summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakboot
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-08-08 23:43:18 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-08-08 23:43:18 +0000
commitc7c26ad3fcfff475a735bedc8d5cfef49895d069 (patch)
treef7dffb518f322567cdd90adef0fb3cf4391412d4 /perl-install/standalone/drakboot
parent0162f9c323dbcb1d78f0092eacccf9464d53bfa8 (diff)
downloaddrakx-c7c26ad3fcfff475a735bedc8d5cfef49895d069.tar
drakx-c7c26ad3fcfff475a735bedc8d5cfef49895d069.tar.gz
drakx-c7c26ad3fcfff475a735bedc8d5cfef49895d069.tar.bz2
drakx-c7c26ad3fcfff475a735bedc8d5cfef49895d069.tar.xz
drakx-c7c26ad3fcfff475a735bedc8d5cfef49895d069.zip
use proper widget (aka GtkTable)
Diffstat (limited to 'perl-install/standalone/drakboot')
-rwxr-xr-xperl-install/standalone/drakboot17
1 files changed, 4 insertions, 13 deletions
diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot
index 2ceef2148..25afa786b 100755
--- a/perl-install/standalone/drakboot
+++ b/perl-install/standalone/drakboot
@@ -192,19 +192,10 @@ gtkadd($window,
my @auto_buttons = gtkradio((N("No, I don't want autologin")) x 2,
N("Yes, I want autologin with this (user, desktop)")),
),
- gtkpack__(
- my $auto_box = Gtk2::HBox->new,
- gtkpack(
- Gtk2::VBox->new,
- Gtk2::Label->new(N("Default user")),
- Gtk2::Label->new(N("Default desktop")),
- ),
- gtkpack(
- Gtk2::VBox->new,
- $user_combo,
- $desktop_combo
- ),
- )
+ my $auto_box = create_packtable({ col_spacings => 5, row_spacings => 5, homogenous => 1 },
+ [ Gtk2::Label->new(N("Default user")), $user_combo ],
+ [ Gtk2::Label->new(N("Default desktop")), $desktop_combo ],
+ ),
)
)
),