summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-09-06 11:19:14 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-09-06 11:19:14 +0000
commit02d3ebc37107a49f4f55004c4eaaf970947f1cdb (patch)
treec7253eb1c969eddb9ab384d8e8e906fac5e25ed0 /perl-install
parent1bf98ca8b5e6545cf98bf0aaab23d202bcf42e5b (diff)
downloaddrakx-02d3ebc37107a49f4f55004c4eaaf970947f1cdb.tar
drakx-02d3ebc37107a49f4f55004c4eaaf970947f1cdb.tar.gz
drakx-02d3ebc37107a49f4f55004c4eaaf970947f1cdb.tar.bz2
drakx-02d3ebc37107a49f4f55004c4eaaf970947f1cdb.tar.xz
drakx-02d3ebc37107a49f4f55004c4eaaf970947f1cdb.zip
(write) really do nothing when no IM is set (harmfull but saner)
Diffstat (limited to 'perl-install')
-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 56062afd8..111ee0f62 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -1019,7 +1019,7 @@ sub write {
}
}
- if ($locale->{IM}) {
+ if ($locale->{IM} && $locale->{IM} ne 'None') {
delete @$h{qw(GTK_IM_MODULE QT_IM_MODULE XIM XIM_PROGRAM XMODIFIERS)};
add2hash($h, $gtkqt_im{$locale->{IM}});
$h->{QT_IM_MODULE} = $h->{GTK_IM_MODULE} if $h->{GTK_IM_MODULE};