mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
messageTray: Reword a boolean condition
Just so it's a bit easier to understand...
This commit is contained in:
parent
079f1e6fff
commit
9d3a109946
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue