Commit 02f2c6fc authored by Daniel Brötzmann's avatar Daniel Brötzmann Committed by Philipp Hörist
Browse files

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 e5735218
...@@ -177,7 +177,7 @@ class ChatControlBase(ChatCommandProcessor, CommandTools, EventHelper): ...@@ -177,7 +177,7 @@ class ChatControlBase(ChatCommandProcessor, CommandTools, EventHelper):
self.xml.overlay.drag_dest_set( self.xml.overlay.drag_dest_set(
Gtk.DestDefaults.ALL, Gtk.DestDefaults.ALL,
self._dnd_list, self._dnd_list,
Gdk.DragAction.COPY) Gdk.DragAction.COPY | Gdk.DragAction.MOVE)
self.xml.overlay.drag_dest_set_target_list(dst_targets) self.xml.overlay.drag_dest_set_target_list(dst_targets)
# Create textviews and connect signals # 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