[evince] Unescape location URI in properties dialog. Fixes #693794



commit 397f67d960dc516619ab11be88455de91695eb5c
Author: GermÃn Poo-CaamaÃo <gpoo gnome org>
Date:   Sat Feb 16 11:17:25 2013 -0800

    Unescape location URI in properties dialog. Fixes #693794
    
    Shows an user-friendly filename (URI) in the properties dialog.
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=693794
    
    Signed-off-by: GermÃn Poo-CaamaÃo <gpoo gnome org>

 properties/ev-properties-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/properties/ev-properties-view.c b/properties/ev-properties-view.c
index 1a5f29e..d65262c 100644
--- a/properties/ev-properties-view.c
+++ b/properties/ev-properties-view.c
@@ -390,7 +390,7 @@ ev_properties_view_new (const gchar *uri)
        EvPropertiesView *properties;
 
        properties = g_object_new (EV_TYPE_PROPERTIES, NULL);
-       properties->uri = g_strdup (uri);
+       properties->uri = g_uri_unescape_string (uri, NULL);
 
        return GTK_WIDGET (properties);
 }


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