diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-02-12 14:47:56 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-02-12 14:47:56 +0000 |
commit | 44ad39864c7ff77921cf18a8e22d0e1bee5ae2b9 (patch) | |
tree | cdcd8b2987ef877da973269ae3d66751a7e73a55 /perl-install/interactive.pm | |
parent | d41c3387fb7ff4c9d75e616fa1bf0dadf42879cf (diff) | |
download | drakx-44ad39864c7ff77921cf18a8e22d0e1bee5ae2b9.tar drakx-44ad39864c7ff77921cf18a8e22d0e1bee5ae2b9.tar.gz drakx-44ad39864c7ff77921cf18a8e22d0e1bee5ae2b9.tar.bz2 drakx-44ad39864c7ff77921cf18a8e22d0e1bee5ae2b9.tar.xz drakx-44ad39864c7ff77921cf18a8e22d0e1bee5ae2b9.zip |
allow {interactive_help} per dialog boxes instead of global
Diffstat (limited to 'perl-install/interactive.pm')
-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 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); |