summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-04-05 11:11:07 +0000
committerThierry Vignaud <tv@mageia.org>2013-04-05 11:11:07 +0000
commit93f1aa749763ad2b71055f560ee717829f190b69 (patch)
tree231fdf7a6a5721edd0fc7499d4a85665275e81eb /perl-install/interactive/gtk.pm
parent3e4fd91ad5547bdc3933d710100fb9620bd21356 (diff)
downloaddrakx-93f1aa749763ad2b71055f560ee717829f190b69.tar
drakx-93f1aa749763ad2b71055f560ee717829f190b69.tar.gz
drakx-93f1aa749763ad2b71055f560ee717829f190b69.tar.bz2
drakx-93f1aa749763ad2b71055f560ee717829f190b69.tar.xz
drakx-93f1aa749763ad2b71055f560ee717829f190b69.zip
fix finding translated help (mga#9619)
regression introduced in commit r7467 on 2013-04-04: "fork displaying help, thus workarounding a webkit segfault (mga#9124)"
Diffstat (limited to 'perl-install/interactive/gtk.pm')
-rw-r--r--perl-install/interactive/gtk.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index ee6c34bf2..57b15340c 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -833,13 +833,13 @@ sub display_help_window {
}
sub display_help {
- my ($_o, $common) = @_;
+ my ($o, $common) = @_;
# not very safe but we run in a restricted environment anyway:
my $f = '/tmp/help.txt';
if ($common->{interactive_help}) {
output($f, $common->{interactive_help}->());
}
- system('display_installer_help', $common->{interactive_help_id} || $f);
+ system('display_installer_help', $common->{interactive_help_id} || $f, $o->{locale}{lang});
}
sub ask_fromW {