Ethereal-dev: Re: [Ethereal-dev] Patch to fix DnD of files on X

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

From: Ilya Konstantinov <future@xxxxxxxxxxx>
Date: Sun, 03 Apr 2005 00:00:17 +0300
Ulf Lamping wrote:

Ethereal development <ethereal-dev@xxxxxxxxxxxx> schrieb am 02.04.05 19:58:52:
Hi,

The attached patch fixes the string processing of the URI to support Unix-style paths. This fixes DnD on X.

(Please CC me when this patch is applied, since I'm not subscribed to the list.)


Hmmm, DnD *is* usually working on X. I have a Debian with KDE, and it's working pretty well.

How does your URL string really look like? Could you give an example?

On GNOME, when you DnD, it looks like "file:///usr/bin". This string was erroneously matched by the code which aimed to give a slash-less string -- a DOS path. Now we take the safe path on Unix, keeping one initial slash at all times. Just check the diff and see.