diff options
author | Peng Huang <shawn.p.huang@gmail.com> | 2011-03-21 13:00:05 -0400 |
---|---|---|
committer | Peng Huang <shawn.p.huang@gmail.com> | 2011-03-21 13:00:05 -0400 |
commit | d85a24507314194f1597c4c5d6c460408fcd3a9e (patch) | |
tree | 8e39c9f0ac426050b594712ba59468b0d52b1bcb /setup/ibus-pinyin-preferences.ui | |
parent | 5d68b85c32049841ad1ac6220c6b03a528da7662 (diff) | |
download | ibus-pinyin-d85a24507314194f1597c4c5d6c460408fcd3a9e.tar.gz |
Add auto correct "on" => "ong", and combine some fuzzy pinyin options to save flag bits.
BUG=none
TEST=Linux desktop
Review URL: http://codereview.appspot.com/4273085
Diffstat (limited to 'setup/ibus-pinyin-preferences.ui')
-rw-r--r-- | setup/ibus-pinyin-preferences.ui | 93 |
1 files changed, 17 insertions, 76 deletions
diff --git a/setup/ibus-pinyin-preferences.ui b/setup/ibus-pinyin-preferences.ui index de20905..febe032 100644 --- a/setup/ibus-pinyin-preferences.ui +++ b/setup/ibus-pinyin-preferences.ui @@ -1,4 +1,4 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="UTF-8"?> <interface> <requires lib="gtk+" version="2.14"/> <!-- interface-naming-policy project-wide --> @@ -9,7 +9,6 @@ <property name="window_position">center-always</property> <property name="icon_name">gtk-preferences</property> <property name="type_hint">normal</property> - <property name="has_separator">False</property> <child internal-child="vbox"> <object class="GtkVBox" id="dialog-vbox1"> <property name="visible">True</property> @@ -698,7 +697,18 @@ </packing> </child> <child> - <placeholder/> + <object class="GtkCheckButton" id="CorrectPinyin_ON_ONG"> + <property name="label">on => ong</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="active">True</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="top_attach">5</property> + <property name="bottom_attach">6</property> + </packing> </child> <child> <placeholder/> @@ -940,8 +950,7 @@ <property name="label" translatable="yes">Feature of Enter key:</property> </object> <packing> - <property name="top_attach">3</property> - <property name="bottom_attach">4</property> + <property name="position">0</property> </packing> </child> <child> @@ -955,10 +964,7 @@ <property name="group">CommitOriginalText</property> </object> <packing> - <property name="left_attach">2</property> - <property name="right_attach">3</property> - <property name="top_attach">3</property> - <property name="bottom_attach">4</property> + <property name="position">1</property> </packing> </child> <child> @@ -970,10 +976,7 @@ <property name="draw_indicator">True</property> </object> <packing> - <property name="left_attach">1</property> - <property name="right_attach">2</property> - <property name="top_attach">3</property> - <property name="bottom_attach">4</property> + <property name="position">2</property> </packing> </child> </object> @@ -1030,7 +1033,7 @@ <child> <object class="GtkTable" id="table1"> <property name="visible">True</property> - <property name="n_rows">14</property> + <property name="n_rows">12</property> <property name="n_columns">2</property> <property name="column_spacing">6</property> <property name="row_spacing">6</property> @@ -1345,68 +1348,6 @@ </packing> </child> <child> - <object class="GtkCheckButton" id="FuzzyPinyin_UAN_UANG"> - <property name="label">uan => uang</property> - <property name="visible">True</property> - <property name="sensitive">False</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="active">True</property> - <property name="draw_indicator">True</property> - </object> - <packing> - <property name="top_attach">12</property> - <property name="bottom_attach">13</property> - </packing> - </child> - <child> - <object class="GtkCheckButton" id="FuzzyPinyin_UANG_UAN"> - <property name="label">uang => uan</property> - <property name="visible">True</property> - <property name="sensitive">False</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="draw_indicator">True</property> - </object> - <packing> - <property name="left_attach">1</property> - <property name="right_attach">2</property> - <property name="top_attach">12</property> - <property name="bottom_attach">13</property> - </packing> - </child> - <child> - <object class="GtkCheckButton" id="FuzzyPinyin_IAN_IANG"> - <property name="label">ian => iang</property> - <property name="visible">True</property> - <property name="sensitive">False</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="active">True</property> - <property name="draw_indicator">True</property> - </object> - <packing> - <property name="top_attach">11</property> - <property name="bottom_attach">12</property> - </packing> - </child> - <child> - <object class="GtkCheckButton" id="FuzzyPinyin_IANG_IAN"> - <property name="label">iang => ian</property> - <property name="visible">True</property> - <property name="sensitive">False</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="draw_indicator">True</property> - </object> - <packing> - <property name="left_attach">1</property> - <property name="right_attach">2</property> - <property name="top_attach">11</property> - <property name="bottom_attach">12</property> - </packing> - </child> - <child> <object class="GtkCheckButton" id="FuzzyPinyin"> <property name="label" translatable="yes">Enable fuzzy syllable</property> <property name="visible">True</property> |