projects
/
pithos-ms-client
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes to hashing
[pithos-ms-client]
/
trunk
/
Pithos.Client.WPF
/
Shell
/
ShellViewModel.cs
diff --git
a/trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs
b/trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs
index
c73c8ee
..
7966319
100644
(file)
--- a/
trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs
+++ b/
trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs
@@
-125,6
+125,8
@@
namespace Pithos.Client.WPF {
private readonly PollAgent _pollAgent;
private readonly NetworkAgent _networkAgent;
private readonly PollAgent _pollAgent;
private readonly NetworkAgent _networkAgent;
+ [Import]
+ public Selectives Selectives { get; set; }
private MiniStatusViewModel _miniStatus;
private MiniStatusViewModel _miniStatus;
@@
-318,6
+320,8
@@
namespace Pithos.Client.WPF {
MigrateFolders(account);
MigrateFolders(account);
+ Selectives.SetIsSelectiveEnabled(account.AccountKey, account.SelectiveSyncEnabled);
+
if (Monitors.TryGetValue(account.AccountKey, out monitor))
{
//If the account is active
if (Monitors.TryGetValue(account.AccountKey, out monitor))
{
//If the account is active
@@
-1012,7
+1016,7
@@
namespace Pithos.Client.WPF {
PithosMonitor monitor;
if (Monitors.TryGetValue(message.Account.AccountKey, out monitor))
{
PithosMonitor monitor;
if (Monitors.TryGetValue(message.Account.AccountKey, out monitor))
{
- monitor.Selectives.SetIsSelectiveEnabled(message.Account.AccountKey, message.Enabled);
+ Selectives.SetIsSelectiveEnabled(message.Account.AccountKey, message.Enabled);
monitor.SetSelectivePaths(message.Uris, message.Added, message.Removed);
}
monitor.SetSelectivePaths(message.Uris, message.Added, message.Removed);
}