Fixed incorrect account key in PollAgent.cs
[pithos-ms-client] / trunk / Pithos.Client.WPF / SelectiveSynch / SelectiveSynchViewModel.cs
index 00ce722..71074a8 100644 (file)
@@ -103,7 +103,7 @@ namespace Pithos.Client.WPF.SelectiveSynch
                        select new DirectoryRecord
                                   {
                                       DisplayName = container.Name,
-                                      Uri=new Uri(client.StorageUrl,container.Name),
+                                      Uri=new Uri(client.StorageUrl,String.Format(@"{0}/{1}",Account.AccountName, container.Name)),
                                       Directories = (from dir in client.ListObjects(_monitor.UserName, container.Name)                                                     
                                                      where dir.Content_Type == DirectoryType
                                                      select dir).ToTree()