From 1aee2b873f8c07a03e170931b645cb0facd76bc9 Mon Sep 17 00:00:00 2001 From: damien Date: Fri, 10 Aug 2001 17:50:40 +0000 Subject: corrected autologin question --- perl-install/any.pm | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'perl-install/any.pm') diff --git a/perl-install/any.pm b/perl-install/any.pm index 7ccfffbd1..8f0ee44ea 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -760,11 +760,15 @@ sub autologin { if (@wm && @users && !$o->{authentication}{NIS} && $o->{security} <= 2) { add2hash_($o, { autologin => $users[0] }); - $in->ask_from_entries_refH(_("Autologin"), - _("I can set up your computer to automatically log on one user. -If you don't want to use this feature, click on the cancel button."), - [ { label => _("Choose the default user:"), val => \$o->{autologin}, list => [ '', @users ] }, - { label => _("Choose the window manager to run:"), val => \$o->{desktop}, list => \@wm }, ]) + $in->ask_from_entries_refH_powered( + { title => _("Autologin"), + messages => _('I can set up your computer to automatically log on one user. +Do you want to use this feature?'), + ok => _("Yes"), + cancel => _("No") }, + [ { label => _("Choose the default user:"), val => \$o->{autologin}, list => [ '', @users ] }, + { label => _("Choose the window manager to run:"), val => \$o->{desktop}, list => \@wm } ] + ) or delete $o->{autologin}; } } -- cgit v1.2.1