[gnome-shell] messageTray: Reword a boolean condition
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] messageTray: Reword a boolean condition
- Date: Wed, 4 Dec 2013 16:23:13 +0000 (UTC)
commit 9d3a109946916b151ee59ac0d46ce2eef3ec32cf
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Dec 4 11:22:48 2013 -0500
messageTray: Reword a boolean condition
Just so it's a bit easier to understand...
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 e93a89c..aa93640 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -2382,7 +2382,7 @@ const MessageTray = new Lang.Class({
} else if (this._notificationState == State.SHOWN) {
let expired = (this._userActiveWhileNotificationShown &&
this._notificationTimeoutId == 0 &&
- !(this._notification.urgency == Urgency.CRITICAL) &&
+ this._notification.urgency != Urgency.CRITICAL &&
!this._notification.focused &&
!this._pointerInNotification);
let mustClose = (this._notificationRemoved || !hasNotifications || expired ||
this._traySummoned);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]