Reorganize auto-start and default feed reader settings

This commit is contained in:
2014-12-06 09:07:18 -05:00
parent cd0113ff9c
commit 8f3a532abc
4 changed files with 109 additions and 111 deletions

View File

@@ -1,4 +1,7 @@
namespace FeedCenter.Options
using System.Windows;
using Common.Wpf.Extensions;
namespace FeedCenter.Options
{
public partial class GeneralOptionsPanel
{
@@ -32,8 +35,8 @@
if (registerAsDefaultFeedReaderCheckBox.IsChecked.HasValue && settings.RegisterAsDefaultFeedReader != registerAsDefaultFeedReaderCheckBox.IsChecked.Value)
settings.RegisterAsDefaultFeedReader = registerAsDefaultFeedReaderCheckBox.IsChecked.Value;
App.SetStartWithWindows(settings.StartWithWindows);
App.SetDefaultFeedReader(settings.RegisterAsDefaultFeedReader);
Application.Current.SetStartWithWindows(settings.StartWithWindows);
SystemConfiguration.SetDefaultFeedReader(settings.RegisterAsDefaultFeedReader);
}
public override string CategoryName