Ethereal-dev: Re: [Ethereal-dev] Implemented rudimentary Drag and Drop support.

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sat, 31 Jan 2004 19:01:08 -0800
On Sat, Jan 31, 2004 at 07:34:12PM +0100, Ulf Lamping wrote:
> Although I just used plain GTK mechanisms (working on win32 both GTK 
> version 1 and 2),
> it might not be working on other platforms.
> Especially the string format of the dragged target filename might differ 
> on the various platforms.

At least with KDE 3.0's file manager/Web browser Konqueror, file name
URI's appear to be of the form

	file:/foo/bar/...

so that only "file:" should be stripped off.  I've checked in a change
to do that, and can now drop capture files from Konqueror into Ethereal.

Perhaps we should look for "file:" followed by an arbitrary number of
"/"s, and, at least on UNIX, strip off all but the last "/".