Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 635072 Details for
Bug 871056
The setup option “Enable suggestions by Tab Key” in ibus-typing-booster is never saved
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
0001-Save-setup-option-Enable-suggestions-by-Tab-Key-corr.patch
0001-Save-setup-option-Enable-suggestions-by-Tab-Key-corr.patch (text/plain), 54.71 KB, created by
Mike FABIAN
on 2012-10-29 15:52:06 UTC
(
hide
)
Description:
0001-Save-setup-option-Enable-suggestions-by-Tab-Key-corr.patch
Filename:
MIME Type:
Creator:
Mike FABIAN
Created:
2012-10-29 15:52:06 UTC
Size:
54.71 KB
patch
obsolete
>From 39f283dd090814f368cf300c7da3f7f2fec0bfd3 Mon Sep 17 00:00:00 2001 >From: Mike FABIAN <mfabian@redhat.com> >Date: Sat, 27 Oct 2012 18:49:43 +0200 >Subject: [PATCH 1/2] =?UTF-8?q?Save=20setup=20option=20=E2=80=9CEnable=20sug?= > =?UTF-8?q?gestions=20by=20Tab=20Key=E2=80=9D=20correctly=20in=20dconf?= >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Resolves: #871056 https://bugzilla.redhat.com/show_bug.cgi?id=871056 > >- Save the option âEnable suggestions by Tab Keyâ correctly to dconf. > Before this commit, this option was always returned to the default > value âFalseâ again after restarting ibus, even if it had been > enabled in the setup dialog. >- Make this option engine specific instead of global, i.e. make it > possible to switch it on for one engine and off for another. > This option was already in the .conf files, i.e. apparently the intention > was to be able to set it differently for each engine. The behaviour > as a global option was also weird when using the ibus-setup dialog: > there one selects a specific engine and clicks on âsetupâ, it is surprising > if that has an effect on other engines. >- Change the setup option in .conf files to call the setup program > with the new â--nameâ option, that is necessary as well to make > the setup program engine specific. >- When starting an engine and this option is not set in dconf for > that engine, read the default for that engine from the .conf > file of that engine. >--- > ibus-typing-booster/engine/factory.py | 5 --- > ibus-typing-booster/engine/hunspell_table.py | 49 ++++++++++++------------- > ibus-typing-booster/hunspell-tables/ar_TN.conf | 2 +- > ibus-typing-booster/hunspell-tables/as_IN.conf | 2 +- > ibus-typing-booster/hunspell-tables/be_BY.conf | 2 +- > ibus-typing-booster/hunspell-tables/bg_BG.conf | 2 +- > ibus-typing-booster/hunspell-tables/bn_IN.conf | 2 +- > ibus-typing-booster/hunspell-tables/cs_CZ.conf | 2 +- > ibus-typing-booster/hunspell-tables/da_DK.conf | 2 +- > ibus-typing-booster/hunspell-tables/de_AT.conf | 2 +- > ibus-typing-booster/hunspell-tables/de_CH.conf | 2 +- > ibus-typing-booster/hunspell-tables/de_DE.conf | 2 +- > ibus-typing-booster/hunspell-tables/el_GR.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_AG.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_AU.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_BS.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_BW.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_BZ.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_DK.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_GB.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_GH.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_HK.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_IE.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_IN.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_JM.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_NA.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_NG.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_NZ.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_PH.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_SG.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_TT.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_US.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_ZA.conf | 2 +- > ibus-typing-booster/hunspell-tables/en_ZW.conf | 2 +- > ibus-typing-booster/hunspell-tables/es_ES.conf | 2 +- > ibus-typing-booster/hunspell-tables/fa_IR.conf | 2 +- > ibus-typing-booster/hunspell-tables/fr_BE.conf | 2 +- > ibus-typing-booster/hunspell-tables/fr_CA.conf | 2 +- > ibus-typing-booster/hunspell-tables/fr_CH.conf | 2 +- > ibus-typing-booster/hunspell-tables/fr_FR.conf | 2 +- > ibus-typing-booster/hunspell-tables/fr_LU.conf | 2 +- > ibus-typing-booster/hunspell-tables/fr_MC.conf | 2 +- > ibus-typing-booster/hunspell-tables/gu_IN.conf | 2 +- > ibus-typing-booster/hunspell-tables/he_IL.conf | 2 +- > ibus-typing-booster/hunspell-tables/hi_IN.conf | 2 +- > ibus-typing-booster/hunspell-tables/hu_HU.conf | 2 +- > ibus-typing-booster/hunspell-tables/hy_AM.conf | 2 +- > ibus-typing-booster/hunspell-tables/is_IS.conf | 2 +- > ibus-typing-booster/hunspell-tables/it_IT.conf | 2 +- > ibus-typing-booster/hunspell-tables/km_KH.conf | 2 +- > ibus-typing-booster/hunspell-tables/kn_IN.conf | 2 +- > ibus-typing-booster/hunspell-tables/ku_TR.conf | 2 +- > ibus-typing-booster/hunspell-tables/mai_IN.conf | 2 +- > ibus-typing-booster/hunspell-tables/ml_IN.conf | 2 +- > ibus-typing-booster/hunspell-tables/mr_IN.conf | 2 +- > ibus-typing-booster/hunspell-tables/nb_NO.conf | 2 +- > ibus-typing-booster/hunspell-tables/ne_IN.conf | 2 +- > ibus-typing-booster/hunspell-tables/ne_NP.conf | 2 +- > ibus-typing-booster/hunspell-tables/nl_NL.conf | 2 +- > ibus-typing-booster/hunspell-tables/nn_NO.conf | 2 +- > ibus-typing-booster/hunspell-tables/or_IN.conf | 2 +- > ibus-typing-booster/hunspell-tables/pa_IN.conf | 2 +- > ibus-typing-booster/hunspell-tables/pl_PL.conf | 2 +- > ibus-typing-booster/hunspell-tables/pt_BR.conf | 2 +- > ibus-typing-booster/hunspell-tables/pt_PT.conf | 2 +- > ibus-typing-booster/hunspell-tables/ro_RO.conf | 2 +- > ibus-typing-booster/hunspell-tables/ru_RU.conf | 2 +- > ibus-typing-booster/hunspell-tables/si_LK.conf | 2 +- > ibus-typing-booster/hunspell-tables/sv_SE.conf | 2 +- > ibus-typing-booster/hunspell-tables/ta_IN.conf | 2 +- > ibus-typing-booster/hunspell-tables/te_IN.conf | 2 +- > ibus-typing-booster/hunspell-tables/th_TH.conf | 2 +- > ibus-typing-booster/hunspell-tables/uk_UA.conf | 2 +- > ibus-typing-booster/hunspell-tables/ur_PK.conf | 2 +- > ibus-typing-booster/hunspell-tables/yi_US.conf | 2 +- > ibus-typing-booster/setup/main.py | 34 +++++++++++++++-- > 76 files changed, 127 insertions(+), 107 deletions(-) > >diff --git a/ibus-typing-booster/engine/factory.py b/ibus-typing-booster/engine/factory.py >index 6d8d107..78e8bc5 100755 >--- a/ibus-typing-booster/engine/factory.py >+++ b/ibus-typing-booster/engine/factory.py >@@ -55,8 +55,6 @@ class EngineFactory (ibus.EngineFactoryBase): > self.engine_id=0 > try: > bus = dbus.Bus() >- self.__config = self.bus.get_config() >- self.__config.connect('value-changed', self.__config_value_changed_cb) > user = os.path.basename( os.path.expanduser('~') ) > self._sm_bus = bus.get_object ("org.ibus.table.SpeedMeter.%s"\ > % user, "/org/ibus/table/SpeedMeter") >@@ -65,9 +63,6 @@ class EngineFactory (ibus.EngineFactoryBase): > except: > self._sm = None > >- def __config_value_changed_cb(self, config, section, name, value): >- hunspell_table.editor.CONFIG_VALUE_CHANGED(self.bus, section, name, value) >- > def create_engine(self, engine_name): > # because we need db to be past to Engine > # the type (engine_name) == dbus.String >diff --git a/ibus-typing-booster/engine/hunspell_table.py b/ibus-typing-booster/engine/hunspell_table.py >index 51b78d4..9fd8ed9 100755 >--- a/ibus-typing-booster/engine/hunspell_table.py >+++ b/ibus-typing-booster/engine/hunspell_table.py >@@ -93,8 +93,6 @@ N_ = lambda a : a > > import dbus > >-tab_enable = False >- > class KeyEvent: > def __init__(self, keyval, is_press, state): > self.code = keyval >@@ -112,7 +110,7 @@ class editor(object): > self.db = database > self._config = config > self._name = self.db.get_ime_property('name') >- self._config_section = "engine/Table/%s" % self._name >+ self._config_section = "engine/typing-booster/%s" % self._name > self._pt = phrase_table_index > self._parser = parser > self._deparser = deparser >@@ -778,16 +776,6 @@ class editor(object): > '''Return true if there is only one candidate''' > return len(self._candidates[0]) == 1 > >- @classmethod >- def CONFIG_VALUE_CHANGED(cls, bus, section, name, value): >- if name == "tab": >- if value == 1: >- global tab_enable >- tab_enable = True >- else: >- global tab_enable >- tab_enable = False >- > ######################## > ### Engine Class ##### > #################### >@@ -857,10 +845,11 @@ class tabengine (ibus.EngineBase): > > # name for config section > self._name = self.db.get_ime_property('name') >- self._config_section = "engine/Table/%s" % self._name >+ self._config_section = "engine/typing-booster/%s" % self._name > > # config module > self._config = self._bus.get_config () >+ self._config.connect('value-changed', self.__config_value_changed_cb) > # Containers we used: > self._editor = editor(self._config, self._pt, self._valid_input_chars, self._ml, self.db) > # some other vals we used: >@@ -870,6 +859,10 @@ class tabengine (ibus.EngineBase): > self._double_quotation_state = False > self._single_quotation_state = False > self.is_lookup_table_enabled_by_tab = False >+ self._tab_enable = self._config.get_value ( >+ self._config_section, >+ "tabenable", >+ self.db.get_ime_property('tab_enable').lower() == u'true') > # [EnMode,TabMode] we get TabMode properties from db > self._full_width_letter = [ > self._config.get_value (self._config_section, >@@ -1043,7 +1036,7 @@ class tabengine (ibus.EngineBase): > def _update_lookup_table (self): > '''Update Lookup Table in UI''' > if self._editor.is_empty (): >- if tab_enable: >+ if self._tab_enable: > # if everything has been cleared from the editor > # for example by backspace, disable a tab enabled > # lookup table again: >@@ -1058,7 +1051,7 @@ class tabengine (ibus.EngineBase): > if len(self._editor._candidates[0]) == 0: > self.hide_lookup_table() > return >- if tab_enable: >+ if self._tab_enable: > if self.is_lookup_table_enabled_by_tab: > self.update_lookup_table ( self._editor.get_lookup_table(), True, False ) > else: >@@ -1074,7 +1067,7 @@ class tabengine (ibus.EngineBase): > > > def commit_string (self,string): >- if tab_enable: >+ if self._tab_enable: > # after each commit, disable a tab enabled lookup > # table again, i.e. one needs to press tab again > # while typing the next word to show the lookup table >@@ -1323,7 +1316,7 @@ class tabengine (ibus.EngineBase): > return True > > elif key.code == keysyms.Tab: >- if tab_enable: >+ if self._tab_enable: > # toggle whether the lookup table should be displayed > # or not > if self.is_lookup_table_enabled_by_tab == True: >@@ -1397,11 +1390,17 @@ class tabengine (ibus.EngineBase): > return True > return False > >- # for further implementation :) >- >- @classmethod >- def CONFIG_RELOADED(cls, bus): >- print "config reloaded" >- config = bus.get_config() >- if section != self._config_section: >+ def config_section_normalize(self, section): >+ # attention in Turkish locale, >+ # should use locale independent lower() here! >+ return re.sub(r'[_:]', r'-', section).lower() >+ >+ def __config_value_changed_cb(self, config, section, name, value): >+ if self.config_section_normalize(self._config_section) != self.config_section_normalize(section): > return >+ print "config value for engine %s changed" %self._name >+ if name == "tabenable": >+ if value == 1: >+ self._tab_enable = True >+ else: >+ self._tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/ar_TN.conf b/ibus-typing-booster/hunspell-tables/ar_TN.conf >index f42e693..251719d 100644 >--- a/ibus-typing-booster/hunspell-tables/ar_TN.conf >+++ b/ibus-typing-booster/hunspell-tables/ar_TN.conf >@@ -49,5 +49,5 @@ other_ime = TRUE > # and these cannot be added to the list of valid input characters because > # this would prevent selecting between the suggested candidates. > imes = Native Keyboard:NoIme,Simulated Arabic Keyboard:ar-kbd >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:ar_TN > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/as_IN.conf b/ibus-typing-booster/hunspell-tables/as_IN.conf >index f16bfc6..4d01003 100644 >--- a/ibus-typing-booster/hunspell-tables/as_IN.conf >+++ b/ibus-typing-booster/hunspell-tables/as_IN.conf >@@ -26,5 +26,5 @@ m17n_mim_name = as-inscript > encoding = UTF-8 > other_ime = TRUE > imes = Inscript:as-inscript,Itrans:as-itrans,Phonetic:as-phonetic >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:as_IN > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/be_BY.conf b/ibus-typing-booster/hunspell-tables/be_BY.conf >index 36cf351..042d9be 100644 >--- a/ibus-typing-booster/hunspell-tables/be_BY.conf >+++ b/ibus-typing-booster/hunspell-tables/be_BY.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Simulated Belarusian Keyboard:be-kbd >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:be_BY > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/bg_BG.conf b/ibus-typing-booster/hunspell-tables/bg_BG.conf >index 3c50460..a7c16ad 100644 >--- a/ibus-typing-booster/hunspell-tables/bg_BG.conf >+++ b/ibus-typing-booster/hunspell-tables/bg_BG.conf >@@ -43,5 +43,5 @@ other_ime = False > # as they are produced by the keyboard layout directly without any > # transliteration. > # imes = Native Keyboard:NoIme >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:bg_BG > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/bn_IN.conf b/ibus-typing-booster/hunspell-tables/bn_IN.conf >index 5b33060..32e8b42 100644 >--- a/ibus-typing-booster/hunspell-tables/bn_IN.conf >+++ b/ibus-typing-booster/hunspell-tables/bn_IN.conf >@@ -26,5 +26,5 @@ m17n_mim_name = bn-inscript > encoding = UTF-8 > other_ime = TRUE > imes = Inscript:bn-inscript,Probhat:bn-probhat,Itrans:bn-itrans >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:bn_IN > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/cs_CZ.conf b/ibus-typing-booster/hunspell-tables/cs_CZ.conf >index bd30f32..3e8da12 100644 >--- a/ibus-typing-booster/hunspell-tables/cs_CZ.conf >+++ b/ibus-typing-booster/hunspell-tables/cs_CZ.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Latin-Post:t-latn-post >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:cs_CZ > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/da_DK.conf b/ibus-typing-booster/hunspell-tables/da_DK.conf >index 77c16ed..bcd3715 100644 >--- a/ibus-typing-booster/hunspell-tables/da_DK.conf >+++ b/ibus-typing-booster/hunspell-tables/da_DK.conf >@@ -44,5 +44,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Danish-Post:da-post,Latin-Pre:t-latn-pre,Latin-Post:t-latn-post >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:da_DK > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/de_AT.conf b/ibus-typing-booster/hunspell-tables/de_AT.conf >index 67cb0d2..26d8ad4 100644 >--- a/ibus-typing-booster/hunspell-tables/de_AT.conf >+++ b/ibus-typing-booster/hunspell-tables/de_AT.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Latin-Pre:t-latn-pre,Latin-Post:t-latn-post >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:de_AT > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/de_CH.conf b/ibus-typing-booster/hunspell-tables/de_CH.conf >index f8b9279..636c487 100644 >--- a/ibus-typing-booster/hunspell-tables/de_CH.conf >+++ b/ibus-typing-booster/hunspell-tables/de_CH.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Latin-Pre:t-latn-pre,Latin-Post:t-latn-post >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:de_CH > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/de_DE.conf b/ibus-typing-booster/hunspell-tables/de_DE.conf >index d76f550..8e50af3 100644 >--- a/ibus-typing-booster/hunspell-tables/de_DE.conf >+++ b/ibus-typing-booster/hunspell-tables/de_DE.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Latin-Pre:t-latn-pre,Latin-Post:t-latn-post >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:de_DE > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/el_GR.conf b/ibus-typing-booster/hunspell-tables/el_GR.conf >index cae3ac8..96a51ef 100644 >--- a/ibus-typing-booster/hunspell-tables/el_GR.conf >+++ b/ibus-typing-booster/hunspell-tables/el_GR.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Simulated Greek Keyboard:el-kbd >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:el_GR > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_AG.conf b/ibus-typing-booster/hunspell-tables/en_AG.conf >index bd097eb..42b77f7 100644 >--- a/ibus-typing-booster/hunspell-tables/en_AG.conf >+++ b/ibus-typing-booster/hunspell-tables/en_AG.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-AG(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_AG > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_AU.conf b/ibus-typing-booster/hunspell-tables/en_AU.conf >index c707377..5560aa9 100644 >--- a/ibus-typing-booster/hunspell-tables/en_AU.conf >+++ b/ibus-typing-booster/hunspell-tables/en_AU.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-AU(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_AU > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_BS.conf b/ibus-typing-booster/hunspell-tables/en_BS.conf >index 3744507..ff257e8 100644 >--- a/ibus-typing-booster/hunspell-tables/en_BS.conf >+++ b/ibus-typing-booster/hunspell-tables/en_BS.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-BS(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_BS > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_BW.conf b/ibus-typing-booster/hunspell-tables/en_BW.conf >index 2ed258d..df4d0ee 100644 >--- a/ibus-typing-booster/hunspell-tables/en_BW.conf >+++ b/ibus-typing-booster/hunspell-tables/en_BW.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-BW(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_BW > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_BZ.conf b/ibus-typing-booster/hunspell-tables/en_BZ.conf >index fc85197..2f47117 100644 >--- a/ibus-typing-booster/hunspell-tables/en_BZ.conf >+++ b/ibus-typing-booster/hunspell-tables/en_BZ.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-BZ(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_BZ > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_DK.conf b/ibus-typing-booster/hunspell-tables/en_DK.conf >index 2748ac8..7dcc56b 100644 >--- a/ibus-typing-booster/hunspell-tables/en_DK.conf >+++ b/ibus-typing-booster/hunspell-tables/en_DK.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-DK(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_DK > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_GB.conf b/ibus-typing-booster/hunspell-tables/en_GB.conf >index 5abb41f..5896e4f 100644 >--- a/ibus-typing-booster/hunspell-tables/en_GB.conf >+++ b/ibus-typing-booster/hunspell-tables/en_GB.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-GB(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_GB > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_GH.conf b/ibus-typing-booster/hunspell-tables/en_GH.conf >index 838973a..f05d81c 100644 >--- a/ibus-typing-booster/hunspell-tables/en_GH.conf >+++ b/ibus-typing-booster/hunspell-tables/en_GH.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-GH(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_GH > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_HK.conf b/ibus-typing-booster/hunspell-tables/en_HK.conf >index 895cfcb..1e787f7 100644 >--- a/ibus-typing-booster/hunspell-tables/en_HK.conf >+++ b/ibus-typing-booster/hunspell-tables/en_HK.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-HK(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_HK > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_IE.conf b/ibus-typing-booster/hunspell-tables/en_IE.conf >index 9aada11..55df54e 100644 >--- a/ibus-typing-booster/hunspell-tables/en_IE.conf >+++ b/ibus-typing-booster/hunspell-tables/en_IE.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-IE(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_IE > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_IN.conf b/ibus-typing-booster/hunspell-tables/en_IN.conf >index bb88da3..686f721 100644 >--- a/ibus-typing-booster/hunspell-tables/en_IN.conf >+++ b/ibus-typing-booster/hunspell-tables/en_IN.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-IN(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_IN > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_JM.conf b/ibus-typing-booster/hunspell-tables/en_JM.conf >index afcf67d..9e56e8d 100644 >--- a/ibus-typing-booster/hunspell-tables/en_JM.conf >+++ b/ibus-typing-booster/hunspell-tables/en_JM.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-JM(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_JM > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_NA.conf b/ibus-typing-booster/hunspell-tables/en_NA.conf >index 69201d5..7535147 100644 >--- a/ibus-typing-booster/hunspell-tables/en_NA.conf >+++ b/ibus-typing-booster/hunspell-tables/en_NA.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-NA(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_NA > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_NG.conf b/ibus-typing-booster/hunspell-tables/en_NG.conf >index 99c343e..fa28a01 100644 >--- a/ibus-typing-booster/hunspell-tables/en_NG.conf >+++ b/ibus-typing-booster/hunspell-tables/en_NG.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-NG(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_NG > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_NZ.conf b/ibus-typing-booster/hunspell-tables/en_NZ.conf >index 38d958c..425a106 100644 >--- a/ibus-typing-booster/hunspell-tables/en_NZ.conf >+++ b/ibus-typing-booster/hunspell-tables/en_NZ.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-NZ(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_NZ > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_PH.conf b/ibus-typing-booster/hunspell-tables/en_PH.conf >index 7d72ca2..1fd246e 100644 >--- a/ibus-typing-booster/hunspell-tables/en_PH.conf >+++ b/ibus-typing-booster/hunspell-tables/en_PH.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-PH(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_PH > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_SG.conf b/ibus-typing-booster/hunspell-tables/en_SG.conf >index 6948cc3..38106a4 100644 >--- a/ibus-typing-booster/hunspell-tables/en_SG.conf >+++ b/ibus-typing-booster/hunspell-tables/en_SG.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-SG(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_SG > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_TT.conf b/ibus-typing-booster/hunspell-tables/en_TT.conf >index 5840049..d5db7f8 100644 >--- a/ibus-typing-booster/hunspell-tables/en_TT.conf >+++ b/ibus-typing-booster/hunspell-tables/en_TT.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-TT(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_TT > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_US.conf b/ibus-typing-booster/hunspell-tables/en_US.conf >index 4abc45c..de8bf88 100644 >--- a/ibus-typing-booster/hunspell-tables/en_US.conf >+++ b/ibus-typing-booster/hunspell-tables/en_US.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-US(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_US > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_ZA.conf b/ibus-typing-booster/hunspell-tables/en_ZA.conf >index e3c50e5..79624f0 100644 >--- a/ibus-typing-booster/hunspell-tables/en_ZA.conf >+++ b/ibus-typing-booster/hunspell-tables/en_ZA.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-ZA(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_ZA > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/en_ZW.conf b/ibus-typing-booster/hunspell-tables/en_ZW.conf >index 86972e3..5e1da08 100644 >--- a/ibus-typing-booster/hunspell-tables/en_ZW.conf >+++ b/ibus-typing-booster/hunspell-tables/en_ZW.conf >@@ -23,5 +23,5 @@ page_size = 6 > symbol= en-ZW(Hunspell) > encoding = ISO-8859-1 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:en_ZW > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/es_ES.conf b/ibus-typing-booster/hunspell-tables/es_ES.conf >index 2a1aa41..98d865a 100644 >--- a/ibus-typing-booster/hunspell-tables/es_ES.conf >+++ b/ibus-typing-booster/hunspell-tables/es_ES.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Latin-Pre:t-latn-pre,Latin-Post:t-latn-post >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:es_ES > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/fa_IR.conf b/ibus-typing-booster/hunspell-tables/fa_IR.conf >index b296dad..a68c54c 100644 >--- a/ibus-typing-booster/hunspell-tables/fa_IR.conf >+++ b/ibus-typing-booster/hunspell-tables/fa_IR.conf >@@ -49,5 +49,5 @@ other_ime = TRUE > # and these cannot be added to the list of valid input characters because > # this would prevent selecting between the suggested candidates. > imes = Native Keyboard:NoIme,Simulated Persian Keyboard:fa-isiri >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:fa_IR > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/fr_BE.conf b/ibus-typing-booster/hunspell-tables/fr_BE.conf >index dc4ed33..6ce3d40 100644 >--- a/ibus-typing-booster/hunspell-tables/fr_BE.conf >+++ b/ibus-typing-booster/hunspell-tables/fr_BE.conf >@@ -51,5 +51,5 @@ other_ime = False > # So better set other_ime=False for French and only use the native > # keyboard. > #imes = Native Keyboard:NoIme,Simulated Azerty keyboard:fr-azerty >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:fr_BE > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/fr_CA.conf b/ibus-typing-booster/hunspell-tables/fr_CA.conf >index be5b508..f3f7f91 100644 >--- a/ibus-typing-booster/hunspell-tables/fr_CA.conf >+++ b/ibus-typing-booster/hunspell-tables/fr_CA.conf >@@ -51,5 +51,5 @@ other_ime = False > # So better set other_ime=False for French and only use the native > # keyboard. > #imes = Native Keyboard:NoIme,Simulated Azerty keyboard:fr-azerty >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:fr_CA > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/fr_CH.conf b/ibus-typing-booster/hunspell-tables/fr_CH.conf >index d3e4ed9..a509a33 100644 >--- a/ibus-typing-booster/hunspell-tables/fr_CH.conf >+++ b/ibus-typing-booster/hunspell-tables/fr_CH.conf >@@ -51,5 +51,5 @@ other_ime = False > # So better set other_ime=False for French and only use the native > # keyboard. > #imes = Native Keyboard:NoIme,Simulated Azerty keyboard:fr-azerty >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:fr_CH > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/fr_FR.conf b/ibus-typing-booster/hunspell-tables/fr_FR.conf >index 924b8ef..c81cab9 100644 >--- a/ibus-typing-booster/hunspell-tables/fr_FR.conf >+++ b/ibus-typing-booster/hunspell-tables/fr_FR.conf >@@ -51,5 +51,5 @@ other_ime = False > # So better set other_ime=False for French and only use the native > # keyboard. > #imes = Native Keyboard:NoIme,Simulated Azerty keyboard:fr-azerty >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:fr_FR > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/fr_LU.conf b/ibus-typing-booster/hunspell-tables/fr_LU.conf >index b85d322..4ce5290 100644 >--- a/ibus-typing-booster/hunspell-tables/fr_LU.conf >+++ b/ibus-typing-booster/hunspell-tables/fr_LU.conf >@@ -51,5 +51,5 @@ other_ime = False > # So better set other_ime=False for French and only use the native > # keyboard. > #imes = Native Keyboard:NoIme,Simulated Azerty keyboard:fr-azerty >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:fr_LU > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/fr_MC.conf b/ibus-typing-booster/hunspell-tables/fr_MC.conf >index 9da466a..452ff49 100644 >--- a/ibus-typing-booster/hunspell-tables/fr_MC.conf >+++ b/ibus-typing-booster/hunspell-tables/fr_MC.conf >@@ -51,5 +51,5 @@ other_ime = False > # So better set other_ime=False for French and only use the native > # keyboard. > #imes = Native Keyboard:NoIme,Simulated Azerty keyboard:fr-azerty >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:fr_MC > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/gu_IN.conf b/ibus-typing-booster/hunspell-tables/gu_IN.conf >index 4f0bc85..fc08a20 100644 >--- a/ibus-typing-booster/hunspell-tables/gu_IN.conf >+++ b/ibus-typing-booster/hunspell-tables/gu_IN.conf >@@ -26,5 +26,5 @@ m17n_mim_name = gu-inscript > encoding = UTF-8 > other_ime = TRUE > imes = Inscript:gu-inscript,Phonetic:gu-phonetic,Itrans:gu-itrans >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:gu_IN > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/he_IL.conf b/ibus-typing-booster/hunspell-tables/he_IL.conf >index 1b80338..25ccc97 100644 >--- a/ibus-typing-booster/hunspell-tables/he_IL.conf >+++ b/ibus-typing-booster/hunspell-tables/he_IL.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Simulated Hebrew Keyboard:he-kbd >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:he_IL > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/hi_IN.conf b/ibus-typing-booster/hunspell-tables/hi_IN.conf >index 94a57dd..58ec2ca 100644 >--- a/ibus-typing-booster/hunspell-tables/hi_IN.conf >+++ b/ibus-typing-booster/hunspell-tables/hi_IN.conf >@@ -26,5 +26,5 @@ m17n_mim_name = hi-inscript > encoding = UTF-8 > other_ime = TRUE > imes = Inscript:hi-inscript,Phonetic:hi-phonetic,Itrans:hi-itrans,Remington:hi-remington,Typewriter:hi-typewriter,Vedmata:hi-vedmata >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:hi_IN > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/hu_HU.conf b/ibus-typing-booster/hunspell-tables/hu_HU.conf >index d563933..c708c61 100644 >--- a/ibus-typing-booster/hunspell-tables/hu_HU.conf >+++ b/ibus-typing-booster/hunspell-tables/hu_HU.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Latin-Post:t-latn-post >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:hu_HU > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/hy_AM.conf b/ibus-typing-booster/hunspell-tables/hy_AM.conf >index 43f6c0f..c2a6dde 100644 >--- a/ibus-typing-booster/hunspell-tables/hy_AM.conf >+++ b/ibus-typing-booster/hunspell-tables/hy_AM.conf >@@ -55,5 +55,5 @@ other_ime = False > # select one off the suggested candidates only with the arrow keys > # followed by space. > #imes = Native Keyboard:NoIme,Simulated Armenian keyboard:hy-kbd >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:hy_AM > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/is_IS.conf b/ibus-typing-booster/hunspell-tables/is_IS.conf >index f7e93c7..7082c11 100644 >--- a/ibus-typing-booster/hunspell-tables/is_IS.conf >+++ b/ibus-typing-booster/hunspell-tables/is_IS.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Latin-Post:t-latn-post >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:is_IS > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/it_IT.conf b/ibus-typing-booster/hunspell-tables/it_IT.conf >index 77d0f7f..45c3134 100644 >--- a/ibus-typing-booster/hunspell-tables/it_IT.conf >+++ b/ibus-typing-booster/hunspell-tables/it_IT.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Latin-Pre:t-latn-pre,Latin-Post:t-latn-post >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:it_IT > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/km_KH.conf b/ibus-typing-booster/hunspell-tables/km_KH.conf >index bb912f8..99979f7 100644 >--- a/ibus-typing-booster/hunspell-tables/km_KH.conf >+++ b/ibus-typing-booster/hunspell-tables/km_KH.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Yannis:km-yannis >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:km_KH > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/kn_IN.conf b/ibus-typing-booster/hunspell-tables/kn_IN.conf >index 1aa161d..5b8b332 100644 >--- a/ibus-typing-booster/hunspell-tables/kn_IN.conf >+++ b/ibus-typing-booster/hunspell-tables/kn_IN.conf >@@ -26,5 +26,5 @@ m17n_mim_name = kn-inscript > encoding = UTF-8 > other_ime = TRUE > imes = Inscript:kn-inscript,Itrans:kn-itrans,Kgp:kn-kgp,Typewriter:kn-typewriter >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:kn_IN > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/ku_TR.conf b/ibus-typing-booster/hunspell-tables/ku_TR.conf >index 365710c..c5c4989 100644 >--- a/ibus-typing-booster/hunspell-tables/ku_TR.conf >+++ b/ibus-typing-booster/hunspell-tables/ku_TR.conf >@@ -43,5 +43,5 @@ other_ime = False > # as they are produced by the keyboard layout directly without any > # transliteration. > #imes = Native Keyboard:NoIme >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:ku_TR > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/mai_IN.conf b/ibus-typing-booster/hunspell-tables/mai_IN.conf >index 05ab3fe..48340fe 100644 >--- a/ibus-typing-booster/hunspell-tables/mai_IN.conf >+++ b/ibus-typing-booster/hunspell-tables/mai_IN.conf >@@ -25,5 +25,5 @@ lang_chars = ()à¤à¤à¤ à¤à¤à¤à¤âà¤à¤à¤à¤±à¤²à¤à¤à¤à¤à¤à¤à¤à¤ > m17n_mim_name = mai-inscript > encoding = UTF-8 > other_ime = FALSE >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:mai_IN > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/ml_IN.conf b/ibus-typing-booster/hunspell-tables/ml_IN.conf >index 8204657..5182563 100644 >--- a/ibus-typing-booster/hunspell-tables/ml_IN.conf >+++ b/ibus-typing-booster/hunspell-tables/ml_IN.conf >@@ -26,5 +26,5 @@ m17n_mim_name = ml-inscript > encoding = UTF-8 > other_ime = TRUE > imes = Inscript:ml-inscript,Mozhi:ml-mozhi,Itrans:ml-itrans,Swanalekha:ml-swanalekha >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:ml_IN > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/mr_IN.conf b/ibus-typing-booster/hunspell-tables/mr_IN.conf >index 7e0ea5b..fac9d76 100644 >--- a/ibus-typing-booster/hunspell-tables/mr_IN.conf >+++ b/ibus-typing-booster/hunspell-tables/mr_IN.conf >@@ -26,5 +26,5 @@ m17n_mim_name = mr-inscript > encoding = UTF-8 > other_ime = TRUE > imes = Inscript:mr-inscript,Phonetic:mr-phonetic,Itrans:mr-itrans >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:mr_IN > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/nb_NO.conf b/ibus-typing-booster/hunspell-tables/nb_NO.conf >index 18f85a2..4b40b9a 100644 >--- a/ibus-typing-booster/hunspell-tables/nb_NO.conf >+++ b/ibus-typing-booster/hunspell-tables/nb_NO.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Latin-Pre:t-latn-pre,Latin-Post:t-latn-post >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:nb_NO > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/ne_IN.conf b/ibus-typing-booster/hunspell-tables/ne_IN.conf >index 1702b7a..709095d 100644 >--- a/ibus-typing-booster/hunspell-tables/ne_IN.conf >+++ b/ibus-typing-booster/hunspell-tables/ne_IN.conf >@@ -25,5 +25,5 @@ lang_chars = à¤à¤âà¤à¤à¤ ढद(प,म0ल4श8ाà¥à¥¦à¥ªà¥®ï»¿à¤à¤ > m17n_mim_name = ne-rom > encoding = UTF-8 > other_ime = FALSE >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:ne_IN > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/ne_NP.conf b/ibus-typing-booster/hunspell-tables/ne_NP.conf >index 46b1f0e..1d09adf 100644 >--- a/ibus-typing-booster/hunspell-tables/ne_NP.conf >+++ b/ibus-typing-booster/hunspell-tables/ne_NP.conf >@@ -25,5 +25,5 @@ lang_chars = à¤à¤âà¤à¤à¤ ढद(प,म0ल4श8ाà¥à¥¦à¥ªà¥®ï»¿à¤à¤ > m17n_mim_name = ne-rom > encoding = UTF-8 > other_ime = False >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:ne_NP > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/nl_NL.conf b/ibus-typing-booster/hunspell-tables/nl_NL.conf >index 0de03c1..e2afda1 100644 >--- a/ibus-typing-booster/hunspell-tables/nl_NL.conf >+++ b/ibus-typing-booster/hunspell-tables/nl_NL.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Latin-Pre:t-latn-pre,Latin-Post:t-latn-post >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:nl_NL > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/nn_NO.conf b/ibus-typing-booster/hunspell-tables/nn_NO.conf >index bd8ebc2..ae864cc 100644 >--- a/ibus-typing-booster/hunspell-tables/nn_NO.conf >+++ b/ibus-typing-booster/hunspell-tables/nn_NO.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Latin-Pre:t-latn-pre,Latin-Post:t-latn-post >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:nn_NO > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/or_IN.conf b/ibus-typing-booster/hunspell-tables/or_IN.conf >index f12eb02..4cbaf08 100644 >--- a/ibus-typing-booster/hunspell-tables/or_IN.conf >+++ b/ibus-typing-booster/hunspell-tables/or_IN.conf >@@ -26,5 +26,5 @@ m17n_mim_name = or-inscript > encoding = UTF-8 > other_ime = TRUE > imes = Inscript:or-inscript,Phonetic:or-phonetic,Itrans:or-itrans >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:or_IN > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/pa_IN.conf b/ibus-typing-booster/hunspell-tables/pa_IN.conf >index e18e090..c30082b 100644 >--- a/ibus-typing-booster/hunspell-tables/pa_IN.conf >+++ b/ibus-typing-booster/hunspell-tables/pa_IN.conf >@@ -26,5 +26,5 @@ m17n_mim_name = pa-inscript > encoding = UTF-8 > other_ime = TRUE > imes = Inscript:pa-inscript,Phonetic:pa-phonetic,Itrans:pa-itrans,Jhelum:pa-jhelum >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:pa_IN > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/pl_PL.conf b/ibus-typing-booster/hunspell-tables/pl_PL.conf >index e71c05d..6747dc9 100644 >--- a/ibus-typing-booster/hunspell-tables/pl_PL.conf >+++ b/ibus-typing-booster/hunspell-tables/pl_PL.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Latin-Post:t-latn-post >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:pl_PL > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/pt_BR.conf b/ibus-typing-booster/hunspell-tables/pt_BR.conf >index 50391ad..058df31 100644 >--- a/ibus-typing-booster/hunspell-tables/pt_BR.conf >+++ b/ibus-typing-booster/hunspell-tables/pt_BR.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Latin-Pre:t-latn-pre,Latin-Post:t-latn-post >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:pt_BR > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/pt_PT.conf b/ibus-typing-booster/hunspell-tables/pt_PT.conf >index 18566a9..8585b99 100644 >--- a/ibus-typing-booster/hunspell-tables/pt_PT.conf >+++ b/ibus-typing-booster/hunspell-tables/pt_PT.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Latin-Pre:t-latn-pre,Latin-Post:t-latn-post >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:pt_PT > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/ro_RO.conf b/ibus-typing-booster/hunspell-tables/ro_RO.conf >index 327a341..44310e2 100644 >--- a/ibus-typing-booster/hunspell-tables/ro_RO.conf >+++ b/ibus-typing-booster/hunspell-tables/ro_RO.conf >@@ -42,5 +42,5 @@ other_ime = False > # means âDo not use any m17n transliteration at all, use the characters > # as they are produced by the keyboard layout directly without any > # transliteration. >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:ro_RO > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/ru_RU.conf b/ibus-typing-booster/hunspell-tables/ru_RU.conf >index 3251965..64b80ae 100644 >--- a/ibus-typing-booster/hunspell-tables/ru_RU.conf >+++ b/ibus-typing-booster/hunspell-tables/ru_RU.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Simulated Russian Keyboard:ru-kbd,Transliteration:ru-translit,Phonetic:ru-phonetic,Yawerty:ru-yawerty >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:ru_RU > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/si_LK.conf b/ibus-typing-booster/hunspell-tables/si_LK.conf >index ef14cfb..fe8cf98 100644 >--- a/ibus-typing-booster/hunspell-tables/si_LK.conf >+++ b/ibus-typing-booster/hunspell-tables/si_LK.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Phonetic Dynamic:si-phonetic-dynamic,Samanala Transliteration:si-samanala,Singlish Transliteration:si-singlish,Sumihiri Transliteration:si-sumihiri,Transliteration:si-transliteration,Wijesekera:si-wijesekera >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:si_LK > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/sv_SE.conf b/ibus-typing-booster/hunspell-tables/sv_SE.conf >index 489447b..68812fc 100644 >--- a/ibus-typing-booster/hunspell-tables/sv_SE.conf >+++ b/ibus-typing-booster/hunspell-tables/sv_SE.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Latin-Pre:t-latn-pre,Latin-Post:t-latn-post,Swedish-Post:sv-post >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:sv_SE > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/ta_IN.conf b/ibus-typing-booster/hunspell-tables/ta_IN.conf >index 8c78b3b..8ecdea1 100644 >--- a/ibus-typing-booster/hunspell-tables/ta_IN.conf >+++ b/ibus-typing-booster/hunspell-tables/ta_IN.conf >@@ -26,5 +26,5 @@ m17n_mim_name = ta-inscript > encoding = UTF-8 > other_ime = TRUE > imes = Inscript:ta-inscript,Phonetic:ta-phonetic,Itrans:ta-itrans,Typewriter:ta-typewriter >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:ta_IN > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/te_IN.conf b/ibus-typing-booster/hunspell-tables/te_IN.conf >index 41d07ad..8b89d15 100644 >--- a/ibus-typing-booster/hunspell-tables/te_IN.conf >+++ b/ibus-typing-booster/hunspell-tables/te_IN.conf >@@ -26,5 +26,5 @@ m17n_mim_name = te-inscript > encoding = UTF-8 > other_ime = TRUE > imes = Inscript:te-inscript,Itrans:te-itrans,Apple:te-apple,Pothana:te-pothana,Rts:te-rts >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:te_IN > tab_enable = False >\ No newline at end of file >diff --git a/ibus-typing-booster/hunspell-tables/th_TH.conf b/ibus-typing-booster/hunspell-tables/th_TH.conf >index 59743ba..77aff1d 100644 >--- a/ibus-typing-booster/hunspell-tables/th_TH.conf >+++ b/ibus-typing-booster/hunspell-tables/th_TH.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,Kesmanee:th-kesmanee,Pattachote:th-pattachote,TIS820:th-tis820 >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:th_TH > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/uk_UA.conf b/ibus-typing-booster/hunspell-tables/uk_UA.conf >index ef840de..c693fa7 100644 >--- a/ibus-typing-booster/hunspell-tables/uk_UA.conf >+++ b/ibus-typing-booster/hunspell-tables/uk_UA.conf >@@ -43,5 +43,5 @@ other_ime = False > # as they are produced by the keyboard layout directly without any > # transliteration. > # imes = Native Keyboard:NoIme >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:uk_UA > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/ur_PK.conf b/ibus-typing-booster/hunspell-tables/ur_PK.conf >index ff88f92..ea8d760 100644 >--- a/ibus-typing-booster/hunspell-tables/ur_PK.conf >+++ b/ibus-typing-booster/hunspell-tables/ur_PK.conf >@@ -49,5 +49,5 @@ other_ime = TRUE > # these cannot be added to the list of valid input characters because > # this would prevent selecting between the suggested candidates. > imes = Native Keyboard:NoIme,Phonetic:ur-phonetic >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:ur_PK > tab_enable = False >diff --git a/ibus-typing-booster/hunspell-tables/yi_US.conf b/ibus-typing-booster/hunspell-tables/yi_US.conf >index 80a643f..05cb482 100644 >--- a/ibus-typing-booster/hunspell-tables/yi_US.conf >+++ b/ibus-typing-booster/hunspell-tables/yi_US.conf >@@ -43,5 +43,5 @@ other_ime = TRUE > # as they are produced by the keyboard layout directly without any > # transliteration. > imes = Native Keyboard:NoIme,YIVO Transliteration:yi-yivo >-setup = /usr/libexec/ibus-setup-typing-booster >+setup = /usr/libexec/ibus-setup-typing-booster --name typing-booster:yi_US > tab_enable = False >diff --git a/ibus-typing-booster/setup/main.py b/ibus-typing-booster/setup/main.py >index f22984c..a93b915 100644 >--- a/ibus-typing-booster/setup/main.py >+++ b/ibus-typing-booster/setup/main.py >@@ -23,6 +23,33 @@ > # > > >+import sys >+import os >+from os import path >+import optparse >+ >+opt = optparse.OptionParser() >+opt.set_usage ('%prog [options]') >+opt.add_option('-n', '--name', >+ action = 'store',type = 'string',dest = 'name',default = '', >+ help = 'Set the name of the ime engine, default: %default') >+opt.add_option( '-q', '--no-debug', >+ action = 'store_false',dest = 'debug',default = True, >+ help = 'redirect stdout and stderr to ~/.local/share/.ibus/ibus-typing-booster/setup-debug.log, default: %default') >+ >+(options, args) = opt.parse_args() >+ >+if options.debug: >+ if not os.access ( os.path.expanduser('~/.local/share/.ibus/ibus-typing-booster'), os.F_OK): >+ os.system ('mkdir -p ~/.local/share/.ibus/ibus-typing-booster') >+ logfile = os.path.expanduser('~/.local/share/.ibus/ibus-typing-booster/setup-debug.log') >+ sys.stdout = open (logfile,'a',0) >+ sys.stderr = open (logfile,'a',0) >+ from time import strftime >+ print '--- ', strftime('%Y-%m-%d: %H:%M:%S'), ' ---' >+ >+config_section = "engine/typing-booster/%s" %options.name >+ > from gi.repository import Gtk > from gi.repository import Gdk > from gi.repository import Pango >@@ -30,7 +57,6 @@ from gi.repository import IBus > from gi.repository import GLib > from pref import DictPref > from pkginstall import InstallPkg >-from os import path > > class SetupUI: > def __init__(self): >@@ -57,7 +83,7 @@ class SetupUI: > close_button.connect('clicked', event_handler.onCloseClicked) > chkbox = self.builder.get_object("checkbutton1") > chkbox.connect('clicked', event_handler.onCheck) >- if self.variant_to_value(self.config.get_value('Key','Tab')) == True: >+ if self.variant_to_value(self.config.get_value(config_section,'tabenable')) == True: > chkbox.set_active(True) > > def __run_message_dialog(self, message, type=Gtk.MessageType.INFO): >@@ -108,9 +134,9 @@ class EventHander: > def onCheck(self,widget): > try: > if widget.get_active(): >- SetupUi.config.set_value('key','Tab',GLib.Variant.new_boolean(True)) >+ SetupUi.config.set_value(config_section,'tabenable',GLib.Variant.new_boolean(True)) > else: >- SetupUi.config.set_value('key','Tab',GLib.Variant.new_boolean(False)) >+ SetupUi.config.set_value(config_section,'tabenable',GLib.Variant.new_boolean(False)) > except: > #Future on error need to check local db > pass >-- >1.7.11.7 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 871056
: 635072