[Panel-devel] [PATCH] drag and drop on desktop icons

Marco Martin notmart at gmail.com
Sun Dec 30 14:56:35 CET 2007


second version: now it works also with drop on desktop files and there is a 
workaround of #152401 so you can drop multiple files with dolphin.

the only thing remains that keyboard modifiers don't work, so you always get 
the move/copy/link menu with drag and drop over folders :(

Cheers,
Marco Martin

On Tuesday 25 December 2007, Marco Martin wrote:
> Hi all,
> this patch adds the drag and drop over the desktop icons, basically if you
> drop something on an executble it starts the executable with the dragged
> urls as parameters (still not supportsexecutable desktop files)
> and if you drop files on a folder it opens the usual move/copy menu
> this patch is still a draft and it still sucks in many ways:
>
> -it uses the dropEvent method copied and pasted from DolphinController
> (baaad, is there a way to reuse it in a better way?)
> -keyboard shortcuts ctrl and shift doesn't seem to work
> -like the trashcan it drops always only one item (bug #152401)
> at the moment i don't know how to fix them but i'll continue to experiment
> on it, if there are some ideas they are welcome :)
>
> Cheers,
> Marco Martin


-------------- next part --------------
A non-text attachment was scrubbed...
Name: icon_draganddrop2.diff
Type: text/x-diff
Size: 8448 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071230/50121033/attachment.bin 


More information about the Panel-devel mailing list