From 8b24b88d605f81e7d8a6bac8a504b691d4f769c2 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Thu, 20 Sep 2012 10:33:49 +0100 Subject: [PATCH] config: add back folders_path option. Closes #975 --- SparkleLib/SparkleConfig.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SparkleLib/SparkleConfig.cs b/SparkleLib/SparkleConfig.cs index ae067680..cd80150e 100755 --- a/SparkleLib/SparkleConfig.cs +++ b/SparkleLib/SparkleConfig.cs @@ -44,7 +44,10 @@ namespace SparkleLib { public string FoldersPath { get { - return Path.Combine (HomePath, "SparkleShare"); + if (GetConfigOption ("folders_path") != null) + return GetConfigOption ("folders_path"); + else + return Path.Combine (HomePath, "SparkleShare"); } }