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

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

View file

@ -315,6 +315,9 @@ namespace SparkleShare {
address = address.Trim ();
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;

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>