summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2016-08-31 11:17:36 +0800
committerPeng Wu <alexepico@gmail.com>2016-08-31 11:17:36 +0800
commit0b307f1eb7edcd6b253fbb4e04a4c33d0e60c47b (patch)
tree8db67deb40c817e0f251df6e819a7f9ac6aa3d28
parent1d27fce3d4e5cb553a9dea324349e9e94e660cd5 (diff)
downloadibus-libzhuyin-0b307f1eb7edcd6b253fbb4e04a4c33d0e60c47b.tar.gz
ibus-libzhuyin-0b307f1eb7edcd6b253fbb4e04a4c33d0e60c47b.tar.xz
ibus-libzhuyin-0b307f1eb7edcd6b253fbb4e04a4c33d0e60c47b.zip
fixes compile
-rw-r--r--src/ZYZhuyinProperties.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ZYZhuyinProperties.cc b/src/ZYZhuyinProperties.cc
index 2ff4f73..cf0bbb3 100644
--- a/src/ZYZhuyinProperties.cc
+++ b/src/ZYZhuyinProperties.cc
@@ -110,16 +110,16 @@ void
ZhuyinProperties::toggleModeFullWidth (void)
{
m_mode_full_width = !m_mode_full_width;
- m_prop_full_english.setLabel (m_mode_full_width ?
+ m_prop_full_width.setLabel (m_mode_full_width ?
_("Full Width") :
_("Half Width"));
- m_prop_full_english.setIcon (m_mode_full_width ?
+ m_prop_full_width.setIcon (m_mode_full_width ?
PKGDATADIR"/icons/full.svg" :
PKGDATADIR"/icons/half.svg");
- m_prop_full_english.setTooltip (m_mode_full_width ?
+ m_prop_full_width.setTooltip (m_mode_full_width ?
_("Switch to Half Width Mode"):
_("Switch to Full Width Mode"));
- updateProperty (m_prop_full_english);
+ updateProperty (m_prop_full_width);
}
void