[gnome-shell/wip/message-tray: 17/21] messageTray: Properly track notificationExpanded
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/message-tray: 17/21] messageTray: Properly track notificationExpanded
- Date: Sat, 11 Aug 2012 00:58:48 +0000 (UTC)
commit 6c09b0ed3ac13e2b0acd8be2bcfb16620444a9fb
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 8538281..7e5de65 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -1752,7 +1752,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]