diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-01-31 02:25:46 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-01-31 02:25:46 +0000 |
commit | 25edd1c53e8ad3f53ef29d7cc5a6ca5a563f75a7 (patch) | |
tree | a773563b329465d8692e3cd778050f9def226c6f /gtk/follow_dlg.c | |
parent | d90d26ece2144be142615e6455067ff1ef72554b (diff) |
renamed ESD_TYPE_CRIT to ESD_TYPE_ERROR to
better reflect the real error text
svn path=/trunk/; revision=9913
Diffstat (limited to 'gtk/follow_dlg.c')
-rw-r--r-- | gtk/follow_dlg.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk/follow_dlg.c b/gtk/follow_dlg.c index efa9770aac..976aba6b9e 100644 --- a/gtk/follow_dlg.c +++ b/gtk/follow_dlg.c @@ -1,6 +1,6 @@ /* follow_dlg.c * - * $Id: follow_dlg.c,v 1.40 2004/01/26 22:34:55 guy Exp $ + * $Id: follow_dlg.c,v 1.41 2004/01/31 02:25:45 ulfl Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -164,7 +164,7 @@ follow_stream_cb(GtkWidget * w, gpointer data _U_) /* we got tcp so we can follow */ if (cfile.edt->pi.ipproto != 6) { - simple_dialog(ESD_TYPE_CRIT, NULL, + simple_dialog(ESD_TYPE_ERROR, NULL, "Error following stream. Please make\n" "sure you have a TCP packet selected."); return; @@ -756,7 +756,7 @@ follow_print_stream(GtkWidget * w _U_, gpointer data) to_file = TRUE; break; default: /* "Can't happen" */ - simple_dialog(ESD_TYPE_CRIT, NULL, + simple_dialog(ESD_TYPE_ERROR, NULL, "Couldn't figure out where to send the print " "job. Check your preferences."); return; @@ -765,10 +765,10 @@ follow_print_stream(GtkWidget * w _U_, gpointer data) fh = open_print_dest(to_file, print_dest); if (fh == NULL) { if (to_file) { - simple_dialog(ESD_TYPE_CRIT, NULL, + simple_dialog(ESD_TYPE_ERROR, NULL, file_open_error_message(errno, TRUE), prefs.pr_file); } else { - simple_dialog(ESD_TYPE_CRIT, NULL, + simple_dialog(ESD_TYPE_ERROR, NULL, "Couldn't run print command %s.", prefs.pr_cmd); } return; @@ -796,10 +796,10 @@ follow_print_stream(GtkWidget * w _U_, gpointer data) goto print_error; if (!close_print_dest(to_file, fh)) { if (to_file) { - simple_dialog(ESD_TYPE_CRIT, NULL, + simple_dialog(ESD_TYPE_ERROR, NULL, file_write_error_message(errno), prefs.pr_file); } else { - simple_dialog(ESD_TYPE_CRIT, NULL, + simple_dialog(ESD_TYPE_ERROR, NULL, "Error closing print destination."); } } @@ -807,10 +807,10 @@ follow_print_stream(GtkWidget * w _U_, gpointer data) print_error: if (to_file) { - simple_dialog(ESD_TYPE_CRIT, NULL, + simple_dialog(ESD_TYPE_ERROR, NULL, file_write_error_message(errno), prefs.pr_file); } else { - simple_dialog(ESD_TYPE_CRIT, NULL, + simple_dialog(ESD_TYPE_ERROR, NULL, "Error writing to print command: %s", strerror(errno)); } /* XXX - cancel printing? */ |