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 2016-09-21 00:21:35 +02:00
parent 561d1bda2c
commit 8ad157571a

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)