diff --git a/SparkleLib/Git/SparkleRepoGit.cs b/SparkleLib/Git/SparkleRepoGit.cs index 522ed081..c02fc38d 100644 --- a/SparkleLib/Git/SparkleRepoGit.cs +++ b/SparkleLib/Git/SparkleRepoGit.cs @@ -71,7 +71,7 @@ namespace SparkleLib { public override double Size { get { - string file_path = Path.Combine (LocalPath, ".git", "repo_size"); + string file_path = SparkleHelpers.CombineMore (LocalPath, ".git", "repo_size"); try { return double.Parse (File.ReadAllText (file_path)); @@ -85,7 +85,7 @@ namespace SparkleLib { public override double HistorySize { get { - string file_path = Path.Combine (LocalPath, ".git", "repo_history_size"); + string file_path = SparkleHelpers.CombineMore(LocalPath, ".git", "repo_history_size"); try { return double.Parse (File.ReadAllText (file_path)); @@ -105,8 +105,8 @@ namespace SparkleLib { double history_size = CalculateSize ( new DirectoryInfo (Path.Combine (LocalPath, ".git"))); - string size_file_path = Path.Combine (LocalPath, ".git", "repo_size"); - string history_size_file_path = Path.Combine (LocalPath, ".git", "repo_history_size"); + string size_file_path = SparkleHelpers.CombineMore(LocalPath, ".git", "repo_size"); + string history_size_file_path = SparkleHelpers.CombineMore(LocalPath, ".git", "repo_history_size"); File.WriteAllText (size_file_path, size.ToString ()); File.WriteAllText (history_size_file_path, history_size.ToString ()); diff --git a/SparkleLib/windows/SparkleLib.csproj b/SparkleLib/windows/SparkleLib.csproj index 0bf9c160..0fff07df 100644 --- a/SparkleLib/windows/SparkleLib.csproj +++ b/SparkleLib/windows/SparkleLib.csproj @@ -67,6 +67,9 @@ SparkleFetcherGit.cs + + + SparkleGit.cs Component diff --git a/SparkleShare/SparkleStatusIcon.cs b/SparkleShare/SparkleStatusIcon.cs index 4d70a5b2..252075a7 100644 --- a/SparkleShare/SparkleStatusIcon.cs +++ b/SparkleShare/SparkleStatusIcon.cs @@ -363,4 +363,4 @@ namespace SparkleShare { SetProperty ("always-show-image", new GLib.Value (true)); } } -} +} \ No newline at end of file