Commit 2e7269db authored by Carlos Garcia Campos's avatar Carlos Garcia Campos

[shell] Use g_uri_unescape_string() instead of our own implementation

parent 7e127679
......@@ -75,7 +75,7 @@ get_filename_from_uri (const char *uri)
char *filename;
char *basename;
filename = escape_uri_for_display (uri);
filename = g_uri_unescape_string (uri, NULL);
basename = g_path_get_basename (filename);
g_free(filename);
......
......@@ -1560,7 +1560,7 @@ show_loading_progress (EvWindow *ev_window)
if (ev_window->priv->message_area)
return FALSE;
display_name = escape_uri_for_display (ev_window->priv->uri);
display_name = g_uri_unescape_string (ev_window->priv->uri, NULL);
text = g_strdup_printf (_("Loading document from “%s”"),
display_name);
......
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