aboutsummaryrefslogtreecommitdiff
path: root/lib/main.vala
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2015-02-19 11:23:59 -0500
committerWilliam Hua <william.hua@canonical.com>2015-02-19 11:23:59 -0500
commitc34cf40e28eed1842ee691603fe6940f04302e10 (patch)
tree045ca7d117baf7f62e8f44cf4466619d82a274bb /lib/main.vala
parent8b470a48be727a59e557c532ead6c549e075eb02 (diff)
downloadayatana-indicator-keyboard-c34cf40e28eed1842ee691603fe6940f04302e10.tar.gz
ayatana-indicator-keyboard-c34cf40e28eed1842ee691603fe6940f04302e10.tar.bz2
ayatana-indicator-keyboard-c34cf40e28eed1842ee691603fe6940f04302e10.zip
Don't handle activate signal when the default behaviour will do.
Diffstat (limited to 'lib/main.vala')
-rw-r--r--lib/main.vala1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/main.vala b/lib/main.vala
index b589a3c4..170e0335 100644
--- a/lib/main.vala
+++ b/lib/main.vala
@@ -860,7 +860,6 @@ public class Indicator.Keyboard.Service : Object {
private Action get_active_action () {
if (active_action == null) {
var action = new SimpleAction.stateful ("active", VariantType.UINT32, new Variant.uint32 (get_current ()));
- action.activate.connect ((parameter) => { action.change_state (parameter); });
action.change_state.connect (handle_changed_active);
active_action = action;
}