Revision 43dd02a8 trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs

b/trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs
125 125
	    private readonly PollAgent _pollAgent;
126 126
	    private readonly NetworkAgent _networkAgent;
127 127

  
128
	    [Import]
129
	    public Selectives Selectives { get; set; }
128 130

  
129 131
	    private MiniStatusViewModel _miniStatus;
130 132

  
......
318 320

  
319 321
			    MigrateFolders(account);
320 322

  
323
			    Selectives.SetIsSelectiveEnabled(account.AccountKey, account.SelectiveSyncEnabled);
324

  
321 325
				if (Monitors.TryGetValue(account.AccountKey, out monitor))
322 326
				{
323 327
					//If the account is active
......
1012 1016
		        PithosMonitor monitor;
1013 1017
		        if (Monitors.TryGetValue(message.Account.AccountKey, out monitor))
1014 1018
		        {
1015
                    monitor.Selectives.SetIsSelectiveEnabled(message.Account.AccountKey, message.Enabled);
1019
                    Selectives.SetIsSelectiveEnabled(message.Account.AccountKey, message.Enabled);
1016 1020
		            monitor.SetSelectivePaths(message.Uris, message.Added, message.Removed);
1017 1021
		        }
1018 1022

  

Also available in: Unified diff