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 05295e5564
commit 0ee977080d

View File

@ -932,7 +932,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;