convert the filename to UTF-8 before displaying it.

2004-04-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_file.c (do_file_error_dialog): convert
	the filename to UTF-8 before displaying it.
This commit is contained in:
Sven Neumann
2004-04-13 13:01:08 +00:00
committed by Sven Neumann
parent 069489fb71
commit 44770220f9
2 changed files with 6 additions and 1 deletions

View File

@ -152,7 +152,7 @@ do_file_error_dialog(const char *error, const char *filename)
if (!alert)
alert = create_alert(GTK_STOCK_DIALOG_ERROR);
alert_set_text(alert, error, filename);
alert_set_text(alert, error, gimp_filename_to_utf8 (filename));
default_dialog_show(alert->dialog);
}