Skip to content

Commit

Permalink
Make true the default for “rememberinputmode”
Browse files Browse the repository at this point in the history
When the input mode is remembered, it works much better when using
“[x] Switch input sources individually for each window”.

See: #85 (comment)

Overall remembering the input mode is the nicer default.
  • Loading branch information
mike-fabian committed Jan 18, 2022
1 parent 41b3538 commit 8ce8323
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion engine/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -2207,7 +2207,7 @@ def set_input_mode(self,
self.reset()

def set_remember_input_mode(self,
remember_input_mode: bool = False,
remember_input_mode: bool = True,
update_gsettings: bool = True) -> None:
'''Sets whether the input mode (direct or table) is remembered
Expand Down
2 changes: 1 addition & 1 deletion org.freedesktop.ibus.engine.table.gschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<default>1</default>
</key>
<key name="rememberinputmode" type="b">
<default>false</default>
<default>true</default>
</key>
<key name="chinesemode" type="i">
<default>4</default>
Expand Down
2 changes: 1 addition & 1 deletion setup/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2324,7 +2324,7 @@ def set_input_mode(self,
GLib.Variant.new_int32(input_mode))

def set_remember_input_mode(self,
remember_input_mode: bool = False,
remember_input_mode: bool = True,
update_gsettings: bool = True) -> None:
'''Sets whether the input mode (direct or table) is remembered
Expand Down

0 comments on commit 8ce8323

Please sign in to comment.