Merge branch 'integration'

This commit is contained in:
Hylke Bons 2010-06-12 17:29:44 +01:00
commit e98a97a505

View file

@ -38,8 +38,20 @@ namespace SparkleShare {
SparkleHelpers.CombineMore ("usr", "share", "sparkleshare", SparkleHelpers.CombineMore ("usr", "share", "sparkleshare",
"icons", "hicolor"); "icons", "hicolor");
public static string SparkleAvatarPath = public static string SparkleAvatarPath {
Path.Combine (SparkleConfigPath, "avatars"); get {
string XDG_CACHE_HOME =
Environment.GetEnvironmentVariable ("XDG_CACHE_HOME");
if (XDG_CACHE_HOME != null)
return Path.Combine (XDG_CACHE_HOME, "sparkleshare");
else
return SparkleHelpers.CombineMore
(HomePath, ".cache", "sparkleshare");
}
}
public static string SparkleIconPath = public static string SparkleIconPath =
SparkleHelpers.CombineMore ("usr", "share", "icons", "hicolor"); SparkleHelpers.CombineMore ("usr", "share", "icons", "hicolor");