Commit 515f0818 authored by Daniel Brötzmann's avatar Daniel Brötzmann

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
parent 5bd33efb
Pipeline #5934 passed with stages
in 3 minutes and 57 seconds
......@@ -177,7 +177,7 @@ class ChatControlBase(ChatCommandProcessor, CommandTools, EventHelper):
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment