[gnome-shell/wip/carlosg/osk-cldr: 15/28] keyboard: Add visible property
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/osk-cldr: 15/28] keyboard: Add visible property
- Date: Mon, 5 Feb 2018 16:56:18 +0000 (UTC)
commit e0910c0f7cd101e2b66c3c0241e097a53b852ba3
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]