[gnome-shell/wip/fmuellner/notification-redux: 48/88] mt experiment



commit f077dfb861fe3bebcf9abb3d26b4be45e58dd59c
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Feb 12 23:27:23 2015 +0100

    mt experiment
    
    Revert "mt experiment"
    
    This reverts commit c6424514823adb705ee1568933d90695b7df1b43.

 js/ui/messageTray.js |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 0a52f07..7f0f3c6 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -1205,7 +1205,6 @@ const MessageTray = new Lang.Class({
                                      clip_to_allocation: true,
                                      x_expand: true, y_expand: true,
                                      layout_manager: new Clutter.BinLayout() });
-        //this.actor.add_constraint(new Layout.MonitorConstraint({ primary: true, work_area: true }));
         this.actor.connect('key-release-event', Lang.bind(this, this._onNotificationKeyRelease));
 
         this._notificationBin = new St.Bin({ reactive: true, track_hover: true, x_expand: true, y_expand: 
true });
@@ -1242,9 +1241,9 @@ const MessageTray = new Lang.Class({
 
         this.clearableCount = 0;
 
-        //Main.layoutManager.addChrome(this.actor, { affectsInputRegion: false });
         Main.layoutManager.trayBox.add_actor(this.actor);
-        //Main.layoutManager.trackChrome(this._notificationBin, { affectsInputRegion: true });
+        Main.layoutManager.trackChrome(this.actor);
+        Main.layoutManager.trackChrome(this._notificationBin);
 
         global.screen.connect('in-fullscreen-changed', Lang.bind(this, this._updateState));
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]