diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-08-22 13:25:45 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-08-22 13:25:45 +0000 |
commit | 5da246b16f2e787beba4433f9296c3caf9ba21b4 (patch) | |
tree | 6495c089a2b19a87a37382ae6bbff2ed33c764fe /perl-install/install/steps_interactive.pm | |
parent | bfdad85a7b168ae14688427c4a36fff2888b59d8 (diff) | |
download | drakx-5da246b16f2e787beba4433f9296c3caf9ba21b4.tar drakx-5da246b16f2e787beba4433f9296c3caf9ba21b4.tar.gz drakx-5da246b16f2e787beba4433f9296c3caf9ba21b4.tar.bz2 drakx-5da246b16f2e787beba4433f9296c3caf9ba21b4.tar.xz drakx-5da246b16f2e787beba4433f9296c3caf9ba21b4.zip |
(acceptLicense,selectKeyboard) render some message titles as blue
Diffstat (limited to 'perl-install/install/steps_interactive.pm')
-rw-r--r-- | perl-install/install/steps_interactive.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm index 52e7bfe1e..b1e28570f 100644 --- a/perl-install/install/steps_interactive.pm +++ b/perl-install/install/steps_interactive.pm @@ -94,12 +94,13 @@ sub selectKeyboard { my $ext_keyboard = my $KEYBOARD = $o->{keyboard}{KEYBOARD}; $o->ask_from_( { title => N("Keyboard"), - messages => N("Please choose your keyboard layout."), interactive_help_id => 'selectKeyboard', advanced_messages => N("Here is the full list of available keyboards"), advanced_label => N("More"), }, - [ if_(@best, { val => \$KEYBOARD, type => 'list', format => $format, sort => 1, + [ + { label => N("Please choose your keyboard layout."), title => 1 }, + if_(@best, { val => \$KEYBOARD, type => 'list', format => $format, sort => 1, list => [ @best ], changed => sub { $other = 0 } }), { val => \$ext_keyboard, type => 'list', format => $format, changed => sub { $other = 1 }, list => [ difference2([ keyboard::KEYBOARDs() ], \@best) ], advanced => @best > 1 } |