[gnome-shell/wip/fmuellner/notification-redux: 51/88] layout: Move "tray" to the top
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/notification-redux: 51/88] layout: Move "tray" to the top
- Date: Sun, 15 Feb 2015 17:35:04 +0000 (UTC)
commit 49b6ba05029df77d99ba35ae98b6e80f2adbbf36
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Feb 13 00:14:59 2015 +0100
layout: Move "tray" to the top
js/ui/layout.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index 7c0b703..1d839a1 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -459,9 +459,8 @@ const LayoutManager = new Lang.Class({
this.keyboardIndex = this.primaryIndex;
- this.trayBox.set_position(this.bottomMonitor.x,
- this.bottomMonitor.y + this.bottomMonitor.height);
- this.trayBox.set_size(this.bottomMonitor.width, -1);
+ this.trayBox.set_position(this.primaryMonitor.x, this.primaryMonitor.y);
+ this.trayBox.set_size(this.primaryMonitor.width, -1);
},
_panelBoxChanged: function() {
@@ -472,6 +471,7 @@ const LayoutManager = new Lang.Class({
if (corner)
corner.setBarrierSize(size);
});
+ this.trayBox.set_y(this.panelBox.y + size);
},
_updatePanelBarrier: function() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]