diff options
author | fujiwarat <takao.fujiwara1@gmail.com> | 2018-03-26 16:44:47 +0900 |
---|---|---|
committer | fujiwarat <takao.fujiwara1@gmail.com> | 2018-03-26 16:44:47 +0900 |
commit | 119fdd414121f11fd40e696bebade70b98ebcbae (patch) | |
tree | a3a5a3ba7e01012daac8a0e5fc15199e288db895 | |
parent | dd8f2c28d3d24888fa6bfdfeb7b4608bf0cb7a66 (diff) | |
download | ibus-anthy-119fdd414121f11fd40e696bebade70b98ebcbae.tar.gz |
engine: Load $HOME/.XCompose file
-rw-r--r-- | engine/python2/engine.py | 5 | ||||
-rw-r--r-- | engine/python3/engine.py | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/engine/python2/engine.py b/engine/python2/engine.py index 1dc937c..344ccce 100644 --- a/engine/python2/engine.py +++ b/engine/python2/engine.py @@ -4,8 +4,8 @@ # ibus-anthy - The Anthy engine for IBus # # Copyright (c) 2007-2008 Peng Huang <shawn.p.huang@gmail.com> -# Copyright (c) 2010-2017 Takao Fujiwara <takao.fujiwara1@gmail.com> -# Copyright (c) 2007-2017 Red Hat, Inc. +# Copyright (c) 2010-2018 Takao Fujiwara <takao.fujiwara1@gmail.com> +# Copyright (c) 2007-2018 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -128,6 +128,7 @@ class Engine(IBus.EngineSimple): connection=bus.get_connection(), object_path=object_path) + self.add_table_by_locale(None) # create anthy context if not self.__verify_anthy_journal_file(): return diff --git a/engine/python3/engine.py b/engine/python3/engine.py index bb84d3d..443cda8 100644 --- a/engine/python3/engine.py +++ b/engine/python3/engine.py @@ -4,8 +4,8 @@ # ibus-anthy - The Anthy engine for IBus # # Copyright (c) 2007-2008 Peng Huang <shawn.p.huang@gmail.com> -# Copyright (c) 2010-2017 Takao Fujiwara <takao.fujiwara1@gmail.com> -# Copyright (c) 2007-2017 Red Hat, Inc. +# Copyright (c) 2010-2018 Takao Fujiwara <takao.fujiwara1@gmail.com> +# Copyright (c) 2007-2018 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -129,6 +129,7 @@ class Engine(IBus.EngineSimple): connection=bus.get_connection(), object_path=object_path) + self.add_table_by_locale(None) # create anthy context if not self.__verify_anthy_journal_file(): return |