[gnome-shell/gnome-3-6] messageTray: Fix lightbox



commit d845c8eed0f52de27244a40894531dd2d405f710
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 40d5ee0..34ffc89 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -2095,9 +2095,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]