Fix workspaceSwitcherPopup

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

Fix that.
This commit is contained in:
Adel Gadllah 2010-03-18 19:39:09 +01:00
parent 38009309e9
commit 6c13ca817d

View File

@ -315,7 +315,7 @@ WindowManager.prototype = {
if (global.screen.n_workspaces == 1) if (global.screen.n_workspaces == 1)
return; return;
if (this._workspaceSwitcherPopup == null && Main.overview.visible) if (this._workspaceSwitcherPopup == null && !Main.overview.visible)
this._workspaceSwitcherPopup = new WorkspaceSwitcherPopup.WorkspaceSwitcherPopup(); this._workspaceSwitcherPopup = new WorkspaceSwitcherPopup.WorkspaceSwitcherPopup();
if (binding == "switch_to_workspace_left") { if (binding == "switch_to_workspace_left") {