[polari] Re-enabled drop targets
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] Re-enabled drop targets
- Date: Sat, 4 Sep 2021 00:24:22 +0000 (UTC)
commit 81ba2de542e687fdaab64fe35b9fbb361193a5ec
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Sep 25 20:31:39 2020 +0200
Re-enabled drop targets
Now that the DropTarget interface has been ported, we can
re-enable it again.
This reverts commit b70a6da091852262bee755d9aa68ab9bbc92e880.
Part-of: <https://gitlab.gnome.org/GNOME/polari/-/merge_requests/234>
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 93afa726..252d171a 100644
--- a/src/chatView.js
+++ b/src/chatView.js
@@ -446,7 +446,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 1c4f376b..36c99bfd 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]