diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-13 16:29:04 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-13 16:29:04 +0000 |
commit | 4b42deec2147ea3d0e75061f6d2c5ed908f7fc36 (patch) | |
tree | c4c3ca573f6d4a77a7bf6e8508928f798370096d | |
parent | 027db4025455ebba942ca71e618b47a3f54529de (diff) | |
download | drakx-backup-do-not-use-4b42deec2147ea3d0e75061f6d2c5ed908f7fc36.tar drakx-backup-do-not-use-4b42deec2147ea3d0e75061f6d2c5ed908f7fc36.tar.gz drakx-backup-do-not-use-4b42deec2147ea3d0e75061f6d2c5ed908f7fc36.tar.bz2 drakx-backup-do-not-use-4b42deec2147ea3d0e75061f6d2c5ed908f7fc36.tar.xz drakx-backup-do-not-use-4b42deec2147ea3d0e75061f6d2c5ed908f7fc36.zip |
button "Previous" and "Next" are not only there in interactive::gtk
-rw-r--r-- | perl-install/interactive.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm index 3db0085f4..fd47aaee8 100644 --- a/perl-install/interactive.pm +++ b/perl-install/interactive.pm @@ -317,7 +317,8 @@ sub ask_from_normalize { $common->{advanced_label} ||= _("Advanced"); $common->{advanced_label_close} ||= _("Basic"); $common->{$_} = [ deref($common->{$_}) ] foreach qw(messages advanced_messages); - add2hash_($common, { ok => _("Ok"), cancel => _("Cancel") }) if !exists $common->{ok}; # && !$::isWizard; + add2hash_($common, { ok => $::isWizard ? ($::Wizard_finished ? _("Finish") : _("Next ->")) : _("Ok"), + cancel => $::isWizard ? _("<- Previous") : _("Cancel") }) if !exists $common->{ok}; add2hash_($common->{callbacks} ||= {}, { changed => sub {}, focus_out => sub {}, complete => sub { 0 }, canceled => sub { 0 } }); } |