summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/stdio.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-13 18:28:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-13 18:28:57 +0000
commitaa19bdfd007143ebe13a762072ab12302b8f3a74 (patch)
treee2808c92df88cc205c76f6cb87768bf32152a07c /perl-install/interactive/stdio.pm
parentddec320c9813c04b3e6a6213654a3ff84db89431 (diff)
downloaddrakx-aa19bdfd007143ebe13a762072ab12302b8f3a74.tar
drakx-aa19bdfd007143ebe13a762072ab12302b8f3a74.tar.gz
drakx-aa19bdfd007143ebe13a762072ab12302b8f3a74.tar.bz2
drakx-aa19bdfd007143ebe13a762072ab12302b8f3a74.tar.xz
drakx-aa19bdfd007143ebe13a762072ab12302b8f3a74.zip
- handle setting 'ok' && 'cancel'
- handle isWizard in newt (basic handling)
Diffstat (limited to 'perl-install/interactive/stdio.pm')
-rw-r--r--perl-install/interactive/stdio.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/interactive/stdio.pm b/perl-install/interactive/stdio.pm
index 67198d00e..3c8e9cfb7 100644
--- a/perl-install/interactive/stdio.pm
+++ b/perl-install/interactive/stdio.pm
@@ -36,6 +36,8 @@ sub good_choice {
sub ask_fromW {
my ($o, $common, $l, $l2) = @_;
+ add2hash_($common, { ok => _("Ok"), cancel => _("Cancel") }) if !exists $common->{ok};
+
ask_fromW_begin:
my $already_entries = 0;