[gnome-shell/wip/carlosg/osk-cldr: 30/43] keyboard: Add visible property



commit a31956fcdd6f48dd5e2a74576fbd75df450735eb
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 file changed, 4 insertions(+)
---
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index cea13a31d..4067fe260 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -301,6 +301,10 @@ var Keyboard = new Lang.Class({
         this._redraw();
     },
 
+    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]