register properties in focusIn
authorPeng Huang <shawn.p.huang@gmail.com>
Mon, 17 May 2010 02:01:11 +0000 (10:01 +0800)
committerPeng Huang <shawn.p.huang@gmail.com>
Mon, 17 May 2010 02:01:11 +0000 (10:01 +0800)
src/BopomofoEngine.cc
src/BopomofoEngine.h
src/Engine.h
src/PinyinEngine.h

index 5250de1..cd51b69 100644 (file)
@@ -107,6 +107,7 @@ BopomofoEngine::processKeyEvent (guint keyval, guint keycode, guint modifiers)
 void
 BopomofoEngine::focusIn (void)
 {
+    registerProperties (m_props.properties ());
 }
 
 void
index c3f510c..fc15d17 100644 (file)
@@ -3,6 +3,7 @@
 #define __PY_BOPOMOFO_ENGINE_H__
 
 #include "Engine.h"
+#include "PinyinProperties.h"
 
 namespace PY {
 
index 0ae3906..5c4ab49 100644 (file)
@@ -11,7 +11,6 @@
 #include "Config.h"
 #include "Editor.h"
 #include "FallbackEditor.h"
-#include "PinyinProperties.h"
 
 namespace PY {
 
index c74587a..398c028 100644 (file)
@@ -3,6 +3,7 @@
 #define __PY_PINYIN_ENGINE_H__
 
 #include "Engine.h"
+#include "PinyinProperties.h"
 
 namespace PY {