summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-08-10 17:50:40 +0000
committerdamien <damien@mandriva.com>2001-08-10 17:50:40 +0000
commit1aee2b873f8c07a03e170931b645cb0facd76bc9 (patch)
tree32e057767b68749284977fb74d189c1f86def8fa /perl-install
parenta52cf49be668244a5c48e08354f4452b64f49ae6 (diff)
downloaddrakx-backup-do-not-use-1aee2b873f8c07a03e170931b645cb0facd76bc9.tar
drakx-backup-do-not-use-1aee2b873f8c07a03e170931b645cb0facd76bc9.tar.gz
drakx-backup-do-not-use-1aee2b873f8c07a03e170931b645cb0facd76bc9.tar.bz2
drakx-backup-do-not-use-1aee2b873f8c07a03e170931b645cb0facd76bc9.tar.xz
drakx-backup-do-not-use-1aee2b873f8c07a03e170931b645cb0facd76bc9.zip
corrected autologin question
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm14
1 files changed, 9 insertions, 5 deletions
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};
}
}