summaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-07-01 09:30:54 +0000
committerOlivier Blin <oblin@mandriva.org>2005-07-01 09:30:54 +0000
commit8f6bc48cdc009db3912a716bcc4db7304311f1af (patch)
tree7f27de16c9348e995ac79c39a867b1f9098fc9bc /Makefile.common
parenta57d2633f9d180de2cec9e6ae330b18404fce393 (diff)
downloaddrakx-8f6bc48cdc009db3912a716bcc4db7304311f1af.tar
drakx-8f6bc48cdc009db3912a716bcc4db7304311f1af.tar.gz
drakx-8f6bc48cdc009db3912a716bcc4db7304311f1af.tar.bz2
drakx-8f6bc48cdc009db3912a716bcc4db7304311f1af.tar.xz
drakx-8f6bc48cdc009db3912a716bcc4db7304311f1af.zip
update crossbars when scale values are modified
Diffstat (limited to 'Makefile.common')
0 files changed, 0 insertions, 0 deletions
s='add' style='width: 80.0%;'/>
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/interactive/newt.pm b/perl-install/interactive/newt.pm
index cd1d25c36..37c5a62ef 100644
--- a/perl-install/interactive/newt.pm
+++ b/perl-install/interactive/newt.pm
@@ -172,7 +172,10 @@ sub ask_fromW {
(exists $common->{ok} ?
($common->{ok}, $common->{cancel}) :
($::isWizard ? _("Next") : _("Ok"), $common->{cancel} || ($::isWizard ? _("<- Previous") : _("Cancel"))));
- my ($buttons, $ok, $cancel) = Newt::Grid::ButtonBar($::isWizard ? ($b2, $b1) : ($b1, $b2));
+ #- b1 is always displayed, so giving it some label :-(
+ $b1 ||= $::isWizard ? _("Next") : _("Ok");
+ my @b2 = if_($b2, $b2);
+ my ($buttons, $ok, $cancel) = Newt::Grid::ButtonBar($::isWizard ? (@b2, $b1) : ($b1, @b2));
($ok, $cancel) = ($cancel, $ok) if $::isWizard;
my $form = Newt::Component::Form(\undef, '', 0);