From 515f0818159ff27f6e5dc5a4ecb4acef3fe7a080 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Br=C3=B6tzmann?= <mailtrash@posteo.de> Date: Wed, 15 Jul 2020 12:35:35 +0200 Subject: [PATCH] ChatControlBase: Add support for KDE notification drag and drop This adds Gdk.DragAction.MOVE to the drag_dest, enabling Gajim to process dropped items from KDE notifications (for example). Fixes #9011 --- gajim/chat_control_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gajim/chat_control_base.py b/gajim/chat_control_base.py index beec3bc65e..889129b3d0 100644 --- a/gajim/chat_control_base.py +++ b/gajim/chat_control_base.py @@ -177,7 +177,7 @@ def __init__(self, parent_win, widget_name, contact, acct, self.xml.overlay.drag_dest_set( Gtk.DestDefaults.ALL, self._dnd_list, - Gdk.DragAction.COPY) + Gdk.DragAction.COPY | Gdk.DragAction.MOVE) self.xml.overlay.drag_dest_set_target_list(dst_targets) # Create textviews and connect signals -- GitLab