Package: ibus-hangul / 1.5.1-1

hide-auto-reordering.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Description: Hide the auto reordering feature
 Hides the auto reordering on/off in the setup dialog.
 .
 This feature is not available in the recent libhangul version.
Author: Changwoo Ryu <cwryu@debian.org>
Bug: https://github.com/choehwanjin/ibus-hangul/issues/49
Forwarded: not-needed

diff --git a/setup/setup.ui b/setup/setup.ui
index dd8eda1..e1bb1bd 100644
--- a/setup/setup.ui
+++ b/setup/setup.ui
@@ -216,7 +216,7 @@
                             <child>
                               <object class="GtkCheckButton" id="AutoReorder">
                                 <property name="label" translatable="yes">Automatic _reordering</property>
-                                <property name="visible">True</property>
+                                <property name="visible">False</property>
                                 <property name="can_focus">True</property>
                                 <property name="receives_default">False</property>
                                 <property name="use_underline">True</property>
diff --git a/src/engine.c b/src/engine.c
index a72a38f..48db5d8 100644
--- a/src/engine.c
+++ b/src/engine.c
@@ -210,7 +210,7 @@ static HotkeyList off_keys;
 static int lookup_table_orientation = 0;
 static IBusKeymap *keymap = NULL;
 static gboolean word_commit = FALSE;
-static gboolean auto_reorder = TRUE;
+static gboolean auto_reorder = FALSE;
 static gboolean disable_latin_mode = FALSE;
 static int initial_input_mode = INPUT_MODE_LATIN;
 /**