Blame SOURCES/0001-workspace-indicator-Use-consistent-workspace-numberi.patch

e1cefa
From d44d9983cc506df397baeb595109e215578bebbc Mon Sep 17 00:00:00 2001
e1cefa
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
e1cefa
Date: Fri, 31 Jul 2015 16:37:48 +0200
e1cefa
Subject: [PATCH] workspace-indicator: Use consistent workspace numbering
e1cefa
e1cefa
The indicator numbers workspaces starting from 1, while newly added
e1cefa
workspace names in the preference dialog start counting at 0.
e1cefa
Change the latter to be consistent with the indicator.
e1cefa
e1cefa
https://bugzilla.gnome.org/show_bug.cgi?id=753105
e1cefa
---
e1cefa
 extensions/workspace-indicator/prefs.js | 2 +-
e1cefa
 1 file changed, 1 insertion(+), 1 deletion(-)
e1cefa
e1cefa
diff --git a/extensions/workspace-indicator/prefs.js b/extensions/workspace-indicator/prefs.js
e1cefa
index 49378c4..e5dbebe 100644
e1cefa
--- a/extensions/workspace-indicator/prefs.js
e1cefa
+++ b/extensions/workspace-indicator/prefs.js
e1cefa
@@ -195,7 +195,7 @@ const WorkspaceSettingsWidget = new GObject.Class({
e1cefa
         let iter = this._store.append();
e1cefa
         let index = this._store.get_path(iter).get_indices()[0];
e1cefa
 
e1cefa
-        let label = _("Workspace %d").format(index);
e1cefa
+        let label = _("Workspace %d").format(index + 1);
e1cefa
         this._store.set(iter, [this._store.Columns.LABEL], [label]);
e1cefa
     },
e1cefa
 
e1cefa
-- 
e1cefa
2.4.3
e1cefa