Philipp Hörist pushed to branch master at gajim / gajim
Commits: 515f0818 by Daniel Brötzmann at 2020-07-15T12:35:35+02:00 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
- - - - -
1 changed file:
- gajim/chat_control_base.py
Changes:
===================================== gajim/chat_control_base.py ===================================== @@ -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
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/515f0818159ff27f6e5dc5a4ecb4acef3...