diff options
author | Peng Wu <alexepico@gmail.com> | 2013-07-26 13:03:44 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-07-26 13:03:44 +0800 |
commit | 9ef836117508d9c0c938f57a5ffa5ffca7eb2e7b (patch) | |
tree | e92ebaa34e85a2d12deb5b3072f7ee74962c4f11 /src/PYProperty.h | |
parent | 7f0ae3f5d0bbaf1b5fe2ab8b0a22892a2d9a1167 (diff) | |
download | ibus-libpinyin-9ef836117508d9c0c938f57a5ffa5ffca7eb2e7b.tar.gz ibus-libpinyin-9ef836117508d9c0c938f57a5ffa5ffca7eb2e7b.tar.xz ibus-libpinyin-9ef836117508d9c0c938f57a5ffa5ffca7eb2e7b.zip |
Update the symbol of the ibus indicator
Diffstat (limited to 'src/PYProperty.h')
-rw-r--r-- | src/PYProperty.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/PYProperty.h b/src/PYProperty.h index 70c0808..13b9340 100644 --- a/src/PYProperty.h +++ b/src/PYProperty.h @@ -55,6 +55,16 @@ public: ibus_property_set_icon (get<IBusProperty> (), icon); } + void setSymbol (IBusText *text) + { + ibus_property_set_symbol (get<IBusProperty> (), text); + } + + void setSymbol (const gchar *text) + { + setSymbol (Text (text)); + } + void setSensitive (gboolean sensitive) { ibus_property_set_sensitive (get<IBusProperty> (), sensitive); |