Tell the user to use G_FILENAME_ENCODING, not G_BROKEN_FILENAMES. Fixes

2004-04-15  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilesel.c (open_new_dir): Tell the user to use
	G_FILENAME_ENCODING, not G_BROKEN_FILENAMES.  Fixes #114065.
This commit is contained in:
Federico Mena Quintero 2004-04-15 20:29:05 +00:00 committed by Federico Mena Quintero
parent e9a885daf9
commit 8b3beb5223
6 changed files with 17 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2004-04-15 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilesel.c (open_new_dir): Tell the user to use
G_FILENAME_ENCODING, not G_BROKEN_FILENAMES. Fixes #114065.
* gtk/gtkfilechooserdefault.c (split_uris): Use a variant of the
code from gtkfilesel.c to parse a "text/uri-list" blob. Fixes
#140126.

View File

@ -1,5 +1,8 @@
2004-04-15 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilesel.c (open_new_dir): Tell the user to use
G_FILENAME_ENCODING, not G_BROKEN_FILENAMES. Fixes #114065.
* gtk/gtkfilechooserdefault.c (split_uris): Use a variant of the
code from gtkfilesel.c to parse a "text/uri-list" blob. Fixes
#140126.

View File

@ -1,5 +1,8 @@
2004-04-15 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilesel.c (open_new_dir): Tell the user to use
G_FILENAME_ENCODING, not G_BROKEN_FILENAMES. Fixes #114065.
* gtk/gtkfilechooserdefault.c (split_uris): Use a variant of the
code from gtkfilesel.c to parse a "text/uri-list" blob. Fixes
#140126.

View File

@ -1,5 +1,8 @@
2004-04-15 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilesel.c (open_new_dir): Tell the user to use
G_FILENAME_ENCODING, not G_BROKEN_FILENAMES. Fixes #114065.
* gtk/gtkfilechooserdefault.c (split_uris): Use a variant of the
code from gtkfilesel.c to parse a "text/uri-list" blob. Fixes
#140126.

View File

@ -1,5 +1,8 @@
2004-04-15 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilesel.c (open_new_dir): Tell the user to use
G_FILENAME_ENCODING, not G_BROKEN_FILENAMES. Fixes #114065.
* gtk/gtkfilechooserdefault.c (split_uris): Use a variant of the
code from gtkfilesel.c to parse a "text/uri-list" blob. Fixes
#140126.

View File

@ -3136,8 +3136,8 @@ open_new_dir (gchar *dir_name,
|| !g_utf8_validate (sent->entries[n_entries].entry_name, -1, NULL))
{
gchar *escaped_str = g_strescape (dirent, NULL);
g_message (_("The filename \"%s\" couldn't be converted to UTF-8 "
"(try setting the environment variable G_BROKEN_FILENAMES): %s"),
g_message (_("The filename \"%s\" couldn't be converted to UTF-8. "
"(try setting the environment variable G_FILENAME_ENCODING): %s"),
escaped_str,
error->message ? error->message : _("Invalid UTF-8"));
g_free (escaped_str);