kaio/ibus-table — pull request #4 by mike-fabian (2013-01-09 16:52:23+00:00)
Title: Mike fix typo in chinese mode variable

I found a regression I introduced when porting to GObjectIntrospection.

I made a typing mistake
in the self._chinese_mode variable. This caused a problem when
the dconf key for “chinesemode” was not yet set. Then the property
for selecting the Chinese mode in the ibus menu was empty and
and selecting the empty line with the mouse just caused an error.

This pull request fixes this.

I added a second commit to check LC_ALL first when detecting the
Chinese mode from the environment because LC_ALL has even higher
priority then LC_CTYPE and should be checked first.