workspacesView: Fix typo

We want to check for a setting, not the existence of a function.

https://bugzilla.gnome.org/show_bug.cgi?id=686487
This commit is contained in:
Florian Müllner 2012-10-19 20:03:05 +02:00
parent 9955fbf4f8
commit 96a80f7ba0

View File

@ -928,7 +928,7 @@ const WorkspacesDisplay = new Lang.Class({
let monitors = Main.layoutManager.monitors;
let m = 0;
for (let i = 0; i < monitors.length; i++) {
if (this._workspacesOnlyOnPrimaryChanged &&
if (this._workspacesOnlyOnPrimary &&
i != this._primaryIndex)
continue;