[gnome-shell/wip/workspace: 7/9] workspacesView: Don't do any special handling for item-dragging
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/workspace: 7/9] workspacesView: Don't do any special handling for item-dragging
- Date: Wed, 11 Sep 2013 19:05:03 +0000 (UTC)
commit bb0ea50a3c4ac60c0e41a12c83540bc91c65998a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Sep 11 14:21:29 2013 -0400
workspacesView: Don't do any special handling for item-dragging
The code here really only cares about new windows.
js/ui/workspacesView.js | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js
index 46fa560..a343973 100644
--- a/js/ui/workspacesView.js
+++ b/js/ui/workspacesView.js
@@ -102,10 +102,6 @@ const WorkspacesView = new Lang.Class({
global.window_manager.connect('switch-workspace',
Lang.bind(this, this._activeWorkspaceChanged));
- this._itemDragBeginId = Main.overview.connect('item-drag-begin',
- Lang.bind(this, this._dragBegin));
- this._itemDragEndId = Main.overview.connect('item-drag-end',
- Lang.bind(this, this._dragEnd));
this._windowDragBeginId = Main.overview.connect('window-drag-begin',
Lang.bind(this, this._dragBegin));
this._windowDragEndId = Main.overview.connect('window-drag-end',
@@ -263,14 +259,6 @@ const WorkspacesView = new Lang.Class({
if (this._inDrag)
this._dragEnd();
- if (this._itemDragBeginId > 0) {
- Main.overview.disconnect(this._itemDragBeginId);
- this._itemDragBeginId = 0;
- }
- if (this._itemDragEndId > 0) {
- Main.overview.disconnect(this._itemDragEndId);
- this._itemDragEndId = 0;
- }
if (this._windowDragBeginId > 0) {
Main.overview.disconnect(this._windowDragBeginId);
this._windowDragBeginId = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]