[gnome-shell/wip/message-tray: 3/23] messageTray: Properly track	notificationExpanded
- From: Marina Zhurakhinskaya <marinaz src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gnome-shell/wip/message-tray: 3/23] messageTray: Properly track	notificationExpanded
 
- Date: Sun, 19 Aug 2012 22:30:21 +0000 (UTC)
 
commit 536b0f87efd800009ac0e6817888dab12ffed843
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Aug 10 17:31:09 2012 -0300
    messageTray: Properly track notificationExpanded
    
    This makes a lot more sense.
 js/ui/messageTray.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 4eb0eb2..54750cf 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -1778,7 +1778,7 @@ const MessageTray = new Lang.Class({
         let notificationsPending = notificationQueue.length > 0 && (!notificationsLimited || notificationUrgent);
         let nextNotification = notificationQueue.length > 0 ? notificationQueue[0] : null;
         let notificationPinned = this._pointerInTray && !this._pointerInSummary && !this._notificationRemoved;
-        let notificationExpanded = this._notificationBin.y < - this.actor.height;
+        let notificationExpanded = this._notification && this._notification.expanded;
         let notificationExpired = this._notificationTimeoutId == 0 &&
                                   !(this._notification && this._notification.urgency == Urgency.CRITICAL) &&
                                   !this._pointerInTray &&
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]