[gnome-shell] messageTray: Fix style



commit 9eeabf79f9bdd90fcbf5c4baed2533159fecc2c3
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Mar 11 16:55:15 2013 -0400

    messageTray: Fix style
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695659

 js/ui/messageTray.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index be1bf4b..83a0425 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -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();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]