Revision aba9e6d9 trunk/Pithos.Client.WPF/Preferences/PreferencesViewModel.cs

b/trunk/Pithos.Client.WPF/Preferences/PreferencesViewModel.cs
138 138
       
139 139
        #region Commands
140 140
        
141
        public bool CanSelectiveSyncFolders
142
        {
143
            get { return CurrentAccount != null; }
144
        }
145

  
141 146
        public void SelectiveSyncFolders()
142 147
        {
143 148
            var monitor = Shell.Monitors[CurrentAccount.AccountName];
......
285 290

  
286 291
                Settings.ExtensionsActivated = value;
287 292

  
288
                //if (value)
289
                //    _extensionController.RegisterExtensions();
290
                //else
291
                //{
292
                //    _extensionController.UnregisterExtensions();
293
                //}
293
/*
294
                if (value)
295
                    _extensionController.RegisterExtensions();
296
                else
297
                {
298
                    _extensionController.UnregisterExtensions();
299
                }
300
*/
294 301
                NotifyOfPropertyChange(() => ExtensionsActivated);
295 302
            }
296 303
        }
......
332 339
                _currentAccount = value;
333 340
                NotifyOfPropertyChange(()=>CurrentAccount);
334 341
                NotifyOfPropertyChange(() => CanRemoveAccount);
342
                NotifyOfPropertyChange(() => CanSelectiveSyncFolders);
343
                NotifyOfPropertyChange(() => CanMoveAccountFolder);
335 344
            }
336 345
        }
337 346

  
......
348 357
*/
349 358

  
350 359

  
351

  
360
        public bool CanMoveAccountFolder
361
        {
362
            get { return CurrentAccount != null; }
363
        }
352 364

  
353 365
    public void MoveAccountFolder()
354 366
    {

Also available in: Unified diff