From b0a7036afc35911871c1e0146b2515a051502cda Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Thu, 8 Sep 2005 11:33:09 +0000 Subject: unset QT_IM_MODULE due to unsatisfied qtimmodule support in Qt. If we don't touch QT_IM_MODULE, it will cause KDE hangs up if upgrading from cooker to official. --- perl-install/lang.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/perl-install/lang.pm b/perl-install/lang.pm index 2c07f213c..ecbe0f1a4 100644 --- a/perl-install/lang.pm +++ b/perl-install/lang.pm @@ -1068,7 +1068,10 @@ sub write { foreach (@IM_i18n_fields) { $h->{$_} = $IM_config{$locale->{IM}}{$_}; } - $h->{QT_IM_MODULE} = $h->{GTK_IM_MODULE}; + # I must set QT_IM_MODULE to xim to satisfy KDE startup, + # otherwise it will hangs if *-qtimm be installed. + # $h->{QT_IM_MODULE} = $h->{GTK_IM_MODULE}; + add2hash($h, { QT_IM_MODULE => 'xim' }); if (ref $h->{XIM_PROGRAM}) { $h->{XIM_PROGRAM} = -- cgit v1.2.1