[gnome-shell/wip/message-tray: 9/22] messageTray: Clean up code



commit 8caf719dae08cbac0bbb7ce21a76e32f14579fca
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Jul 30 20:15:42 2012 -0300

    messageTray: Clean up code
    
    Remove an unused variable in _updateState

 js/ui/messageTray.js |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 549f35d..f626316 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -1976,7 +1976,6 @@ const MessageTray = new Lang.Class({
         let summarySummoned = this._pointerInSummary || this._overviewVisible ||  this._traySummoned;
         let summaryPinned = this._summaryTimeoutId != 0 || this._pointerInTray || summarySummoned || this._locked;
         let summaryHovered = this._pointerInTray || this._pointerInSummary;
-        let summaryVisibleWithNoHover = (this._overviewVisible || this._locked) && !summaryHovered;
 
         let notificationsVisible = (this._notificationState == State.SHOWING ||
                                     this._notificationState == State.SHOWN);



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