From 44ad39864c7ff77921cf18a8e22d0e1bee5ae2b9 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 12 Feb 2003 14:47:56 +0000 Subject: allow {interactive_help} per dialog boxes instead of global --- perl-install/interactive.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/interactive.pm') diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm index 55c1d5c45..26cfa8135 100644 --- a/perl-install/interactive.pm +++ b/perl-install/interactive.pm @@ -294,7 +294,7 @@ sub ask_from { sub ask_from_normalize { - my ($_o, $common, $l) = @_; + my ($o, $common, $l) = @_; ref($l) eq 'ARRAY' or internal_error('ask_from_normalize'); foreach my $e (@$l) { @@ -350,6 +350,7 @@ sub ask_from_normalize { if (!$common->{title} && $::isStandalone) { ($common->{title} = $0) =~ s|.*/||; } + $common->{interactive_help} ||= $o->{interactive_help}; $common->{advanced_label} ||= N("Advanced"); $common->{advanced_label_close} ||= N("Basic"); $common->{$_} = [ deref($common->{$_}) ] foreach qw(messages advanced_messages); -- cgit v1.2.1