summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-09-09 08:10:50 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-09-09 08:10:50 +0000
commita3bec3485efa666ce06f1ba2d526fc91fd1d47bd (patch)
tree90f31e0a9245a008d75bb6c1a7bd0e3966677aea /perl-install/lang.pm
parent2118865b39577940a03f1a979351ad135551cc7b (diff)
downloaddrakx-a3bec3485efa666ce06f1ba2d526fc91fd1d47bd.tar
drakx-a3bec3485efa666ce06f1ba2d526fc91fd1d47bd.tar.gz
drakx-a3bec3485efa666ce06f1ba2d526fc91fd1d47bd.tar.bz2
drakx-a3bec3485efa666ce06f1ba2d526fc91fd1d47bd.tar.xz
drakx-a3bec3485efa666ce06f1ba2d526fc91fd1d47bd.zip
(write) set proper XIM_PROGRAM depending on both encoding and locale
(fix chinput configuration that was broken for ages)
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 6ea66b370..dd19c7bef 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -1025,8 +1025,8 @@ sub write {
log::explanations(qq(Configuring "$locale->{IM}" IM));
delete @$h{qw(GTK_IM_MODULE QT_IM_MODULE XIM XIM_PROGRAM XMODIFIERS)};
my $lang = $locale->{lang};
+ add2hash($h, { XIM_PROGRAM => $im_xim_program{$locale->{IM}}{$h->{LC_NAME}} });
add2hash($h, $xim{$lang});
- add2hash($h, { XIM_PROGRAM => $im_xim_program{$locale->{IM}}{$lang} });
add2hash($h, $gtkqt_im{$locale->{IM}});
$h->{QT_IM_MODULE} = $h->{GTK_IM_MODULE} if $h->{GTK_IM_MODULE};
my @packages = IM2packages($locale);