summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfujiwarat <takao.fujiwara1@gmail.com>2013-05-14 17:14:59 +0900
committerfujiwarat <takao.fujiwara1@gmail.com>2013-05-14 17:14:59 +0900
commit7f06fd6cd46e00abcf7431dfd6e0fb0aa4df61ad (patch)
treefd752bbc57691f1fc3f6f19c34256bc93403d733
parent46a4942d0cbe8e094d9bfa8d7b08cdf06dd1f73a (diff)
downloadibus-anthy-7f06fd6cd46e00abcf7431dfd6e0fb0aa4df61ad.tar.gz
Fixed a coding style.
-rw-r--r--engine/jastring.py6
-rw-r--r--engine/kana.py2
-rw-r--r--engine/romaji.py2
-rw-r--r--engine/thumb.py2
4 files changed, 6 insertions, 6 deletions
diff --git a/engine/jastring.py b/engine/jastring.py
index ea3dc30..2f91ec9 100644
--- a/engine/jastring.py
+++ b/engine/jastring.py
@@ -67,11 +67,11 @@ class JaString:
cls.__cursor = 0
cls.__segments = list()
if mode == TYPING_MODE_ROMAJI:
- romaji.RomajiSegment._init_romaji_typing_rule(cls._prefs)
+ romaji.RomajiSegment.INIT_ROMAJI_TYPING_RULE(cls._prefs)
elif mode == TYPING_MODE_KANA:
- kana.KanaSegment._init_kana_typing_rule(cls._prefs)
+ kana.KanaSegment.INIT_KANA_TYPING_RULE(cls._prefs)
elif mode == TYPING_MODE_THUMB_SHIFT:
- thumb.ThumbShiftSegment._init_thumb_typing_rule(cls._prefs)
+ thumb.ThumbShiftSegment.INIT_THUMB_TYPING_RULE(cls._prefs)
@classmethod
def SET_PREFS(cls, prefs):
diff --git a/engine/kana.py b/engine/kana.py
index 34bb5d4..c22136f 100644
--- a/engine/kana.py
+++ b/engine/kana.py
@@ -39,7 +39,7 @@ class KanaSegment(segment.Segment):
super(KanaSegment, self).__init__(enchars, jachars)
@classmethod
- def _init_kana_typing_rule(cls, prefs):
+ def INIT_KANA_TYPING_RULE(cls, prefs):
cls._prefs = prefs
if prefs == None:
cls._kana_typing_rule_section = None
diff --git a/engine/romaji.py b/engine/romaji.py
index b709a32..211627c 100644
--- a/engine/romaji.py
+++ b/engine/romaji.py
@@ -56,7 +56,7 @@ class RomajiSegment(segment.Segment):
super(RomajiSegment, self).__init__(enchars_orig, jachars)
@classmethod
- def _init_romaji_typing_rule(cls, prefs):
+ def INIT_ROMAJI_TYPING_RULE(cls, prefs):
cls._prefs = prefs
if prefs == None:
cls._romaji_typing_rule_section = None
diff --git a/engine/thumb.py b/engine/thumb.py
index 24f6d7d..24b2698 100644
--- a/engine/thumb.py
+++ b/engine/thumb.py
@@ -566,7 +566,7 @@ class ThumbShiftSegment(segment.Segment):
super(ThumbShiftSegment, self).__init__(enchars, jachars)
@classmethod
- def _init_thumb_typing_rule(cls, prefs):
+ def INIT_THUMB_TYPING_RULE(cls, prefs):
cls._prefs = prefs
if prefs == None:
cls._thumb_typing_rule_section = None