diff --git a/SparkleShare/SparklePlugin.cs b/SparkleShare/SparklePlugin.cs index 34277b78..9d6eec71 100644 --- a/SparkleShare/SparklePlugin.cs +++ b/SparkleShare/SparklePlugin.cs @@ -95,10 +95,12 @@ namespace SparkleShare { } } - public Boolean LowerCasePath { + public bool PathUsesLowerCase { get { - if (GetValue ("info", "lower_case_path").Equals ("true")) - return true; + string uses_lower_case = GetValue ("path", "uses_lower_case"); + + if (!string.IsNullOrEmpty (uses_lower_case)) + return uses_lower_case.Equals (bool.TrueString); else return false; } diff --git a/SparkleShare/SparkleSetupController.cs b/SparkleShare/SparkleSetupController.cs index da7500ac..7c02be9d 100755 --- a/SparkleShare/SparkleSetupController.cs +++ b/SparkleShare/SparkleSetupController.cs @@ -316,7 +316,7 @@ namespace SparkleShare { remote_path = remote_path.Trim (); remote_path = remote_path.TrimEnd ("/".ToCharArray ()); - if (SelectedPlugin.LowerCasePath) + if (SelectedPlugin.PathUsesLowerCase) remote_path = remote_path.ToLower (); SyncingFolder = Path.GetFileNameWithoutExtension (remote_path); diff --git a/data/plugins/bitbucket.xml.in b/data/plugins/bitbucket.xml.in index 302a39aa..7b79ca12 100644 --- a/data/plugins/bitbucket.xml.in +++ b/data/plugins/bitbucket.xml.in @@ -6,7 +6,6 @@ <_description>Free code hosting for Git and Mercurial bitbucket.png Git - true
ssh://git@bitbucket.org/ @@ -15,6 +14,7 @@ <_example>/username/project + True