[polari] Disable DropTarget interface temporarily
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] Disable DropTarget interface temporarily
- Date: Fri, 3 Sep 2021 22:02:25 +0000 (UTC)
commit b70a6da091852262bee755d9aa68ab9bbc92e880
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Sep 24 22:45:40 2020 +0200
Disable DropTarget interface temporarily
Drag and drop handling is one of the areas that saw major changes
in GTK4. Those changes are very very welcome, but too major for
a polyfill, and too significant to hide adapting to them in a
general "port to GTK4" commit.
So to allow for a separate port, just stop calling the code for now.
Part-of: <https://gitlab.gnome.org/GNOME/polari/-/merge_requests/232>
src/chatView.js | 2 +-
src/entryArea.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/chatView.js b/src/chatView.js
index 710dc53d..fd5bc2ee 100644
--- a/src/chatView.js
+++ b/src/chatView.js
@@ -442,7 +442,7 @@ export default GObject.registerClass({
this._originalUpper = this.vadjustment.get_upper();
this._app = Gio.Application.get_default();
- this.addTargets(this._view);
+ // this.addTargets(this._view);
this._roomFocusChangedId = this._app.connect('room-focus-changed',
this._checkMessages.bind(this));
diff --git a/src/entryArea.js b/src/entryArea.js
index cb8c4069..1a909584 100644
--- a/src/entryArea.js
+++ b/src/entryArea.js
@@ -32,7 +32,7 @@ export const ChatEntry = GObject.registerClass({
super._init(params);
const delegate = this.get_delegate();
- this.addTargets(delegate);
+ // this.addTargets(delegate);
let app = Gio.Application.get_default();
let action = app.lookup_action('show-emoji-picker');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]