From 9f82653208bca28e6e515393a4b1657d3b1a2446 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Tue, 5 Jun 2012 15:14:58 +0100 Subject: [PATCH] statusicon: show size instead of size + history size. Fixes #776 --- SparkleShare/SparkleControllerBase.cs | 2 +- SparkleShare/SparkleStatusIconController.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SparkleShare/SparkleControllerBase.cs b/SparkleShare/SparkleControllerBase.cs index 4a490019..72b95741 100644 --- a/SparkleShare/SparkleControllerBase.cs +++ b/SparkleShare/SparkleControllerBase.cs @@ -796,7 +796,7 @@ namespace SparkleShare { // Create an easily accessible copy of the public // key in the user's SparkleShare folder - File.Copy (key_file_path + ".pub", Path.Combine (SparklePath, CurrentUser.Name + "'s key.txt"), true); + File.Copy (key_file_path + ".pub", Path.Combine (SparklePath, CurrentUser.Name + "'s link code.txt"), true); } diff --git a/SparkleShare/SparkleStatusIconController.cs b/SparkleShare/SparkleStatusIconController.cs index b234b702..91d56050 100755 --- a/SparkleShare/SparkleStatusIconController.cs +++ b/SparkleShare/SparkleStatusIconController.cs @@ -87,7 +87,7 @@ namespace SparkleShare { double size = 0; foreach (SparkleRepoBase repo in Program.Controller.Repositories) - size += repo.Size + repo.HistorySize; + size += repo.Size; if (size == 0) return "";