Commit 515f0818 authored by Daniel Brötzmann's avatar Daniel Brötzmann
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 5bd33efb
Pipeline #5934 passed with stages
in 3 minutes and 57 seconds
...@@ -177,7 +177,7 @@ def __init__(self, parent_win, widget_name, contact, acct, ...@@ -177,7 +177,7 @@ def __init__(self, parent_win, widget_name, contact, acct,
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