event log: update size info after the html

This commit is contained in:
Hylke Bons 2012-01-22 13:49:29 +00:00
parent 9cc076e5e2
commit 231594186f
4 changed files with 9 additions and 4 deletions

5
NEWS
View file

@ -1,10 +1,13 @@
0.8.0 for Linux and Mac (Sat Jan 14):
0.8.0 for Linux and Mac (Sun Jan 22):
Hylke:
- Show syncing progress in the status icon
- Hide dock icon on Mac until you open a window
- Update dates in the event log after midnight
- Don't let git compress already compressed files (.jpg .ogg .zip, etc.)
- Limit git's memory usage
- Ignore history of any added git/hg/bzr repositories, just add the files
- Spin status icon on syncing changes made before startup
0.6.0 for Linux and Mac (Sun Dec 25 2011):

View file

@ -59,7 +59,7 @@
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="System.Net" />
<Reference Include="SparkleLib, Version=0.6.0.0, Culture=neutral, PublicKeyToken=null">
<Reference Include="SparkleLib, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\bin\SparkleLib.dll</HintPath>
</Reference>

View file

@ -245,7 +245,7 @@ namespace SparkleShare {
if (name == null)
return GetLog ();
string path = new string [] {SparkleConfig.DefaultConfig.FoldersPath, name}.Combine ();
string path = Path.Combine (SparkleConfig.DefaultConfig.FoldersPath, name);
int log_size = 50;
foreach (SparkleRepoBase repo in Repositories) {

View file

@ -84,10 +84,12 @@ namespace SparkleShare {
get {
List<SparkleChangeSet> change_sets = Program.Controller.GetLog (this.selected_folder);
string html = Program.Controller.GetHTMLLog (change_sets);
if (UpdateSizeInfoEvent != null)
UpdateSizeInfoEvent (Size, HistorySize);
return Program.Controller.GetHTMLLog (change_sets);
return html;
}
}