From d44d9983cc506df397baeb595109e215578bebbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 31 Jul 2015 16:37:48 +0200 Subject: [PATCH] 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. https://bugzilla.gnome.org/show_bug.cgi?id=753105 --- extensions/workspace-indicator/prefs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/workspace-indicator/prefs.js b/extensions/workspace-indicator/prefs.js index 49378c4..e5dbebe 100644 --- a/extensions/workspace-indicator/prefs.js +++ b/extensions/workspace-indicator/prefs.js @@ -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]); }, -- 2.4.3