summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps_gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-29 15:12:31 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-29 15:12:31 +0000
commitc81d5e0ea976bf95848cd66713dfacfa4d197d49 (patch)
tree0cbc0d6d4b94c8875c154f8177a4108138313f54 /perl-install/install/steps_gtk.pm
parent580a80bced54c9ed26f8429da0d3227429550e7c (diff)
downloaddrakx-c81d5e0ea976bf95848cd66713dfacfa4d197d49.tar
drakx-c81d5e0ea976bf95848cd66713dfacfa4d197d49.tar.gz
drakx-c81d5e0ea976bf95848cd66713dfacfa4d197d49.tar.bz2
drakx-c81d5e0ea976bf95848cd66713dfacfa4d197d49.tar.xz
drakx-c81d5e0ea976bf95848cd66713dfacfa4d197d49.zip
(enteringStep) fix translating steps titles
Diffstat (limited to 'perl-install/install/steps_gtk.pm')
-rw-r--r--perl-install/install/steps_gtk.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/steps_gtk.pm b/perl-install/install/steps_gtk.pm
index 6ba5ec39e..aed90b24b 100644
--- a/perl-install/install/steps_gtk.pm
+++ b/perl-install/install/steps_gtk.pm
@@ -145,7 +145,8 @@ sub enteringStep {
my ($o, $step) = @_;
printf "Entering step `%s'\n", common::remove_translate_context($o->{steps}{$step}{text});
- if (my @banner_elts = @{$o->{steps}{$step}}{qw(banner_icon banner_title)}) {
+);
+ if (my @banner_elts = ($o->{steps}{$step}{banner_icon}, translate($o->{steps}{$step}{banner_title}))) {
ugtk2::set_default_step_items(@banner_elts);
}
$o->SUPER::enteringStep($step);