statusicon: show size instead of size + history size. Fixes #776
This commit is contained in:
parent
18fae13330
commit
9f82653208
|
@ -796,7 +796,7 @@ namespace SparkleShare {
|
||||||
|
|
||||||
// Create an easily accessible copy of the public
|
// Create an easily accessible copy of the public
|
||||||
// key in the user's SparkleShare folder
|
// 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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@ namespace SparkleShare {
|
||||||
double size = 0;
|
double size = 0;
|
||||||
|
|
||||||
foreach (SparkleRepoBase repo in Program.Controller.Repositories)
|
foreach (SparkleRepoBase repo in Program.Controller.Repositories)
|
||||||
size += repo.Size + repo.HistorySize;
|
size += repo.Size;
|
||||||
|
|
||||||
if (size == 0)
|
if (size == 0)
|
||||||
return "";
|
return "";
|
||||||
|
|
Loading…
Reference in a new issue