Author: mkrueger
Date: 2007-08-31 10:10:48 -0400 (Fri, 31 Aug 2007)
New Revision: 85124
Modified:
trunk/monodevelop/Extras/WelcomePage/ChangeLog
trunk/monodevelop/Extras/WelcomePage/WelcomePageCommands.cs
trunk/monodevelop/Extras/WelcomePage/WelcomePageOptionPanel.cs
Log:
* WelcomePageOptionPanel.cs, WelcomePageCommands.cs: Changes due to new
property infrastructure.
Modified: trunk/monodevelop/Extras/WelcomePage/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/WelcomePage/ChangeLog 2007-08-31 14:10:16 UTC
(rev 85123)
+++ trunk/monodevelop/Extras/WelcomePage/ChangeLog 2007-08-31 14:10:48 UTC
(rev 85124)
@@ -1,3 +1,8 @@
+2007-08-31 Mike Krüger <[EMAIL PROTECTED]>
+
+ * WelcomePageOptionPanel.cs, WelcomePageCommands.cs: Changes due to new
+ property infrastructure.
+
2007-08-31 Michael Hutchinson <[EMAIL PROTECTED]>
* WelcomePageView.cs: Dispose resource streams, to avoid an exception
in
Modified: trunk/monodevelop/Extras/WelcomePage/WelcomePageCommands.cs
===================================================================
--- trunk/monodevelop/Extras/WelcomePage/WelcomePageCommands.cs 2007-08-31
14:10:16 UTC (rev 85123)
+++ trunk/monodevelop/Extras/WelcomePage/WelcomePageCommands.cs 2007-08-31
14:10:48 UTC (rev 85124)
@@ -40,7 +40,7 @@
{
protected override void Run()
{
- if
(!Runtime.Properties.GetProperty("WelcomePage.ShowOnStartup", true))
+ if (!PropertyService.Get("WelcomePage.ShowOnStartup",
true))
return;
WelcomePageView wpv = new WelcomePageView();
Modified: trunk/monodevelop/Extras/WelcomePage/WelcomePageOptionPanel.cs
===================================================================
--- trunk/monodevelop/Extras/WelcomePage/WelcomePageOptionPanel.cs
2007-08-31 14:10:16 UTC (rev 85123)
+++ trunk/monodevelop/Extras/WelcomePage/WelcomePageOptionPanel.cs
2007-08-31 14:10:48 UTC (rev 85124)
@@ -15,13 +15,13 @@
this.Add(vbox);
showOnStartCheckButton.Label = GettextCatalog.GetString
("Show welcome page on startup");
- showOnStartCheckButton.Active =
Runtime.Properties.GetProperty("WelcomePage.ShowOnStartup", true);
+ showOnStartCheckButton.Active =
PropertyService.Get("WelcomePage.ShowOnStartup", true);
vbox.PackStart(showOnStartCheckButton, false, false, 0);
}
public override bool StorePanelContents()
{
-
Runtime.Properties.SetProperty("WelcomePage.ShowOnStartup",
showOnStartCheckButton.Active);
+ PropertyService.Set("WelcomePage.ShowOnStartup",
showOnStartCheckButton.Active);
return true;
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches