diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-06-14 15:04:14 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-06-14 15:04:14 +0000 |
commit | 5e5fc918a9f78c9c838cd73cce58faef9197b947 (patch) | |
tree | d3a207ec8ba793d994b3a910ffd6091dbf0e0288 /perl-install/interactive | |
parent | d66ec6b2f6965e11749989545eb623409f4ec221 (diff) | |
download | drakx-5e5fc918a9f78c9c838cd73cce58faef9197b947.tar drakx-5e5fc918a9f78c9c838cd73cce58faef9197b947.tar.gz drakx-5e5fc918a9f78c9c838cd73cce58faef9197b947.tar.bz2 drakx-5e5fc918a9f78c9c838cd73cce58faef9197b947.tar.xz drakx-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.pm | 2 |
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; |