aboutsummaryrefslogtreecommitdiff
path: root/lib/unity-session.vala
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2014-04-10 16:48:50 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-04-10 16:48:50 +0000
commiteda58d24dfb5c91a4abe5d37635870634c7c5979 (patch)
tree0bee1ba6fdd187a9ed1b725064ca13803596e77e /lib/unity-session.vala
parent17a525f62655ba86643b55169b56789385c0877a (diff)
parentd4868ddeca70ce2a3a4936e5bff41e380ad61b5d (diff)
downloadayatana-indicator-keyboard-eda58d24dfb5c91a4abe5d37635870634c7c5979.tar.gz
ayatana-indicator-keyboard-eda58d24dfb5c91a4abe5d37635870634c7c5979.tar.bz2
ayatana-indicator-keyboard-eda58d24dfb5c91a4abe5d37635870634c7c5979.zip
If an IBus input source is active when the session is locked, switch to another non-IBus one instead. Fixes: 1301860
Diffstat (limited to 'lib/unity-session.vala')
-rw-r--r--lib/unity-session.vala24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/unity-session.vala b/lib/unity-session.vala
new file mode 100644
index 00000000..04bf3349
--- /dev/null
+++ b/lib/unity-session.vala
@@ -0,0 +1,24 @@
+/*
+ * 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.Unity.Session")]
+public interface UnitySession : Object {
+
+ public signal void locked ();
+ public signal void unlocked ();
+}