From 506da3f08b5f74ee228e224dbf91b478822d885d Mon Sep 17 00:00:00 2001 From: Yves Duret Date: Wed, 14 Feb 2001 23:30:06 +0000 Subject: added i18n --- cest_ton_boot | 35 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 20 deletions(-) (limited to 'cest_ton_boot') diff --git a/cest_ton_boot b/cest_ton_boot index c9fe3d78..4168853d 100755 --- a/cest_ton_boot +++ b/cest_ton_boot @@ -90,35 +90,30 @@ my $global_vbox = new Gtk::VBox(); $global_vbox->pack_start (new Gtk::Label(I_("special c'est ton choix")), 0, 0, 0); -######## up part -my $up_vbox = new Gtk::VBox (0, 0); - -# device part +######## aurora part my $aurora_frame = new Gtk::Frame( I_("Boot mode") ); -$box2 = new Gtk::VBox(0,10); +my $aurora_sw = new Gtk::ScrolledWindow(); +$aurora_sw->set_policy( 'automatic', 'automatic' ); +#$aurora_sw->set_usize( 500, 500 ); +my $box2 = new Gtk::VBox(0,10); $box2->border_width(10); -$up_vbox->pack_start($box2, 1, 1, 0); -$box2->show; -$button = new Gtk::RadioButton "horizontal nice looking aurora"; +$button = new Gtk::RadioButton I_("horizontal nice looking aurora"); +$button->set_active(1); $box2->pack_start($button, 1, 1, 0); -$button->show; -$button = new Gtk::RadioButton "vertical traditionnal aurora", $button; -$button->set_active(1); +$button = new Gtk::RadioButton I_("vertical traditionnal aurora"), $button; $box2->pack_start($button, 1, 1, 0); -$button->show; -$button = new Gtk::RadioButton "gMonitor (choose this only if you have a non FrameBuffer kernel", $button; +$button = new Gtk::RadioButton I_("gMonitor (choose this only if you have a non FrameBuffer kernel"), $button; $box2->pack_start($button, 1, 1, 0); -$button->show; -$button = new Gtk::RadioButton "old text based boot", $button; +$button = new Gtk::RadioButton I_("old text based boot"), $button; $box2->pack_start($button, 1, 1, 0); -$button->show; -$aurora_frame->add($up_vbox); -$global_vbox->pack_start ($aurora_frame, 1, 1, 0); +$aurora_sw->add_with_viewport ($box2); +$aurora_frame->add($aurora_sw); +$global_vbox->pack_start ($aurora_frame, 0, 0, 0); ### X mode my $x_main_frame = new Gtk::Frame( I_("System mode") ); @@ -138,11 +133,11 @@ $x_button->signal_connect( "clicked", sub { $x_dedans->pack_start ($x_button, 0, 0, 0); -$button = new Gtk::RadioButton "no, I do not want autologin", $button; +$button = new Gtk::RadioButton I_("no, I do not want autologin"), $button; $button->set_active(1); $x_box->pack_start($button, 1, 1, 0); -$button = new Gtk::RadioButton "yes, I want it with all my friends", $button; +$button = new Gtk::RadioButton I_("yes, I want it with all my friends"), $button; $x_box->pack_start($button, 1, 1, 0); my $user_dedans = new Gtk::VBox( 0, 10 ); -- cgit v1.2.1