summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Huang <shawn.p.huang@gmail.com>2010-09-27 14:21:38 +0800
committerPeng Huang <shawn.p.huang@gmail.com>2010-09-27 14:21:38 +0800
commita55a7edcaf35881e3cb745f2e4c797097ebfe539 (patch)
tree2127bc258149bd79802e976f47f086c175bffb38
parenteb321b4ad179d0f30a6bbf08bcc8e793a0c29f19 (diff)
downloadibus-pinyin-chromeos.tar.gz
Changes in chromeos.chromeos
-rw-r--r--src/PYMain.cc2
-rw-r--r--src/pinyin.xml.in.in4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/PYMain.cc b/src/PYMain.cc
index 463ec2f..0626f0d 100644
--- a/src/PYMain.cc
+++ b/src/PYMain.cc
@@ -82,7 +82,9 @@ start_component (void)
Database::init ();
PinyinConfig::init (bus);
+#if 0
BopomofoConfig::init (bus);
+#endif
g_signal_connect ((IBusBus *)bus, "disconnected", G_CALLBACK (ibus_disconnected_cb), NULL);
diff --git a/src/pinyin.xml.in.in b/src/pinyin.xml.in.in
index cd260f9..8d2aef5 100644
--- a/src/pinyin.xml.in.in
+++ b/src/pinyin.xml.in.in
@@ -3,7 +3,7 @@
<component>
<name>org.freedesktop.IBus.Pinyin</name>
<description>Pinyin Component</description>
- <exec>${libexecdir}/ibus-engine-pinyin --ibus</exec>
+ <exec>/bin/env XDG_CACHE_HOME=/home/chronos/user/.cache ${libexecdir}/ibus-engine-pinyin --ibus</exec>
<version>@VERSION@</version>
<author>Peng Huang &lt;shawn.p.huang@gmail.com&gt;</author>
<license>GPL</license>
@@ -23,6 +23,7 @@ BYVoid &lt;byvoid1@gmail.com&gt;</author>
<description>Pinyin input method</description>
<rank>99</rank>
</engine>
+ <!--
<engine>
<name>bopomofo</name>
<language>zh</language>
@@ -35,6 +36,7 @@ Peng Huang &lt;shawn.p.huang@gmail.com&gt;</author>
<description>Bopomofo input method</description>
<rank>98</rank>
</engine>
+ -->
</engines>
</component>