- disable SCIM by default in non-Asian languages #237054 If you want to use

SCIM, use im-chooser to enable it.
This commit is contained in:
Warren Togami 2007-04-19 16:38:38 +00:00
parent f709cca244
commit af7dad9089
2 changed files with 13 additions and 2 deletions

View File

@ -29,7 +29,14 @@ unset XIM XIM_PROGRAM XIM_ARGS XMODIFIERS GTK_IM_MODULE QT_IM_MODULE
if [ -r "$USER_XINPUTRC" ]; then
source "$USER_XINPUTRC"
elif [ -r "$SYS_XINPUTRC" ]; then
# FIXME: This hardcoded list has to be gone in the future.
_language_list="as bn gu hi ja kn ko ml mr ne or pa si ta te th ur vi zh"
for i in $_language_list; do
if echo $tmplang | grep -q -E "^$i"; then
source "$SYS_XINPUTRC"
break
fi
done
fi
[ -n "$GTK_IM_MODULE" ] && export GTK_IM_MODULE

View File

@ -3,7 +3,7 @@
Summary: X.Org X11 X Window System xinit startup scripts
Name: xorg-x11-%{pkgname}
Version: 1.0.2
Release: 18%{?dist}
Release: 19%{?dist}
License: MIT/X11
Group: User Interface/X
URL: http://www.x.org
@ -112,6 +112,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/xinit.1*
%changelog
* Thu Apr 19 2007 Warren Togami <wtogami@redhat.com> 1.0.2-19
- disable SCIM by default in non-Asian languages #237054
If you want to use SCIM, use im-chooser to enable it.
* Mon Apr 02 2007 David Zeuthen <davidz@redhat.com> 1.0.2-18
- Man pages are now in section 1, not in section 1x