[gnome-shell] keyboard: Don't set keys as checked
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] keyboard: Don't set keys as checked
- Date: Fri, 4 Jan 2013 13:15:53 +0000 (UTC)
commit 6255c77eba4e1fdf35187b4dcaedb2f8864a8019
Author: Rui Matos <tiagomatos gmail com>
Date: Fri Nov 16 02:40:23 2012 +0100
keyboard: Don't set keys as checked
There's no reason to do it and it actually breaks when showing subkeys
since then we won't get a 'key-released' signal for the main key.
https://bugzilla.gnome.org/show_bug.cgi?id=674955
js/ui/keyboard.js | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index 397df8c..2123d5c 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -56,11 +56,6 @@ const Key = new Lang.Class({
if (this._key.name == 'Control_L' || this._key.name == 'Alt_L')
this._key.latch = true;
- this._key.connect('key-pressed', Lang.bind(this, function ()
- { this.actor.checked = true }));
- this._key.connect('key-released', Lang.bind(this, function ()
- { this.actor.checked = false; }));
-
if (this._extended_keys.length > 0) {
this._key.connect('notify::show-subkeys', Lang.bind(this, this._onShowSubkeysChanged));
this._boxPointer = new BoxPointer.BoxPointer(St.Side.BOTTOM,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]