Danny Milosavljevic wrote:
Hi,
I am writing a minimalistic "folder viewer", (*cough* not really a) file
manager for fun.
However, there is some trouble with drag&drop...
I've been searching for the cause for the longest time now.
Symptoms are as follows:
- If one starts 1 instance of gfolder.py, and, say, opera, and drags
from the folder to opera, it works fine
- If one starts 2 instances of gfolder.py, and drags from one to the
other, the drag is *not* accepted for some reason (the plus sign on the
drag status indicator does not even show up)
I'm sure I'm forgetting something obvious...
changing 'gtk.gdk.ACTION_DEFAULT' to 'gtk.gdk.ACTION_COPY' fixes it. but
thats not obvious. from the reference listing of the 'values of actions'
it looks like the two are exchangeable. but that is either wrong or you
encountered a bug.
Helppp
http://gonetoo.de/tmini.tar.gz (5 KB)
(requires pygtk 2.0)
Also, as it is now, the whole row is shown while dragging :) I don't
dislike it, but can I make the background (half)transparent ? (ok I stop
dreaming now ^^)
cheers,
Danny
------------------------------------------------------------------------
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/