Skip to content

Commit

Permalink
Initialize self.dictionary_sub_properties_prop_list = [] in self._ini…
Browse files Browse the repository at this point in the history
…t_properties()

Add call self._update_dictionary_menu_dicts() in def set_keybindings().

Resolves: #46
(`make check` fails on FreeBSD since 2.5.0)
  • Loading branch information
mike-fabian committed Feb 7, 2019
1 parent 3cc58f4 commit aba1b25
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions engine/hunspell_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -1260,6 +1260,8 @@ def set_keybindings(self, keybindings, update_gsettings=True):
if self.off_the_record_mode_menu:
self.off_the_record_mode_menu['shortcut_hint'] = (
repr(self._keybindings['toggle_off_the_record']))
if self.dictionary_menu:
self._update_dictionary_menu_dicts()
if self.preedit_ime_menu:
self._update_preedit_ime_menu_dicts()
self._init_properties()
Expand Down Expand Up @@ -1608,6 +1610,7 @@ def _init_properties(self):
self._prop_dict = {}
self._sub_props_dict = {}
self.preedit_ime_sub_properties_prop_list = []
self.dictionary_sub_properties_prop_list = []
self.main_prop_list = IBus.PropList()

if self._keybindings['toggle_input_mode_on_off']:
Expand Down

0 comments on commit aba1b25

Please sign in to comment.