diff options
author | Francois Andriot <francois.andriot@free.fr> | 2012-08-02 11:13:00 +0200 |
---|---|---|
committer | Francois Andriot <francois.andriot@free.fr> | 2012-08-02 11:13:00 +0200 |
commit | 0704427510fa18d90170cf13d1fd81e446a1d3b0 (patch) | |
tree | f88eb0400bf4608d95808aeea656185634b9c0fc /mageia/dependencies/qt3/90qtrc-jp | |
parent | 9f07f141355cd13d40a39a2f123c6516209c5fcf (diff) | |
download | tde-packaging-0704427510fa18d90170cf13d1fd81e446a1d3b0.tar.gz tde-packaging-0704427510fa18d90170cf13d1fd81e446a1d3b0.zip |
Mageia: initial QT3 version for TDE 3.5.13
Diffstat (limited to 'mageia/dependencies/qt3/90qtrc-jp')
-rw-r--r-- | mageia/dependencies/qt3/90qtrc-jp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mageia/dependencies/qt3/90qtrc-jp b/mageia/dependencies/qt3/90qtrc-jp new file mode 100644 index 000000000..9f568327a --- /dev/null +++ b/mageia/dependencies/qt3/90qtrc-jp @@ -0,0 +1,15 @@ +# fix .qtrc for Japanese +if [ "$LANG" = ja_JP ]; then + [ ! -d $HOME/.qt ] && mkdir $HOME/.qt + + if [ ! -r $HOME/.qt/qtrc ] || ! grep -q '[General]' $HOME/.qt/qtrc; then + cat >> $HOME/.qt/qtrc <<EOF +[General] +XIMInputStyle=Over The Spot +EOF + elif ! grep -q XIMInputStyle $HOME/.qt/qtrc; then + rm -f $HOME/.qt/qtrc.$$ + sed "s/\[General\]/[General]\nXIMInputStyle=Over The Spot/" < $HOME/.qt/qtrc > $HOME/.qt/qtrc.$$ + mv -f $HOME/.qt/qtrc.$$ $HOME/.qt/qtrc + fi +fi |