Codebase list mozc / 42de03c
Add patch UI of tegaki I/F for mozc-scim Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org> Nobuhiro Iwamatsu 13 years ago
2 changed file(s) with 31 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 diff --git a/unix/scim/scim_mozc.cc b/unix/scim/scim_mozc.cc
1 index 742aa3f..2fa0218 100755
2 --- a/unix/scim/scim_mozc.cc
3 +++ b/unix/scim/scim_mozc.cc
4 @@ -48,6 +48,12 @@ const char kPropTool[] = "/Mozc/Tool";
5 const char kPropToolIcon[] = SCIM_ICONDIR "/scim-mozc-tool.png";
6 const char kPropToolDictionary[] = "/Mozc/Tool/dictionary";
7 const char kPropToolDictionaryIcon[] = SCIM_ICONDIR "/scim-mozc-dictionary.png";
8 +const char kPropToolWordregister[] = "/Mozc/Tool/wordregister";
9 +const char kPropToolWordregisterIcon[] = "";
10 +const char kPropToolInputpad[] = "/Mozc/Tool/inputpad";
11 +const char kPropToolInputpadIcon[] = "";
12 +const char kPropToolHandwriting[] = "/Mozc/Tool/handwriting";
13 +const char kPropToolHandwritingIcon[] = "";
14 const char kPropToolProperty[] = "/Mozc/Tool/property";
15 const char kPropToolPropertyIcon[] = SCIM_ICONDIR "/scim-mozc-properties.png";
16
17 @@ -260,6 +266,12 @@ void ScimMozc::trigger_property(const scim::String &property) {
18 args = "--mode=dictionary_tool";
19 } else if (property == kPropToolProperty) {
20 args = "--mode=config_dialog";
21 + } else if (property == kPropToolWordregister) {
22 + args = "--mode=word_register_dialog";
23 + } else if (property == kPropToolInputpad) {
24 + args = "--mode=character_palette";
25 + } else if (property == kPropToolHandwriting) {
26 + args = "--mode=hand_writing";
27 } else {
28 // Unknown property.
29 return;
11 uim-mozc.patch
22 add_file_to_gypfile_check.patch
33 mozc-el-issue76.patch
4 add_tegaki_ui_scim_mozc.patch