From 162986a76fed3cecd536769f922bb04169850401 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 6 Sep 1999 19:27:29 +0000 Subject: no_comment --- perl-install/install_steps_interactive.pm | 2 +- perl-install/my_gtk.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install') 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; -- cgit v1.2.1