I've recently implemented a feature, I described and discussed some time ago on the list.
For every GUI action, which will clear/delete an unsaved capture file, will now do the following:
a) Raise dialog, e.g. "Save packets in <file> before quit?" with Yes/No/Cancel buttons
b) Yes -> raise "Save As" dialog
c) No -> continue with selected operation ("deleting" previous file)
d) Cancel -> cancel operation and close dialog
at b) d) if the file was saved ok, do c) e) if the "Cancel" button was pressed, do d)
I find the following places to add this:
"File->Open" (or toolbar) "File->Open Recent" "File->Close" (or toolbar) "File->Quit" (or window close) "Capture->Start" (or toolbar)
I hope these were all places which should be handled.
Any comments?
Regards, ULFL
_______________________________________________ Ethereal-dev mailing list [EMAIL PROTECTED] http://www.ethereal.com/mailman/listinfo/ethereal-dev
