[gnome-shell] workspacesView: remove duplicate connection to same signal



commit 8ebdb7f493c28a10bbddfc549f8e4dd29b0b7297
Author: Maxim Ermilov <zaspire rambler ru>
Date:   Fri Jan 28 02:24:38 2011 +0300

    workspacesView: remove duplicate connection to same signal

 js/ui/workspacesView.js |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js
index 40b7320..5f95a88 100644
--- a/js/ui/workspacesView.js
+++ b/js/ui/workspacesView.js
@@ -1024,10 +1024,6 @@ WorkspacesDisplay.prototype = {
             this._workspaces[i] = new Workspace.Workspace(metaWorkspace);
         }
 
-        this._nWorkspacesNotifyId =
-            global.screen.connect('notify::n-workspaces',
-                                  Lang.bind(this, this._workspacesChanged));
-
         let binAllocation = this._workspacesBin.allocation;
         let binWidth = binAllocation.x2 - binAllocation.x1;
         let binHeight = binAllocation.y2 - binAllocation.y1;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]