xffm: drag and drop
Danny Milosavljevic
danny.milo at gmx.net
Fri Jan 23 00:13:36 CET 2004
Hi edscott,
I just noticed something strange...
Try the attached python test program...
Drag some file/folder (not the root item) from xffm and drop it on the
label.
On stdout it will output what it got in drag_data_received.
First thing is minor, it gives the file as "file:/home/dannym/blah"
instead of "file://hostname/home/dannym/blah"... but thats okay.
Second thing is really weird.
What I get in the callback is sometimes: some other item *and* then the
selected item itself.
Sometimes it works fine though.
like:
data recv
file:/home/dannym
file:/home/dannym/3x3eyes
===
data recv
file:/home/dannym/Choices
file:/home/dannym/GAMES
===
Note that I only dragged one file at a time. I did not touch "Choices"
at all.
hmm...
I have "One click drag mode" activated in current cvs head, if that
makes a difference.
cheers,
Danny
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tst-dnd.tar.gz
Type: application/x-compressed-tar
Size: 536 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20040123/b287525e/attachment.bin>
More information about the Xfce4-dev
mailing list