emuikernel / wittytwitter

Automatically exported from code.google.com/p/wittytwitter
1 stars 0 forks source link

Settings are not persisted across versions #61

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install a new version of Witty
2. Settings are not persisted
3.

What is the expected output? What do you see instead?
Settings persisted

Please provide any additional information below.

You need to call Upgrade on settings

1. add a new user setting UpgradeSettings with a default value of True
2. add the following code to App.xaml.cs line 22

if (appSettings.UpgradeSettings)
{
    Witty.Properties.Settings.Default.Upgrade();
    appSettings.UpgradeSettings = false;
}

Original issue reported on code.google.com by shahi...@gmail.com on 6 Dec 2007 at 6:45

GoogleCodeExporter commented 8 years ago
See this url for details on calling Upgrade()

http://blogs.msdn.com/rprabhu/articles/433979.aspx

attached is a patch file with my changes.

Original comment by shahi...@gmail.com on 6 Dec 2007 at 6:48

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks a lot Omar.  I'm applying your patches.

Original comment by alan...@gmail.com on 31 Jan 2008 at 5:32

GoogleCodeExporter commented 8 years ago
Re-opening this one.

With Omar's patch, only the login info is persisted. Other settings such as 
refresh
interval, window position, etc are not persisted.

Original comment by alan...@gmail.com on 7 Feb 2008 at 2:33

GoogleCodeExporter commented 8 years ago
I took a look at the code and it looks like its working as expected.

Original comment by alan...@gmail.com on 19 Mar 2008 at 9:48