statusicon: show size instead of size + history size. Fixes #776

This commit is contained in:
Hylke Bons 2012-06-05 15:14:58 +01:00
parent 18fae13330
commit 9f82653208
2 changed files with 2 additions and 2 deletions

View file

@ -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);
}

View file

@ -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 "";