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



commit 59af4c21020455c9ab3f18e85151e80d8270a1b6
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 5de73d2..4bf3d75 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 6c2dbb8..f3ed282 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]