summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-06-14 15:04:14 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-06-14 15:04:14 +0000
commit5e5fc918a9f78c9c838cd73cce58faef9197b947 (patch)
treed3a207ec8ba793d994b3a910ffd6091dbf0e0288 /perl-install/interactive
parentd66ec6b2f6965e11749989545eb623409f4ec221 (diff)
downloaddrakx-backup-do-not-use-5e5fc918a9f78c9c838cd73cce58faef9197b947.tar
drakx-backup-do-not-use-5e5fc918a9f78c9c838cd73cce58faef9197b947.tar.gz
drakx-backup-do-not-use-5e5fc918a9f78c9c838cd73cce58faef9197b947.tar.bz2
drakx-backup-do-not-use-5e5fc918a9f78c9c838cd73cce58faef9197b947.tar.xz
drakx-backup-do-not-use-5e5fc918a9f78c9c838cd73cce58faef9197b947.zip
(ask_fromW_real) make previous button be labeled "cancel" when needed
Diffstat (limited to 'perl-install/interactive')
-rw-r--r--perl-install/interactive/newt.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/newt.pm b/perl-install/interactive/newt.pm
index 80197c779..5a1f22e5d 100644
--- a/perl-install/interactive/newt.pm
+++ b/perl-install/interactive/newt.pm
@@ -304,7 +304,7 @@ sub ask_fromW_real {
};
my ($ok, $cancel) = ($common->{ok}, $common->{cancel});
- $cancel = $::isWizard ? N("Previous") : N("Cancel") if !defined $cancel && !defined $ok;
+ $cancel = $::isWizard && !$::Wizard_no_previous ? N("Previous") : N("Cancel") if !defined $cancel && !defined $ok;
$ok ||= $::isWizard ? ($::Wizard_finished ? N("Finish") : N("Next")) : N("Ok");
my @okcancel = grep { $_ } $ok, $cancel;