diff --git a/SparkleLib/SparkleConfig.cs b/SparkleLib/SparkleConfig.cs index 75183642..13913b91 100644 --- a/SparkleLib/SparkleConfig.cs +++ b/SparkleLib/SparkleConfig.cs @@ -82,8 +82,6 @@ namespace SparkleLib { " " + n + " " + user_name + "" + n + " Unknown" + n + - " False" + n + - " False" + n + " " + n + ""); writer.Close (); @@ -209,6 +207,17 @@ namespace SparkleLib { { return this.GetFolderValue(name, "url"); } + + public List GetUrls () + { + List Urls = new List (); + + foreach (string folder_name in SparkleLib.SparkleConfig.DefaultConfig.Folders) { + Urls.Add(GetUrlForFolder(folder_name)); + } + + return Urls; + } public string GetAnnouncementsForFolder (string name) {