Merge branch 'master' into statusicon
This commit is contained in:
commit
17c4eb1523
|
@ -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 XmlDocument xml = new XmlDocument ();
|
||||||
private string plugin_directory;
|
private string plugin_directory;
|
||||||
|
|
|
@ -316,6 +316,9 @@ namespace SparkleShare {
|
||||||
remote_path = remote_path.Trim ();
|
remote_path = remote_path.Trim ();
|
||||||
remote_path = remote_path.TrimEnd ("/".ToCharArray ());
|
remote_path = remote_path.TrimEnd ("/".ToCharArray ());
|
||||||
|
|
||||||
|
if (SelectedPlugin.LowerCasePath)
|
||||||
|
remote_path = remote_path.ToLower ();
|
||||||
|
|
||||||
SyncingFolder = Path.GetFileNameWithoutExtension (remote_path);
|
SyncingFolder = Path.GetFileNameWithoutExtension (remote_path);
|
||||||
PreviousAddress = address;
|
PreviousAddress = address;
|
||||||
PreviousPath = remote_path;
|
PreviousPath = remote_path;
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
<_description>Free code hosting for Git and Mercurial</_description>
|
<_description>Free code hosting for Git and Mercurial</_description>
|
||||||
<icon>bitbucket.png</icon>
|
<icon>bitbucket.png</icon>
|
||||||
<backend>Git</backend>
|
<backend>Git</backend>
|
||||||
|
<lower_case_path>true</lower_case_path>
|
||||||
</info>
|
</info>
|
||||||
<address>
|
<address>
|
||||||
<value>ssh://git@bitbucket.org/</value>
|
<value>ssh://git@bitbucket.org/</value>
|
||||||
|
|
Loading…
Reference in a new issue