[gnome-disk-utility/udisks2-port] Unescape URI before presenting it in the UI



commit de25ac2609d28efea4804b103a1ccc9cba6ce26d
Author: David Zeuthen <davidz redhat com>
Date:   Wed Dec 7 18:00:25 2011 -0500

    Unescape URI before presenting it in the UI
    
    Signed-off-by: David Zeuthen <davidz redhat com>

 src/palimpsest/gduutils.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/palimpsest/gduutils.c b/src/palimpsest/gduutils.c
index d89c7b5..605502d 100644
--- a/src/palimpsest/gduutils.c
+++ b/src/palimpsest/gduutils.c
@@ -209,8 +209,7 @@ gdu_utils_unfuse_path (const gchar *path)
     }
   else
     {
-      ret = uri;
-      uri = NULL;
+      ret = g_uri_unescape_string (uri, NULL);
     }
   g_object_unref (file);
   g_free (uri);



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