[gnome-shell] Fix workspaceSwitcherPopup



commit 6c13ca817df321ea15314cf021e142d109e7950c
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Thu Mar 18 19:39:09 2010 +0100

    Fix workspaceSwitcherPopup
    
    The check in WindowManager._showWorkspaceSwitcher is supposed
    to check if the overview is _not_ visible.
    
    Fix that.

 js/ui/windowManager.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js
index eb3db1b..ad8b21e 100644
--- a/js/ui/windowManager.js
+++ b/js/ui/windowManager.js
@@ -315,7 +315,7 @@ WindowManager.prototype = {
         if (global.screen.n_workspaces == 1)
             return;
 
-        if (this._workspaceSwitcherPopup == null && Main.overview.visible)
+        if (this._workspaceSwitcherPopup == null && !Main.overview.visible)
             this._workspaceSwitcherPopup = new WorkspaceSwitcherPopup.WorkspaceSwitcherPopup();
 
         if (binding == "switch_to_workspace_left") {



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