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..

After looking on this a bit I don't think we really want to support it.

Netscape handles escaping really badly, just sending whatever junk is in 
the url bar. And i was completely unable to load a file with a 
filename containing locale chars into netscape 4. 

I also question how often you want to drag file: urls from netscape to a 
file selector.

/ Alex






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