File gnome-classic-move-notification-widget-above.patch of Package gnome-shell-extensions.160

Index: extensions/window-list/extension.js
===================================================================
--- extensions/window-list/extension.js.orig	2014-09-04 18:37:40.204445331 +0800
+++ extensions/window-list/extension.js	2014-09-04 18:48:50.177531354 +0800
@@ -848,7 +848,7 @@ const WindowList = new Lang.Class({
         let anchorY = this.actor.visible ? this.actor.height : 0;
 
         Main.messageTray.actor.anchor_y = anchorY;
-        Main.messageTray._notificationWidget.anchor_y = -anchorY;
+        Main.messageTray._notificationWidget.anchor_y = anchorY;
     },
 
     _onAppStateChanged: function(appSys, app) {
@@ -1031,7 +1031,6 @@ const WindowList = new Lang.Class({
 
 let windowList;
 let injections = {};
-let notificationParent;
 
 function init() {
 }
@@ -1049,11 +1048,6 @@ function enable() {
     MessageTray.MessageTray.prototype._trayDwellTimeout = function() {
         return false;
     };
-
-    notificationParent = Main.messageTray._notificationWidget.get_parent();
-    Main.messageTray._notificationWidget.hide();
-    Main.messageTray._notificationWidget.reparent(windowList.actor);
-    Main.messageTray._notificationWidget.show();
 }
 
 function disable() {
@@ -1064,11 +1058,6 @@ function disable() {
 
     windowList.actor.hide();
 
-    if (notificationParent) {
-        Main.messageTray._notificationWidget.reparent(notificationParent);
-        notificationParent = null;
-    }
-
     windowList.actor.destroy();
     windowList = null;
 
openSUSE Build Service is sponsored by