[gnome-shell] messageTray: Fix lightbox



commit 3a453c5f735a85f9d95eb1691d23f3833c321853
Author: Florian MÃllner <fmuellner gnome org>
Date:   Tue Oct 23 22:40:09 2012 +0200

    messageTray: Fix lightbox
    
    Commit 448517032e5 accidentally reverted the condition for showing
    the lightbox. Fix that.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=686728

 js/ui/messageTray.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 791ea9e..bd2ab2f 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -2101,9 +2101,8 @@ const MessageTray = new Lang.Class({
                       transition: 'easeOutQuad'
                     });
 
-        if (this._overviewVisible) {
+        if (!this._overviewVisible)
             this._lightbox.show();
-        }
 
         return true;
     },



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