messageTray: don't accidentally shift the tray around in the overview

https://bugzilla.gnome.org/show_bug.cgi?id=688422
This commit is contained in:
Sebastian Keller 2012-11-18 02:01:00 +01:00 committed by Giovanni Campagna
parent 5200da6eec
commit d053d45a6d

View File

@ -2013,8 +2013,7 @@ const MessageTray = new Lang.Class({
let summaryPinned = this._pointerInTray || summarySummoned || this._locked;
let summaryHovered = this._pointerInTray || this._pointerInSummary;
let notificationsVisible = (this._notificationState == State.SHOWING ||
this._notificationState == State.SHOWN);
let notificationsVisible = this._notificationState != State.HIDDEN;
let notificationsDone = !notificationsVisible && !notificationsPending;
let summaryOptionalInOverview = this._overviewVisible && !this._locked && !summaryHovered;