update coding style
This commit is contained in:
parent
ec1b89299a
commit
bc7b301682
|
@ -40,12 +40,16 @@ namespace SparkleShare {
|
||||||
|
|
||||||
public static string SparkleAvatarPath {
|
public static string SparkleAvatarPath {
|
||||||
get {
|
get {
|
||||||
string XDG_CACHE_HOME = Environment.GetEnvironmentVariable("XDG_CACHE_HOME");
|
|
||||||
if (XDG_CACHE_HOME != null) {
|
string XDG_CACHE_HOME =
|
||||||
|
Environment.GetEnvironmentVariable ("XDG_CACHE_HOME");
|
||||||
|
|
||||||
|
if (XDG_CACHE_HOME != null)
|
||||||
return Path.Combine (XDG_CACHE_HOME, "sparkleshare");
|
return Path.Combine (XDG_CACHE_HOME, "sparkleshare");
|
||||||
} else {
|
else
|
||||||
return SparkleHelpers.CombineMore (HomePath, ".cache", "sparkleshare");
|
return SparkleHelpers.CombineMore
|
||||||
}
|
(HomePath, ".cache", "sparkleshare");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue