From 7634b7f655c72b52aae64bfbc890b45cc6dfe354 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Wed, 25 May 2011 01:00:27 +0100 Subject: [PATCH] config: add a default static SparkleConfig --- SparkleLib/SparkleConfig.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SparkleLib/SparkleConfig.cs b/SparkleLib/SparkleConfig.cs index 4bd1ea12..fb9e504b 100644 --- a/SparkleLib/SparkleConfig.cs +++ b/SparkleLib/SparkleConfig.cs @@ -22,6 +22,9 @@ namespace SparkleLib { public class SparkleConfig : XmlDocument { + public static SparkleConfig DefaultConfig = new SparkleConfig ( + System.IO.Path.Combine (SparklePaths.SparkleConfigPath, "config.xml")); + public string Path; @@ -43,7 +46,6 @@ namespace SparkleLib { node.InnerText = value; Save (Path); - } }