Revision 77e10b4f trunk/Pithos.Client.WPF/SelectiveSynch/SelectiveSynchViewModel.cs
b/trunk/Pithos.Client.WPF/SelectiveSynch/SelectiveSynchViewModel.cs | ||
---|---|---|
17 | 17 |
private IEventAggregator _events ; |
18 | 18 |
|
19 | 19 |
private string _rootPath; |
20 |
private string _fragmentsPath;
|
|
20 |
private string _cachePath;
|
|
21 | 21 |
public string RootPath |
22 | 22 |
{ |
23 | 23 |
get { return _rootPath; } |
24 | 24 |
set |
25 | 25 |
{ |
26 | 26 |
_rootPath = value; |
27 |
_fragmentsPath = Path.Combine(_rootPath, FolderConstants.FragmentsFolder);
|
|
27 |
_cachePath = Path.Combine(_rootPath, FolderConstants.CacheFolder);
|
|
28 | 28 |
_pithosDirectory = new ObservableCollection<DirectoryRecord>{ |
29 |
new DirectoryRecord(_fragmentsPath) {Info = new DirectoryInfo(value)}};
|
|
29 |
new DirectoryRecord(_cachePath) {Info = new DirectoryInfo(value)}};
|
|
30 | 30 |
NotifyOfPropertyChange(() => RootPath); |
31 | 31 |
NotifyOfPropertyChange(()=>PithosDirectory); |
32 | 32 |
} |
Also available in: Unified diff