[gnome-shell/wip/fmuellner/notification-redux: 85/128] layout: Move clip into trayBox



commit 68ed21bc48c06421098e49c28b811a22aa5faefb
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Feb 14 16:20:16 2015 +0100

    layout: Move clip into trayBox

 js/ui/layout.js      |    1 +
 js/ui/messageTray.js |    1 -
 2 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index 0876d81..0885376 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -243,6 +243,7 @@ const LayoutManager = new Lang.Class({
                               Lang.bind(this, this._panelBoxChanged));
 
         this.trayBox = new St.Widget({ name: 'trayBox',
+                                       clip_to_allocation: true,
                                        layout_manager: new Clutter.BinLayout() }); 
         this.addChrome(this.trayBox, { affectsInputRegion: false });
 
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 54fc0e8..8bf066f 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -1233,7 +1233,6 @@ const MessageTray = new Lang.Class({
             }));
 
         this.actor = new St.Widget({ name: 'notification-container',
-                                     clip_to_allocation: true,
                                      x_expand: true, y_expand: true,
                                      layout_manager: new Clutter.BinLayout() });
         this.actor.connect('key-release-event', Lang.bind(this, this._onNotificationKeyRelease));


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