diff options
author | William Hua <william.hua@canonical.com> | 2013-10-03 14:44:27 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-10-03 14:44:27 +0000 |
commit | dbc0fe12592b88ccfd89631a4e46baf5eaa2f656 (patch) | |
tree | 259094119fca0994369ed0e2145810aa32a262e3 /lib/greeter.vala | |
parent | 3aa725b99fd01fbff48dd6b82dfdd43530ef27af (diff) | |
parent | 62e536eb83d30df39da4afe5e17e94a7625762ea (diff) | |
download | ayatana-indicator-keyboard-dbc0fe12592b88ccfd89631a4e46baf5eaa2f656.tar.gz ayatana-indicator-keyboard-dbc0fe12592b88ccfd89631a4e46baf5eaa2f656.tar.bz2 ayatana-indicator-keyboard-dbc0fe12592b88ccfd89631a4e46baf5eaa2f656.zip |
Set the selected user's first keyboard layout whenever it changes under unity-greeter. (LP #1233945). Fixes: https://bugs.launchpad.net/bugs/1233945.
Approved by PS Jenkins bot, Ted Gould, Michael Terry.
Diffstat (limited to 'lib/greeter.vala')
-rw-r--r-- | lib/greeter.vala | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/greeter.vala b/lib/greeter.vala new file mode 100644 index 00000000..c378bbd5 --- /dev/null +++ b/lib/greeter.vala @@ -0,0 +1,26 @@ +/* + * Copyright 2013 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.UnityGreeter.List")] +public interface Greeter : Object { + + public abstract string get_active_entry () throws IOError; + public abstract void set_active_entry (string entry_name) throws IOError; + + public signal void entry_selected (string entry_name); +} |