diff options
author | William Hua <william.hua@canonical.com> | 2014-03-28 14:58:59 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-03-28 14:58:59 +0000 |
commit | a452e71a92c99224e1a49ecc52685f1fb8072de9 (patch) | |
tree | 8a9946045df4da595844ffc1be86fda6ec9ccf5e /lib/ibus-panel.vala | |
parent | cc698d1e5dee774217c9d8d1bf45f9be01ac37f2 (diff) | |
parent | a08ab0c4f8f80366eb7c08795e9d5407aef8ecff (diff) | |
download | ayatana-indicator-keyboard-a452e71a92c99224e1a49ecc52685f1fb8072de9.tar.gz ayatana-indicator-keyboard-a452e71a92c99224e1a49ecc52685f1fb8072de9.tar.bz2 ayatana-indicator-keyboard-a452e71a92c99224e1a49ecc52685f1fb8072de9.zip |
Use Ubuntu-specific IBus D-Bus API so that we don't have to replace the old IBus panel service in order to inspect and activate IBus engine properties. Fixes: 1290881
Diffstat (limited to 'lib/ibus-panel.vala')
-rw-r--r-- | lib/ibus-panel.vala | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/ibus-panel.vala b/lib/ibus-panel.vala new file mode 100644 index 00000000..460b1eac --- /dev/null +++ b/lib/ibus-panel.vala @@ -0,0 +1,26 @@ +/* + * Copyright 2014 Canonical Ltd. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, version 3 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + * Authors: William Hua <william.hua@canonical.com> + */ + +[DBus (name="com.canonical.IBus.Panel.Private")] +public interface IBusPanel : Object { + + public abstract void activate_property (string name, uint state) throws IOError; + + public signal void properties_registered (Variant variant); + public signal void property_updated (Variant variant); +} |