summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorFunda Wang <fwang@mandriva.org>2005-09-08 11:33:09 +0000
committerFunda Wang <fwang@mandriva.org>2005-09-08 11:33:09 +0000
commitb0a7036afc35911871c1e0146b2515a051502cda (patch)
tree45d6c65740bfa13385ca445061199628ead0c5a3 /perl-install/lang.pm
parent0e941a93afbe93be3c4fcbbeaf11d05725aaf316 (diff)
downloaddrakx-backup-do-not-use-b0a7036afc35911871c1e0146b2515a051502cda.tar
drakx-backup-do-not-use-b0a7036afc35911871c1e0146b2515a051502cda.tar.gz
drakx-backup-do-not-use-b0a7036afc35911871c1e0146b2515a051502cda.tar.bz2
drakx-backup-do-not-use-b0a7036afc35911871c1e0146b2515a051502cda.tar.xz
drakx-backup-do-not-use-b0a7036afc35911871c1e0146b2515a051502cda.zip
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.
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm5
1 files changed, 4 insertions, 1 deletions
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} =