[gnome-shell/wip/carlosg/osk-cldr: 36/45] keyboard: Add visible property



commit 8ed446f7379cfff043951f74e57741a40aae207c
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 140762fb9..84770b0a1 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -309,6 +309,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]