Re: Final fileselector DnD patch



On Fri, 7 Sep 2001, Vlad Harchev wrote:

> On Fri, 7 Sep 2001, Alex Larsson wrote:
> 
> > On Fri, 7 Sep 2001, Vlad Harchev wrote:
> > 
> > > On Fri, 7 Sep 2001, Alex Larsson wrote:
> > > 
> > >  Hi, 
> > > 
> > > > This has been sitting in my tree for a while now:
> > > > 
> > > > Index: gtk/gtkfilesel.c
> > > > ===================================================================
> > > > RCS file: /cvs/gnome/gtk+/gtk/gtkfilesel.c,v
> > > > retrieving revision 1.84
> > > > diff -u -p -r1.84 gtkfilesel.c
> > > > --- gtk/gtkfilesel.c	2001/07/18 23:39:22	1.84
> > > > +++ gtk/gtkfilesel.c	2001/09/07 16:09:15
> > > 
> > > 
> > >  Could you please add support for "_NETSCAPE_URL" target as well? gmc and
> > > netscape 4.x use this target (at least it's primary target for netscape 4.x).
> > >   It would be trivial.
> > 
> > Where is the spec for this?
> 
>  No spec handy (but gmc supports _NETSCAPE_URL - see the sources).
>  Just hack testdnd.c (AFAIR), start netscape, drop from it and watch the
> content being dropped. Don't forget to test filenames with non-ascii and
> http-special chars in them..

I will take a look at it.
 
>  And text/uri-list - who uses it? Mozilla? And what about KDE world - have you
> investignated?

Yes. It is part of the new DnD spec.

Dnd from/to nautilus and konqueror mostly works.

Of course, things can go funky with escaping. Most apps probably doesn't 
encode the URI in UTF8 yet, but the spec doesn't specify an encoding, or 
allow one to be specified in the list, so UTF8 is the only non-broken 
choice.

/ Alex






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]