config: remove undocumented 'home_path' option

This commit is contained in:
Hylke Bons 2012-08-01 14:44:34 +02:00
parent 22ef272860
commit 4b9e1f5c34

View file

@ -35,9 +35,6 @@ namespace SparkleLib {
public string HomePath {
get {
if (GetConfigOption ("home_path") != null)
return GetConfigOption ("home_path");
if (SparkleBackend.Platform == PlatformID.Win32NT)
return Environment.GetFolderPath (Environment.SpecialFolder.UserProfile);
else
@ -56,7 +53,7 @@ namespace SparkleLib {
public SparkleConfig (string config_path, string config_file_name)
{
FullPath = Path.Combine (config_path, config_file_name);
LogFilePath = Path.Combine (config_path, "debug-log.txt");
LogFilePath = Path.Combine (config_path, "debug_log.txt");
if (File.Exists (LogFilePath)) {
try {