Hi List!

I've just finished the implementation of having Ethereal as a drop target for drag and drop.

On Win32 this enables the following:

Drag a file in the explorer and drop it on the Ethereal window, this will load the capture file (just as choosen by the file selection).

It will just act like the other "open file" ways:
-if an unsaved file already exists, a dialog pops up ("Do you want to save...") asking to save first
-the usual dialogs will appear, when the file could not be loaded
-the file will be added to the recent files list (if it could be loaded without errors)


If more than one file is dropped into the Ethereal window, only the first one will be tried to load!


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.



It's just working fine on my WinXP machine, please report problems on other platforms.


Regards, ULFL

_______________________________________________
Ethereal-dev mailing list
[EMAIL PROTECTED]
http://www.ethereal.com/mailman/listinfo/ethereal-dev

Reply via email to