[f-spot] Unescape Uri for display
- From: Ruben Vermeersch <rubenv src gnome org>
- To: svn-commits-list gnome org
- Subject: [f-spot] Unescape Uri for display
- Date: Thu, 23 Jul 2009 21:24:35 +0000 (UTC)
commit 54ad258e37790bd75c58b04dba17a92f643eae7c
Author: Mike Gemünde <mike gemuende de>
Date: Thu Jul 23 21:20:04 2009 +0200
Unescape Uri for display
Fixes BGO Bug 589522 â?? Problems with non-ascii characters in the new folder view
Signed-off-by: Ruben Vermeersch <ruben savanne be>
src/Widgets/FolderTreeModel.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Widgets/FolderTreeModel.cs b/src/Widgets/FolderTreeModel.cs
index 0b1da04..d0b0658 100644
--- a/src/Widgets/FolderTreeModel.cs
+++ b/src/Widgets/FolderTreeModel.cs
@@ -160,14 +160,14 @@ namespace FSpot.Widgets
if (IterIsValid (parent_iter))
iter =
AppendValues (parent_iter,
- segments[i],
+ Uri.UnescapeDataString (segments[i]),
(segments.Length - 1 == i)? count : 0,
new Uri ((Uri) GetValue (parent_iter, 2),
String.Format ("{0}/", segments[i]))
);
else
iter =
- AppendValues (segments[i],
+ AppendValues (Uri.UnescapeDataString (segments[i]),
(segments.Length - 1 == i)? count : 0,
new Uri (base_uri, "/"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]