guy 2000/07/20 00:10:11 CDT
Modified files:
gtk capture_dlg.c color_dlg.c colors.c
file_dlg.c find_dlg.c goto_dlg.c main.c
plugins_dlg.c simple_dialog.c
Log:
Use ESD_TYPE_CRIT for most errors (the model used by various GUIs seems
to use "warning" dialog boxes only to warn the user "if you do that, bad
things may happen" *and* to offer them the option either to drive on or
quit, so perhaps ESD_TYPE_CRIT should be used for all errors).
However, put "Ethereal: Error" rather than "Ethereal: Critical" in the
title bar, in the hopes that it'll make it clearer that Something Bad
Happened.
If the user specifies that captures should be saved to a user-specified
file rather than a temporary file, report errors trying to create that
file with "file_open_error_message()".
Make the "for_writing" argument to "file_open_error_message()" a
"gboolean", as it's either TRUE (if the file is being opened for
writing) or FALSE (if it's being opened for reading).
Report EISDIR as "XXX is a directory (folder), not a file.".
Revision Changes Path
1.29 +2 -2 ethereal/gtk/capture_dlg.c
1.5 +5 -5 ethereal/gtk/color_dlg.c
1.4 +4 -4 ethereal/gtk/colors.c
1.28 +2 -2 ethereal/gtk/file_dlg.c
1.13 +4 -4 ethereal/gtk/find_dlg.c
1.9 +4 -4 ethereal/gtk/goto_dlg.c
1.130 +5 -5 ethereal/gtk/main.c
1.15 +4 -4 ethereal/gtk/plugins_dlg.c
1.4 +2 -2 ethereal/gtk/simple_dialog.c