Merge branch 'master' into statusicon

This commit is contained in:
Hylke Bons 2012-03-24 20:23:16 +00:00
commit 17c4eb1523
3 changed files with 13 additions and 0 deletions

View file

@ -95,6 +95,15 @@ namespace SparkleShare {
}
}
public Boolean LowerCasePath {
get {
if (GetValue ("info", "lower_case_path").Equals ("true"))
return true;
else
return false;
}
}
private XmlDocument xml = new XmlDocument ();
private string plugin_directory;

View file

@ -316,6 +316,9 @@ namespace SparkleShare {
remote_path = remote_path.Trim ();
remote_path = remote_path.TrimEnd ("/".ToCharArray ());
if (SelectedPlugin.LowerCasePath)
remote_path = remote_path.ToLower ();
SyncingFolder = Path.GetFileNameWithoutExtension (remote_path);
PreviousAddress = address;
PreviousPath = remote_path;

View file

@ -6,6 +6,7 @@
<_description>Free code hosting for Git and Mercurial</_description>
<icon>bitbucket.png</icon>
<backend>Git</backend>
<lower_case_path>true</lower_case_path>
</info>
<address>
<value>ssh://git@bitbucket.org/</value>