[gnome-shell/wip/workspace: 4/9] workspacesView: Remove dead code
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/workspace: 4/9] workspacesView: Remove dead code
- Date: Wed, 11 Sep 2013 19:04:48 +0000 (UTC)
commit c76aa013979b9883c7aead86158b0413abf4ca27
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Sep 11 12:09:10 2013 -0400
workspacesView: Remove dead code
js/ui/workspacesView.js | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js
index 1efa3a4..fabfeff 100644
--- a/js/ui/workspacesView.js
+++ b/js/ui/workspacesView.js
@@ -51,7 +51,6 @@ const WorkspacesView = new Lang.Class({
this._animating = false; // tweening
this._scrolling = false; // swipe-scrolling
this._animatingScroll = false; // programatically updating the adjustment
- this._zoomOut = false; // zoom to a larger area
this._inDrag = false; // dragging a window
this._settings = new Gio.Settings({ schema: OVERRIDE_SCHEMA });
@@ -149,14 +148,6 @@ const WorkspacesView = new Lang.Class({
this._syncGeometry();
},
- _lookupWorkspaceForMetaWindow: function (metaWindow) {
- for (let i = 0; i < this._workspaces.length; i++) {
- if (this._workspaces[i].containsMetaWindow(metaWindow))
- return this._workspaces[i];
- }
- return null;
- },
-
getActiveWorkspace: function() {
let active = global.screen.get_active_workspace_index();
return this._workspaces[active];
@@ -416,10 +407,6 @@ const WorkspacesView = new Lang.Class({
this._workspaces[i].actor.y += dy;
}
},
-
- _getWorkspaceIndexToRemove: function() {
- return global.screen.get_active_workspace_index();
- }
});
Signals.addSignalMethods(WorkspacesView.prototype);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]