summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-09-06 19:27:29 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-09-06 19:27:29 +0000
commit162986a76fed3cecd536769f922bb04169850401 (patch)
tree9e2be9630e0bf6514b58529355dd81c27684a9fd /perl-install
parent43056d09d042ed946f2d4c6897c4af5b0cc9227f (diff)
downloaddrakx-162986a76fed3cecd536769f922bb04169850401.tar
drakx-162986a76fed3cecd536769f922bb04169850401.tar.gz
drakx-162986a76fed3cecd536769f922bb04169850401.tar.bz2
drakx-162986a76fed3cecd536769f922bb04169850401.tar.xz
drakx-162986a76fed3cecd536769f922bb04169850401.zip
no_comment
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps_interactive.pm2
-rw-r--r--perl-install/my_gtk.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 0d8425956..f81008943 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -427,7 +427,7 @@ sub addUser($) {
{val => \$u{shell}, list => \@shells, not_edit => !$::expert},
],
focus_out => sub {
- $u->{name} = lc first($u->{realname} =~ /(\w+)/) if $_[0] eq 0;
+ $u{name} = lc first($u{realname} =~ /(\w+)/) if $_[0] eq 0;
},
complete => sub {
$u{password} eq $u{password2} or $o->ask_warn('', [ _("You must enter the same password"), _("Please try again") ]), return (1,2);
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index 43ee42903..6cf1e1af6 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -385,7 +385,7 @@ sub _ask_from_list($$$$) {
gtkpack($o->create_box_with_title(@$messages),
@$l > 15 ? gtkset_usize(createScrolledWindow($list), 200, 280) : $list));
- $o->sync; # otherwise the moveto is not done
+ $o->flush; # otherwise the moveto is not done
map_index {
$list->append($_);
&$select($::i) if $def && $_ eq $def;