Re: [cssed-devel] evolution and D-n-D
Brought to you by:
iagorubio
From: Iago R. <iag...@hi...> - 2004-03-09 12:11:10
|
Hi Jeremy, great to see you here :) El mar, 09 de 03 de 2004 a las 00:26, Jeremy Guarini escribi=C3=B3: > Cannot seem to drag a file from evolution to cssed, In my test I used the message view of evo, draging a mail message onto cssed.=20 > but I can do it with > other gtk apps though. Also tried it with xfe, which is a file explorer > based on the fox-toolkit. Xfe supports D-n-D but it appears that cssed > is just not accepting the connection between the two, or vice-versa. The clue here, is that I'm only using Gtk's built into drag&drop capabilities. Gtk understand some DnD protocols: the Motif DND protocol, the Xdnd protocol,the simple WM_DROPFILES protocol (Win32). Applications should use Gdk signals to communicate with other apps while a DnD action is running. Right now cssed listens to DnD signals with the GdkDragAction bits set to GDK_ACTION_COPY and GDK_ACTION_MOVE. If GDK_ACTION_COPY it will paste (in this case as cssed is the Drag destination) the dragged text in the editor window. If GDK_ACTION_MOVE it will open the files dragged. So it hardly depends on the protocols and signals, used by the DnD source application.=20 I don't know what DnD protocol use xfe, but I'll take a closer look at it. Best regards. --=20 Iago Rubio http://www.iagorubio.com =20 GPGkey pgp.rediris.es id 0x909BD4DD fingerprint =3D D18A B950 5F03 BB9A DD89 AA75 FEDF 1978 909B D4DD ********** iago.rubio(AT)hispalinux.es ********** =20 -------------------------------------------------- |