Fix drop on attachment button under KDE

The copy action needs to also be set to avoid having to use "Shift"
on the drop.

issue5871
review33391002
This commit is contained in:
Cédric Krier committed 2016-09-21 00:21:35 +02:00
1 parent 0951bd03e9
commit a08f1630da
1 file changed
+1 -1
+1 -1
View File
@@ -554,7 +554,7 @@ class Form(SignalEvent, TabContent):
attach_btn = self.buttons['attach']
attach_btn.drag_dest_set(gtk.DEST_DEFAULT_ALL, [
('text/uri-list', 0, 0),
], gtk.gdk.ACTION_MOVE)
], gtk.gdk.ACTION_MOVE | gtk.gdk.ACTION_COPY)
attach_btn.connect('drag_data_received',
self.attach_drag_data_received)