use uri instead of the pathname for UTF-8 safety.
Wed Mar 10 00:24:24 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooserdefault.c (error_dialog): use uri instead of
the pathname for UTF-8 safety.
This commit is contained in:
parent
382bf3a113
commit
5d8863bbac
6 changed files with 30 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
Wed Mar 10 00:24:24 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (error_dialog): use uri instead of
|
||||
the pathname for UTF-8 safety.
|
||||
|
||||
Wed Mar 10 00:10:47 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): Always
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
Wed Mar 10 00:24:24 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (error_dialog): use uri instead of
|
||||
the pathname for UTF-8 safety.
|
||||
|
||||
Wed Mar 10 00:10:47 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): Always
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
Wed Mar 10 00:24:24 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (error_dialog): use uri instead of
|
||||
the pathname for UTF-8 safety.
|
||||
|
||||
Wed Mar 10 00:10:47 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): Always
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
Wed Mar 10 00:24:24 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (error_dialog): use uri instead of
|
||||
the pathname for UTF-8 safety.
|
||||
|
||||
Wed Mar 10 00:10:47 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): Always
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
Wed Mar 10 00:24:24 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (error_dialog): use uri instead of
|
||||
the pathname for UTF-8 safety.
|
||||
|
||||
Wed Mar 10 00:10:47 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): Always
|
||||
|
|
|
|||
|
|
@ -606,13 +606,16 @@ error_dialog (GtkFileChooserDefault *impl,
|
|||
const GtkFilePath *path,
|
||||
GError *error)
|
||||
{
|
||||
char *uri;
|
||||
char *text;
|
||||
|
||||
uri = gtk_file_system_path_to_uri (impl->file_system, path);
|
||||
text = g_strdup_printf (msg,
|
||||
gtk_file_path_get_string (path),
|
||||
error->message);
|
||||
uri,
|
||||
error->message);
|
||||
error_message (impl, text);
|
||||
g_free (text);
|
||||
g_free (uri);
|
||||
g_error_free (error);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue