Revision c92e02f3 trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs
b/trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs | ||
---|---|---|
338 | 338 |
if (accountMonitor == null) |
339 | 339 |
return; |
340 | 340 |
|
341 |
ObjectInfo info = accountMonitor.GetObjectInfo(filePath);
|
|
341 |
var infoTask=Task.Factory.StartNew(()=>accountMonitor.GetObjectInfo(filePath));
|
|
342 | 342 |
|
343 | 343 |
|
344 | 344 |
|
345 |
var fileProperties = new FilePropertiesViewModel(this, info,filePath); |
|
345 |
var fileProperties = new FilePropertiesViewModel(this, infoTask,filePath);
|
|
346 | 346 |
_windowManager.ShowWindow(fileProperties); |
347 | 347 |
} |
348 | 348 |
|
... | ... | |
369 | 369 |
select monitor).FirstOrDefault(); |
370 | 370 |
var account = pair.Key; |
371 | 371 |
var accountMonitor = pair.Value; |
372 |
ContainerInfo info = accountMonitor.GetContainerInfo(filePath);
|
|
372 |
var info = accountMonitor.GetContainerInfo(filePath);
|
|
373 | 373 |
|
374 | 374 |
|
375 | 375 |
|
... | ... | |
530 | 530 |
Settings.Save(); |
531 | 531 |
await TaskEx.Delay(10000); |
532 | 532 |
StartMonitor(monitor, retries + 1); |
533 |
NotifyOfPropertyChange(()=>Accounts); |
|
533 | 534 |
} |
534 | 535 |
catch (AggregateException exc) |
535 | 536 |
{ |
Also available in: Unified diff