[evince] [shell] Escape uri before showing it in progress area



commit f48de2df96a3de3ce431162970ffe8f54409d44e
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Wed Oct 7 18:27:00 2009 +0200

    [shell] Escape uri before showing it in progress area
    
    See bgo#597691.

 shell/ev-window.c |    4 +++-
 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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]