summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-03-04 18:01:08 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-03-04 18:01:08 +0000
commit88d56c44eab27cad3bb2e8e45554a7e5d8be29da (patch)
treeb7bf63fc8e36d5ce9b466800cff68f66d05e16af /perl-install
parent426b55329a8aeac93645753b8a8ebdf02f00acf1 (diff)
downloaddrakx-88d56c44eab27cad3bb2e8e45554a7e5d8be29da.tar
drakx-88d56c44eab27cad3bb2e8e45554a7e5d8be29da.tar.gz
drakx-88d56c44eab27cad3bb2e8e45554a7e5d8be29da.tar.bz2
drakx-88d56c44eab27cad3bb2e8e45554a7e5d8be29da.tar.xz
drakx-88d56c44eab27cad3bb2e8e45554a7e5d8be29da.zip
set better default XIMInputStyle value for CJK, thx to Narfi Stefansson <narfi at cs.wisc.edu> for the idea
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/lang.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 5b35e0cf7..e481c1a9b 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -866,6 +866,11 @@ sub write {
Language => get_kde_lang($locale),
));
+ my %qt_xim = (zh => 'On The Spot', ko => 'On The Spot', ja => 'Over The Spot');
+ if ($user_only && (my $qt_xim = $qt_xim{substr($locale->{lang}, 0, 2)})) {
+ update_gnomekderc("$ENV{HOME}/.qt/qtrc", General => (XIMInputStyle => $qt_xim));
+ }
+
if ($prev_kde_charset ne charset2kde_charset($charset)) {
update_gnomekderc("$confdir/kdeglobals", WM => (
activeFont => charset2kde_font($charset,0),