Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2009-10-07 16:27:00 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2009-10-07 16:39:31 (GMT)
commitf48de2df96a3de3ce431162970ffe8f54409d44e (patch)
treed8b649bb24bbae3a008574d66ba6153b122a5e37 /shell/ev-window.c
parent0d6af91b5d9438f49f2e0aead21a0070d875f599 (diff)
[shell] Escape uri before showing it in progress area
See bgo#597691.
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index f76d5af..d41c847 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -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);