Skip to content

Commit 119fdd4

Browse files
committed
engine: Load $HOME/.XCompose file
1 parent dd8f2c2 commit 119fdd4

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

engine/python2/engine.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# ibus-anthy - The Anthy engine for IBus
55
#
66
# Copyright (c) 2007-2008 Peng Huang <[email protected]>
7-
# Copyright (c) 2010-2017 Takao Fujiwara <[email protected]>
8-
# Copyright (c) 2007-2017 Red Hat, Inc.
7+
# Copyright (c) 2010-2018 Takao Fujiwara <[email protected]>
8+
# Copyright (c) 2007-2018 Red Hat, Inc.
99
#
1010
# This program is free software; you can redistribute it and/or modify
1111
# it under the terms of the GNU General Public License as published by
@@ -128,6 +128,7 @@ def __init__(self, bus, object_path):
128128
connection=bus.get_connection(),
129129
object_path=object_path)
130130

131+
self.add_table_by_locale(None)
131132
# create anthy context
132133
if not self.__verify_anthy_journal_file():
133134
return

engine/python3/engine.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# ibus-anthy - The Anthy engine for IBus
55
#
66
# Copyright (c) 2007-2008 Peng Huang <[email protected]>
7-
# Copyright (c) 2010-2017 Takao Fujiwara <[email protected]>
8-
# Copyright (c) 2007-2017 Red Hat, Inc.
7+
# Copyright (c) 2010-2018 Takao Fujiwara <[email protected]>
8+
# Copyright (c) 2007-2018 Red Hat, Inc.
99
#
1010
# This program is free software; you can redistribute it and/or modify
1111
# it under the terms of the GNU General Public License as published by
@@ -129,6 +129,7 @@ def __init__(self, bus, object_path):
129129
connection=bus.get_connection(),
130130
object_path=object_path)
131131

132+
self.add_table_by_locale(None)
132133
# create anthy context
133134
if not self.__verify_anthy_journal_file():
134135
return

0 commit comments

Comments
 (0)