summaryrefslogtreecommitdiffstats
path: root/src/ZYZConfig.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ZYZConfig.cc')
-rw-r--r--src/ZYZConfig.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ZYZConfig.cc b/src/ZYZConfig.cc
index 5725d9e..ca463ba 100644
--- a/src/ZYZConfig.cc
+++ b/src/ZYZConfig.cc
@@ -21,6 +21,7 @@
#include "ZYZConfig.h"
#include <zhuyin.h>
+#include "ZYLibZhuyin.h"
namespace ZY {
@@ -229,4 +230,19 @@ ZhuyinConfig::valueChanged (const std::string &section,
}
+void
+ZhuyinConfig::valueChangedCallback (IBusConfig *config,
+ const gchar *section,
+ const gchar *name,
+ GVariant *value,
+ ZhuyinConfig *self)
+{
+ if (self->m_section != section)
+ return;
+
+ self->valueChanged (section, name, value);
+
+ LibZhuyinBackEnd::instance ().setZhuyinOptions (self);
+}
+
};