Fix file drag to Gmail, KDE and GDrive in branch 4.0

This pull request resolve the issue #67.

On my system it works nice and I need this feature. Hope this can be useful.