diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-01-11 11:51:13 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-01-11 11:51:13 +0000 |
commit | b240a4a3d696847dcb56bcbcf100abf6fd9dcd9d (patch) | |
tree | ab32199f1386ed9849057ac75d4d1cf60084a48e | |
parent | 561a053f725b1a1ecaee093ef07a1dfea1309c28 (diff) | |
download | drakx-b240a4a3d696847dcb56bcbcf100abf6fd9dcd9d.tar drakx-b240a4a3d696847dcb56bcbcf100abf6fd9dcd9d.tar.gz drakx-b240a4a3d696847dcb56bcbcf100abf6fd9dcd9d.tar.bz2 drakx-b240a4a3d696847dcb56bcbcf100abf6fd9dcd9d.tar.xz drakx-b240a4a3d696847dcb56bcbcf100abf6fd9dcd9d.zip |
(ask_from_entries_refH_powered_normalize): "canceled" callback defaults
to "sub { 0 }"
-rw-r--r-- | perl-install/interactive.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm index 6373911a8..ebb9da067 100644 --- a/perl-install/interactive.pm +++ b/perl-install/interactive.pm @@ -222,7 +222,7 @@ sub ask_from_entries_refH_powered_normalize { $common->{$_} = [ deref($common->{$_}) ] foreach qw(messages advanced_messages); add2hash_($common, { ok => _("Ok"), cancel => _("Cancel") }) if !exists $common->{ok}; - add2hash_($common->{callbacks} ||= {}, { changed => sub {}, focus_out => sub {}, complete => sub { 0 } }); + add2hash_($common->{callbacks} ||= {}, { changed => sub {}, focus_out => sub {}, complete => sub { 0 }, canceled => sub { 0 } }); } sub ask_from_entries_refH_powered { |