Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal util.c file.c file.h capture.c ethereal.c
guy 1999/06/12 04:10:25 CDT
Modified files:
. util.c file.c file.h capture.c ethereal.c
util.h
Log:
Improve the alert boxes put up for file open/read/write errors. (Some
influence came from
http://developer.apple.com/techpubs/mac/HIGuidelines/HIGuidelines-232.html
which has a section on dialog box and alert box messages. However,
we're largely dealing with technoids, not with The Rest Of Us, so I
didn't go as far as one perhaps should.)
Unfortunately, it looks like it's a bit more work to arrange that, if
you give a bad file name to the "-r" flag, the dialog box pop up only
*after* the main window pops up - it has the annoying habit of popping
up *before* the main window pops up, and sometimes getting *obscured* by
it, when I do that. The removal of the dialog box stuff from
"load_cap_file()" was intended to facilitate that work. (It might also
be nice if, when an open from the "File/Open" menu item fails, we keep
the file selection box open, and give the user a chance to correct
typos, choose another file name, etc.)
Revision Changes Path
1.15 +1 -70 ethereal/util.c
1.26 +173 -19 ethereal/file.c
1.14 +23 -1 ethereal/file.h
1.26 +21 -8 ethereal/capture.c
1.38 +35 -7 ethereal/ethereal.c
1.10 +1 -7 ethereal/util.h