Repository : http://git.fedorahosted.org/git/?p=ibus-typing-booster.git
On branch : master
commit af4e08ee2eb7eaf9f4581985395a2c6ca3e00a1d Author: Mike FABIAN mfabian@redhat.com Date: Wed Apr 6 09:56:58 2016 +0200
rename Hunspell.load_dictionaries() to Hunspell.init_dictionaries()
Seems to explain better what the function does.
ibus-typing-booster/engine/hunspell_suggest.py | 6 +++--- ibus-typing-booster/engine/hunspell_table.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ibus-typing-booster/engine/hunspell_suggest.py b/ibus-typing-booster/engine/hunspell_suggest.py index 7f20189..722e7db 100755 --- a/ibus-typing-booster/engine/hunspell_suggest.py +++ b/ibus-typing-booster/engine/hunspell_suggest.py @@ -129,12 +129,12 @@ class Hunspell: %dictionary_names) self.dictionary_names = dictionary_names self.dictionaries = [] - self.load_dictionaries() + self.init_dictionaries()
- def load_dictionaries(self): + def init_dictionaries(self): if debug_level > 1: sys.stderr.write( - "Hunspell.load_dictionaries() dictionary_names=%s\n" + "Hunspell.init_dictionaries() dictionary_names=%s\n" %self.dictionary_names) self.dictionaries = [] for dictionary_name in self.dictionary_names: diff --git a/ibus-typing-booster/engine/hunspell_table.py b/ibus-typing-booster/engine/hunspell_table.py index 902d583..166ae04 100644 --- a/ibus-typing-booster/engine/hunspell_table.py +++ b/ibus-typing-booster/engine/hunspell_table.py @@ -1333,6 +1333,6 @@ class tabengine (IBus.Engine): # A dictionary has bin updated or installed, # (re)load all dictionaries: print("Reloading dictionaries ...") - self.db.hunspell_obj.load_dictionaries() + self.db.hunspell_obj.init_dictionaries() self.reset() return
ibus-typing-booster@lists.fedorahosted.org