messageTray: Fix style

https://bugzilla.gnome.org/show_bug.cgi?id=695659
This commit is contained in:
Jasper St. Pierre 2013-03-11 16:55:15 -04:00
parent 81b71cc143
commit 9eeabf79f9

View File

@ -2247,9 +2247,8 @@ const MessageTray = new Lang.Class({
let canShowNotification = notificationsPending && this._summaryState == State.HIDDEN;
if (this._notificationState == State.HIDDEN) {
if (canShowNotification) {
if (canShowNotification)
this._showNotification();
}
} else if (this._notificationState == State.SHOWN) {
if (notificationMustClose)
this._hideNotification();