[gnome-shell] messageTray: Remove a few leftover variables



commit 81b71cc143212c98e6a21d17caf52b6b7320abad
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Mar 11 15:55:02 2013 -0400

    messageTray: Remove a few leftover variables
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695659

 js/ui/messageTray.js |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index b4fd4e7..be1bf4b 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -1641,7 +1641,6 @@ const MessageTray = new Lang.Class({
         this._useLongerTrayLeftTimeout = false;
         this._trayLeftTimeoutId = 0;
         this._pointerInTray = false;
-        this._pointerInKeyboard = false;
         this._keyboardVisible = false;
         this._summaryState = State.HIDDEN;
         this._pointerInSummary = false;
@@ -2242,8 +2241,7 @@ const MessageTray = new Lang.Class({
                                   !(this._notification && this._notification.urgency == Urgency.CRITICAL) &&
                                   !(this._notification && this._notification.focused) &&
                                   !this._pointerInTray &&
-                                  !this._locked &&
-                                  !(this._pointerInKeyboard && notificationExpanded);
+                                  !this._locked;
         let notificationLockedOut = !Main.sessionMode.hasNotifications && this._notification;
         let notificationMustClose = this._notificationRemoved || notificationLockedOut || 
(notificationExpired && this._userActiveWhileNotificationShown) || this._notificationClosed;
         let canShowNotification = notificationsPending && this._summaryState == State.HIDDEN;
@@ -2264,7 +2262,6 @@ const MessageTray = new Lang.Class({
         // Summary
         let summarySummoned = this._pointerInSummary || this._traySummoned;
         let summaryPinned = this._pointerInTray || summarySummoned || this._locked;
-        let summaryHovered = this._pointerInTray || this._pointerInSummary;
 
         let notificationsVisible = this._notificationState != State.HIDDEN;
         let notificationsDone = !notificationsVisible && !notificationsPending;


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