Commit 70695fda authored by Jesse van den Kieboom's avatar Jesse van den Kieboom

make sure to unescape in uri_for_display

        * gedit/gedit-utils.c: make sure to unescape in uri_for_display

svn path=/trunk/; revision=6364
parent e4107732
2008-08-08 Jesse van den Kieboom <jesse@icecrew.nl>
* gedit/gedit-utils.c: make sure to unescape in uri_for_display
2008-08-08 Jesse van den Kieboom <jesse@icecrew.nl>
* plugins/filebrowser/gedit-file-browser-store.c: fixed handling
......
......@@ -1256,15 +1256,17 @@ gchar *
gedit_utils_uri_for_display (const gchar *uri)
{
GFile *gfile;
gchar *ret;
gchar *parse_name;
gchar *unescape;
gfile = g_file_new_for_uri (uri);
/* CHECK: does this actually do what we want? */
ret = g_file_get_parse_name (gfile);
parse_name = g_file_get_parse_name (gfile);
unescape = g_uri_unescape_string (parse_name, NULL);
g_free (parse_name);
g_object_unref (gfile);
return ret;
return unescape;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment