Commit 31506a34 authored by Florian Müllner's avatar Florian Müllner
Browse files

workspace-indicator: Use consistent workspace numbering

The indicator numbers workspaces starting from 1, while newly added
workspace names in the preference dialog start counting at 0.
Change the latter to be consistent with the indicator.
parent d1bf5925
......@@ -195,7 +195,7 @@ const WorkspaceSettingsWidget = new GObject.Class({
let iter = this._store.append();
let index = this._store.get_path(iter).get_indices()[0];
let label = _("Workspace %d").format(index);
let label = _("Workspace %d").format(index + 1);
this._store.set(iter, [this._store.Columns.LABEL], [label]);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment