# HG changeset patch # User IBBoard # Date 1364068628 0 # Node ID a1f9f68087f209a37de7270ff5af94e72e7429e0 Basic extension that does nothing more than NOOP the movement functions diff -r 000000000000 -r a1f9f68087f2 README.md --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README.md Sat Mar 23 19:57:08 2013 +0000 @@ -0,0 +1,6 @@ +# Move-Free Message Tray + +The Gnome Shell message tray in versions up to 3.6 were discrete - you hover +in the corner and they appear over your windows. Gnome Shell 3.6 made this +uglier - your whole screen moves to make space for the message tray. This +extension fixes that and goes back to an "overlay" style. \ No newline at end of file diff -r 000000000000 -r a1f9f68087f2 extension.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/extension.js Sat Mar 23 19:57:08 2013 +0000 @@ -0,0 +1,19 @@ +const MessageTray = imports.ui.messageTray; + +let tray; + +function init() { + tray = MessageTray.MessageTray.prototype; +} + +function enable() { + tray._oldShowDesktopClone = tray._showDesktopClone; + tray._oldHideDesktopClone = tray._hideDesktopClone; + tray._showDesktopClone = function noShow(){}; + tray._hideDesktopClone = function noHide(){}; +} + +function disable() { + tray._showDesktopClone = tray._oldShowDesktopClone; + tray._hideDesktopClone = tray._oldHideDesktopClone; +} \ No newline at end of file diff -r 000000000000 -r a1f9f68087f2 metadata.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/metadata.json Sat Mar 23 19:57:08 2013 +0000 @@ -0,0 +1,1 @@ +{"shell-version": ["3.6.3.1"], "uuid": "movefree.message.tray@ibboard.co.uk", "name": "Move-free Message Tray", "description": "\"Returns the Message Tray to pre-3.6 behaviour where your whole screen doesn't move"} \ No newline at end of file