]> www.fi.muni.cz Git - evince.git/commitdiff
[shell] Escape uri before showing it in progress area
authorCarlos Garcia Campos <carlosgc@gnome.org>
Wed, 7 Oct 2009 16:27:00 +0000 (18:27 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Wed, 7 Oct 2009 16:39:31 +0000 (18:39 +0200)
See bgo#597691.

shell/ev-window.c

index f76d5af68cf373fc00f3c3a4851d6458535bbbdd..d41c8476dac7aa0e737f3b771f8e5bc1157a7646 100644 (file)
@@ -1560,7 +1560,9 @@ show_loading_progress (EvWindow *ev_window)
        if (ev_window->priv->message_area)
                return FALSE;
 
-       display_name = g_uri_unescape_string (ev_window->priv->uri, NULL);
+       text = g_uri_unescape_string (ev_window->priv->uri, NULL);
+       display_name = g_markup_escape_text (text, -1);
+       g_free (text);
        text = g_strdup_printf (_("Loading document from ā€œ%sā€"),
                                display_name);