summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-01-11 11:51:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-01-11 11:51:13 +0000
commitb240a4a3d696847dcb56bcbcf100abf6fd9dcd9d (patch)
treeab32199f1386ed9849057ac75d4d1cf60084a48e /perl-install
parent561a053f725b1a1ecaee093ef07a1dfea1309c28 (diff)
downloaddrakx-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 }"
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/interactive.pm2
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 {