This is an automated email from the git hooks/post-receive script. hjudt pushed a commit to branch master in repository xfce/thunar.
commit 65adfa6552f2211e51caa0c23ecbbefc5ab96362 Author: Harald Judt <[email protected]> Date: Mon May 4 07:31:49 2015 +0200 Unescape URIs in the shortcut view (bug #10831) Show spaces in the path names instead of "%20". --- thunar/thunar-gio-extensions.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/thunar/thunar-gio-extensions.c b/thunar/thunar-gio-extensions.c index 78a427f..69b110d 100644 --- a/thunar/thunar-gio-extensions.c +++ b/thunar/thunar-gio-extensions.c @@ -264,6 +264,7 @@ thunar_g_file_get_display_name_remote (GFile *mount_point) gchar *parse_name; const gchar *p; const gchar *path; + gchar *unescaped; gchar *hostname; gchar *display_name = NULL; const gchar *skip; @@ -314,9 +315,13 @@ thunar_g_file_get_display_name_remote (GFile *mount_point) path = "/"; } + /* unescape the path so that spaces and other characters are shown correctly */ + unescaped = g_uri_unescape_string (path, NULL); + /* TRANSLATORS: this will result in "<path> on <hostname>" */ - display_name = g_strdup_printf (_("%s on %s"), path, hostname); + display_name = g_strdup_printf (_("%s on %s"), unescaped, hostname); + g_free (unescaped); g_free (hostname); } -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list [email protected] https://mail.xfce.org/mailman/listinfo/xfce4-commits
