[gnome-shell/wip/message-tray] messageTray: Revert erroneous logic bug about message tray idleness



commit fcc8b0ece5a4d81d10066c283a740d60295d675e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Aug 19 19:53:52 2012 -0400

    messageTray: Revert erroneous logic bug about message tray idleness
    
    If we've seen a watch, it means the user has been active since
    the notification was up, currently or not. I thought this was a
    logic bug, and "fixed it" when I fixed idleness in the other patch,
    but it was bad.

 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 cf01f1e..7418bef 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -2032,7 +2032,7 @@ const MessageTray = new Lang.Class({
         this._idleMonitorWatchId = 0;
         if (!userBecameIdle)
             this._updateNotificationTimeout(2000);
-        this._userActiveWhileNotificationShown = !userBecameIdle;
+        this._userActiveWhileNotificationShown = true;
         this._updateState();
     },
 



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