]> 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:41:07 +0000 (18:41 +0200)
See bgo#597691.

shell/ev-window.c

index 1eb7d08c89803373485a84b3b1364436bd2b1cd0..9a77d7080f9009bcafc0c7784514e668af5a5fa0 100644 (file)
@@ -1614,7 +1614,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);