From 4b42deec2147ea3d0e75061f6d2c5ed908f7fc36 Mon Sep 17 00:00:00 2001
From: Pascal Rigaux <pixel@mandriva.com>
Date: Tue, 13 Aug 2002 16:29:04 +0000
Subject: button "Previous" and "Next" are not only there in interactive::gtk

---
 perl-install/interactive.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'perl-install')

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 } });
 }
 
-- 
cgit v1.2.1