Revision 5a99309c trunk/Pithos.Client.WPF/ShellViewModel.cs
b/trunk/Pithos.Client.WPF/ShellViewModel.cs | ||
---|---|---|
210 | 210 |
|
211 | 211 |
public void OpenPithosFolder() |
212 | 212 |
{ |
213 |
Process.Start(Settings.PithosPath); |
|
213 |
var account = Settings.Accounts.FirstOrDefault(acc => acc.IsActive); |
|
214 |
if (account == null) |
|
215 |
return; |
|
216 |
Process.Start(account.RootPath); |
|
217 |
} |
|
218 |
|
|
219 |
public void OpenPithosFolder(AccountInfo account) |
|
220 |
{ |
|
221 |
Process.Start(account.AccountPath); |
|
214 | 222 |
} |
215 | 223 |
|
216 | 224 |
public void GoToSite() |
... | ... | |
479 | 487 |
|
480 | 488 |
//// Add a mex endpoint |
481 | 489 |
var smb = new ServiceMetadataBehavior |
482 |
{ |
|
490 |
{
|
|
483 | 491 |
HttpGetEnabled = true, |
484 | 492 |
HttpGetUrl = new Uri("http://localhost:30000/pithos/mex") |
485 | 493 |
}; |
Also available in: Unified diff