Revision 8f44fd3a trunk/Pithos.Client.WPF/Utils/EnumerableExtensions.cs

b/trunk/Pithos.Client.WPF/Utils/EnumerableExtensions.cs
85 85
            foreach (var item in orderedItems)
86 86
            {
87 87
                var path = item.Uri.ToString();
88
                var newNode = new DirectoryRecord{ DisplayName=item.Name,ObjectInfo=item};
88
                var newNode = new DirectoryRecord{ DisplayName=item.Name.Split('/').Last(),ObjectInfo=item};
89 89
                lookups[path] = newNode;
90 90

  
91 91
                var lastIndex = path.LastIndexOf("/", StringComparison.Ordinal);

Also available in: Unified diff