aboutsummaryrefslogtreecommitdiff
path: root/lib/source.vala
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2014-02-19 11:10:54 -0500
committerWilliam Hua <william.hua@canonical.com>2014-02-19 11:10:54 -0500
commit0daf660f54acac016d3e58348b2adc6963d141d2 (patch)
tree0ec474fb6081821c452f4a10993dd9243e3c0c15 /lib/source.vala
parent1135139ce6ffbdb96d80ab75e4e2acb4b667ab60 (diff)
downloadayatana-indicator-keyboard-0daf660f54acac016d3e58348b2adc6963d141d2.tar.gz
ayatana-indicator-keyboard-0daf660f54acac016d3e58348b2adc6963d141d2.tar.bz2
ayatana-indicator-keyboard-0daf660f54acac016d3e58348b2adc6963d141d2.zip
Implement IBus panel.
Diffstat (limited to 'lib/source.vala')
-rw-r--r--lib/source.vala8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/source.vala b/lib/source.vala
index 3e38a86e..1ee2650a 100644
--- a/lib/source.vala
+++ b/lib/source.vala
@@ -69,6 +69,14 @@ public class Indicator.Keyboard.Source : Object {
construct set { _use_gtk = value; icon = null; }
}
+ public bool is_xkb {
+ get { return xkb != null; }
+ }
+
+ public bool is_ibus {
+ get { return ibus != null; }
+ }
+
public Source (Variant variant, bool use_gtk = false) {
Object (use_gtk: use_gtk);