Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2009-10-07 16:19:04 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2009-10-07 16:39:31 (GMT)
commit2e7269db15755aad71ea5df8abb82c778dca6500 (patch)
treedd2b7a745bac6ae36b7265aab987d61816a3c6b2
parent7e1276794f51b4eaa89392fb81d372a4329f54cb (diff)
[shell] Use g_uri_unescape_string() instead of our own implementation
-rw-r--r--shell/ev-window-title.c2
-rw-r--r--shell/ev-window.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/ev-window-title.c b/shell/ev-window-title.c
index 2e28c63..ca2429b 100644
--- a/shell/ev-window-title.c
+++ b/shell/ev-window-title.c
@@ -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);
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 610a18e..f76d5af 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -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);