summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorfujiwarat <takao.fujiwara1@gmail.com>2013-05-10 00:49:32 +0900
committerfujiwarat <takao.fujiwara1@gmail.com>2013-05-10 00:49:32 +0900
commitfaadb94d226a2876adc3246ee33ee77f5208da79 (patch)
tree907740ec15a604e3048b25e45eb1c703658630d1 /setup
parentdbb75a72894145cad1de4fc53a067fffa0816cab (diff)
downloadibus-anthy-faadb94d226a2876adc3246ee33ee77f5208da79.tar.gz
Enabled Latin mode with Shift key.
Diffstat (limited to 'setup')
-rw-r--r--setup/anthyprefs.py.in1
-rw-r--r--setup/main.py1
-rw-r--r--setup/setup.ui51
3 files changed, 36 insertions, 17 deletions
diff --git a/setup/anthyprefs.py.in b/setup/anthyprefs.py.in
index 32f374c..b388aeb 100644
--- a/setup/anthyprefs.py.in
+++ b/setup/anthyprefs.py.in
@@ -370,6 +370,7 @@ _config = {
'half_width_symbol': False,
'half_width_number': False,
'half_width_space': False,
+ 'latin_with_shift': True,
'shortcut_type': 'default',
diff --git a/setup/main.py b/setup/main.py
index 7a121da..20b29e7 100644
--- a/setup/main.py
+++ b/setup/main.py
@@ -142,6 +142,7 @@ class AnthySetup(object):
'period_style', 'symbol_style', 'ten_key_mode',
'behavior_on_focus_out', 'behavior_on_period',
'half_width_symbol', 'half_width_number', 'half_width_space',
+ 'latin_with_shift',
'thumb:keyboard_layout_mode', 'thumb:keyboard_layout',
'thumb:fmv_extension', 'thumb:handakuten']:
section, key = self.__get_section_key(name)
diff --git a/setup/setup.ui b/setup/setup.ui
index d383d1e..cb035b7 100644
--- a/setup/setup.ui
+++ b/setup/setup.ui
@@ -637,23 +637,6 @@
<property name="column_spacing">8</property>
<property name="row_spacing">4</property>
<child>
- <object class="GtkCheckButton" id="half_width_number">
- <property name="label" translatable="yes">Convert _numbers with the one column width</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- <signal handler="on_ck_toggled" name="toggled"/>
- <accelerator key="N" modifiers="GDK_MOD1_MASK" signal="grab_focus"/>
- </object>
- <packing>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="y_options"/>
- </packing>
- </child>
- <child>
<object class="GtkHBox" id="hbox4">
<property name="visible">True</property>
<property name="spacing">8</property>
@@ -708,6 +691,23 @@
</packing>
</child>
<child>
+ <object class="GtkCheckButton" id="half_width_number">
+ <property name="label" translatable="yes">Convert _numbers with the one column width</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ <signal handler="on_ck_toggled" name="toggled"/>
+ <accelerator key="N" modifiers="GDK_MOD1_MASK" signal="grab_focus"/>
+ </object>
+ <packing>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="y_options"/>
+ </packing>
+ </child>
+ <child>
<object class="GtkCheckButton" id="half_width_space">
<property name="label" translatable="yes">Con_vert spaces with the one column width</property>
<property name="visible">True</property>
@@ -724,6 +724,23 @@
<property name="y_options"/>
</packing>
</child>
+ <child>
+ <object class="GtkCheckButton" id="latin_with_shift">
+ <property name="label" translatable="yes">Swi_tch “Hiragana” and “Latin” with Shift key and Hiragana–Katakana key in preedit</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ <signal handler="on_ck_toggled" name="toggled"/>
+ <accelerator key="t" modifiers="GDK_MOD1_MASK" signal="activate"/>
+ </object>
+ <packing>
+ <property name="top_attach">4</property>
+ <property name="bottom_attach">5</property>
+ <property name="y_options"/>
+ </packing>
+ </child>
</object>
</child>
</object>