diff options
author | William Hua <william.hua@canonical.com> | 2014-02-20 16:16:26 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-02-20 16:16:26 +0000 |
commit | bbd49ff9bd07c7c90c25015d7b3e432fd5dc2a8b (patch) | |
tree | ef794bfd8f0cffbe4b2eec969e6036eec0ac8eed /lib/source.vala | |
parent | 42303ce54d43f542f8e06569291751dae85e04c1 (diff) | |
parent | b17eaf696186c824d67e37d0e99189511c441545 (diff) | |
download | ayatana-indicator-keyboard-bbd49ff9bd07c7c90c25015d7b3e432fd5dc2a8b.tar.gz ayatana-indicator-keyboard-bbd49ff9bd07c7c90c25015d7b3e432fd5dc2a8b.tar.bz2 ayatana-indicator-keyboard-bbd49ff9bd07c7c90c25015d7b3e432fd5dc2a8b.zip |
Implement the IBus panel within the indicator.
Diffstat (limited to 'lib/source.vala')
-rw-r--r-- | lib/source.vala | 8 |
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); |