diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-02-06 11:53:55 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-02-06 11:53:55 +0000 |
commit | 237f1302694d779a96b0fd9f3b7dbe82fc6e05d1 (patch) | |
tree | 3c93114609006856cf145e9fc5773491a138f315 /perl-install/install_steps_interactive.pm | |
parent | 9906227898ff5670aa4781bf3ff578fdf3a356c3 (diff) | |
download | drakx-backup-do-not-use-237f1302694d779a96b0fd9f3b7dbe82fc6e05d1.tar drakx-backup-do-not-use-237f1302694d779a96b0fd9f3b7dbe82fc6e05d1.tar.gz drakx-backup-do-not-use-237f1302694d779a96b0fd9f3b7dbe82fc6e05d1.tar.bz2 drakx-backup-do-not-use-237f1302694d779a96b0fd9f3b7dbe82fc6e05d1.tar.xz drakx-backup-do-not-use-237f1302694d779a96b0fd9f3b7dbe82fc6e05d1.zip |
(setRootPassword): have the focus on the password field
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r-- | perl-install/install_steps_interactive.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index f1a7af736..b1e9876fe 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -943,6 +943,7 @@ sub setRootPassword { title => N("Set root password"), messages => N("Set root password"), cancel => ($o->{security} <= 2 && !$::corporate ? N("No password") : ''), + focus_first => 1, callbacks => { complete => sub { $sup->{password} eq $sup->{password2} or $o->ask_warn('', [ N("The passwords do not match"), N("Please try again") ]), return (1,0); |