diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 3699ec273..14c55db63 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -2348,6 +2348,7 @@ const MessageTray = new Lang.Class({ return false; } + this.emit('showing'); this._tween(this.actor, '_trayState', State.SHOWN, { y: -this.actor.height, time: ANIMATION_TIME, @@ -2398,6 +2399,7 @@ const MessageTray = new Lang.Class({ // is distracting, so hide it immediately in case it was visible. this._summaryBoxPointer.actor.hide(); + this.emit('hiding'); this._tween(this.actor, '_trayState', State.HIDDEN, { y: 0, time: ANIMATION_TIME,