Here's the patch:
https://sourceforge.net/tracker/?func=detail&aid=3293445&group_id=180858&atid=894871

I briefly tested it, most of my operations are file dnd from PCManFM and text 
from several other
applications (Greany, Firefox). Dragging files from PCManFM and Thunar works 
flawlessly, not so
for Nautilus and Dolphin. Their selection, for some obscure reasons, comes as 
plain text. I have
no idea why this happens as of this moment, whether it's their problem or mine, 
as I'm using the
builtin functionality to detect the target type and get the data.

Nevertheless, this first patch is intended to keep things at minimum - I intend 
to replace GTK's
"magic" with a custom parser in the future - for several reasons:
- the URL parser I've created for a cross-platform app of mine, although 
supporting all the file
managers I could put my hands on, including Explorer and Finder, is not that 
elegant. It also
would need some tweaks and additions - not everything one would need to drop in 
the terminal
needs to be a file path;
- additional functionality is beyond my current needs, as I'm using exclusively 
PCMandFM. ...or
the needs of anyone I know, for that matter;
- it's IMO better to leave the sofisticated parts for later, as someone may 
come up with a neat
solution - if it were not for those quotes, I'd have used only the gtk and vte 
functions
exclusively;
- if DND in terminal is not wanted by the project devs - who haven't said a 
thing so far - the
matter is pointless altogether.

Mihai

-- 
Mihai Militaru <[email protected]>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to