Revision aba9e6d9 trunk/Pithos.Client.WPF/AppBootstrapper.cs

b/trunk/Pithos.Client.WPF/AppBootstrapper.cs
3 3
using System.Windows.Navigation;
4 4
using Caliburn.Micro;
5 5
using Caliburn.Micro.Logging;
6
using Pithos.Client.WPF.Properties;
6 7
using Pithos.Core;
7 8
using Pithos.Network;
8 9
using log4net.Appender;
......
27 28
	    public AppBootstrapper()
28 29
	    {
29 30
            LogManager.GetLog = type => new log4netLogger(type);
31
	        UpgradeSettings();
30 32
	    }
31 33

  
32
		/// <summary>
34
	    private void UpgradeSettings()
35
	    {
36
            if (Settings.Default.MustUpgrade)
37
            {
38
                Settings.Default.Upgrade();
39
                Settings.Default.MustUpgrade = false;
40
                Settings.Default.Save();
41
            }
42
	    }
43

  
44
	    /// <summary>
33 45
		/// By default, we are configured to use MEF
34 46
		/// </summary>
35 47
		protected override void Configure() {

Also available in: Unified diff