[gnome-shell-extensions/gnome-3-14] window-list: Disconnect drag and drop handlers
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions/gnome-3-14] window-list: Disconnect drag and drop handlers
- Date: Wed, 26 Nov 2014 19:06:06 +0000 (UTC)
commit 046c603872025dabfc7755cb560eb349e9b77802
Author: Sylvain Pasche <sylvain pasche gmail com>
Date: Sat Nov 1 22:02:46 2014 +0100
window-list: Disconnect drag and drop handlers
https://bugzilla.gnome.org/show_bug.cgi?id=737486
extensions/window-list/extension.js | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js
index 58fee4a..5115a68 100644
--- a/extensions/window-list/extension.js
+++ b/extensions/window-list/extension.js
@@ -782,8 +782,8 @@ const WindowList = new Lang.Class({
}));
this._windowList.connect('scroll-event', Lang.bind(this, this._onScrollEvent));
- let indicatorsBox = new St.BoxLayout({ x_align: Clutter.ActorAlign.END });
- box.add(indicatorsBox);
+ let indicatorsBox = new St.BoxLayout({ x_align: Clutter.ActorAlign.END });
+ box.add(indicatorsBox);
this._workspaceIndicator = new WorkspaceIndicator();
indicatorsBox.add(this._workspaceIndicator.container, { expand: false, y_fill: true });
@@ -1165,6 +1165,9 @@ const WindowList = new Lang.Class({
global.screen.disconnect(this._fullscreenChangedId);
+ Main.xdndHandler.disconnect(this._dragBeginId);
+ Main.xdndHandler.disconnect(this._dragEndId);
+
this._settings.disconnect(this._groupingModeChangedId);
let windows = global.get_window_actors();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]