summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
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};