/* XXX - add explanatory secondary text for at least some of the errors; various HIGs suggest that you should, for example, suggest that the user remove files if the file system is full. Perhaps that's because they're providing guidelines for people less sophisticated than the typical Wireshark user is, but....  */
void open_failure_alert_box(const char *filename, int err, gboolean for_writing)
/* XXX - add explanatory secondary text for at least some of the errors; various HIGs suggest that you should, for example, suggest that the user remove files if the file system is full. Perhaps that's because they're providing guidelines for people less sophisticated than the typical Wireshark user is, but....  */
void open_failure_alert_box(const char *filename, int err, gboolean for_writing)
{
    gchar *display_basename;
    display_basename = g_filename_display_basename(filename);
    simple_message_box(ESD_TYPE_ERROR, NULL, NULL,
                        file_open_error_message(err, for_writing),
                        display_basename);
    g_free(display_basename);
}