[gnome-shell] layout: Remove obsolete message tray <=> OSK interaction code
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] layout: Remove obsolete message tray <=> OSK interaction code
- Date: Thu, 14 Feb 2013 16:33:20 +0000 (UTC)
commit 2d9cf195d7330817a2e11762055508fab57f721c
Author: Florian MÃllner <fmuellner gnome org>
Date: Tue Feb 12 21:58:30 2013 +0100
layout: Remove obsolete message tray <=> OSK interaction code
Message tray and on-screen keyboard are now exclusive, so remove
all code that shuffles boxes around to make it possible to show
both at the same time.
https://bugzilla.gnome.org/show_bug.cgi?id=662687
js/ui/layout.js | 26 --------------------------
1 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index 7f75709..4dc3f61 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -317,13 +317,6 @@ const LayoutManager = new Lang.Class({
this.trayBox.set_position(this.bottomMonitor.x,
this.bottomMonitor.y + this.bottomMonitor.height);
this.trayBox.set_size(this.bottomMonitor.width, -1);
-
- // Set trayBox's clip to show things above it, but not below
- // it (so it's not visible behind the keyboard). The exact
- // height of the clip doesn't matter, as long as it's taller
- // than any Notification.actor.
- this.trayBox.set_clip(0, -this.bottomMonitor.height,
- this.bottomMonitor.width, this.bottomMonitor.height);
},
_panelBoxChanged: function() {
@@ -505,15 +498,6 @@ const LayoutManager = new Lang.Class({
onComplete: this._showKeyboardComplete,
onCompleteScope: this
});
-
- if (this.keyboardIndex == this.bottomIndex) {
- Tweener.addTween(this.trayBox,
- { anchor_y: this.keyboardBox.height,
- time: KEYBOARD_ANIMATION_TIME,
- transition: 'easeOutQuad'
- });
- }
-
this.emit('keyboard-visible-changed', true);
},
@@ -524,8 +508,6 @@ const LayoutManager = new Lang.Class({
this._keyboardHeightNotifyId = this.keyboardBox.connect('notify::height', Lang.bind(this, function
() {
this.keyboardBox.anchor_y = this.keyboardBox.height;
- if (this.keyboardIndex == this.bottomIndex)
- this.trayBox.anchor_y = this.keyboardBox.height;
}));
},
@@ -542,14 +524,6 @@ const LayoutManager = new Lang.Class({
onCompleteScope: this
});
- if (this.keyboardIndex == this.bottomIndex) {
- Tweener.addTween(this.trayBox,
- { anchor_y: 0,
- time: immediate ? 0 : KEYBOARD_ANIMATION_TIME,
- transition: 'easeOutQuad'
- });
- }
-
this.emit('keyboard-visible-changed', false);
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]