[gnome-shell/wip/carlosg/osk-cldr: 30/34] keyboard: Add visible property
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/osk-cldr: 30/34] keyboard: Add visible property
- Date: Fri, 22 Dec 2017 16:33:57 +0000 (UTC)
commit 04582529fbbddd11cffe79cf17abd9e2a2945cb1
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Dec 15 17:53:48 2017 +0100
keyboard: Add visible property
So its visibility can be queried externally.
js/ui/keyboard.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index c497803..56c1564 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -308,6 +308,10 @@ var Keyboard = new Lang.Class({
this._setupKeyboard();
},
+ get visible() {
+ return this._keyboardVisible;
+ },
+
_setCaretTrackerEnabled: function (enabled) {
if (this._caretTrackingEnabled == enabled)
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]