[synchronicity-commits] SF.net SVN: synchronicity:[1477] trunk/Create Synchronicity
Easy, fast, and lightweight backup and synchronization app for Windows
Brought to you by:
createsoftware
From: <cre...@us...> - 2011-11-26 00:25:35
|
Revision: 1477 http://synchronicity.svn.sourceforge.net/synchronicity/?rev=1477&view=rev Author: createsoftware Date: 2011-11-26 00:25:29 +0000 (Sat, 26 Nov 2011) Log Message: ----------- s/TaskDone/StepCompleted/ Modified Paths: -------------- trunk/Create Synchronicity/Interface/SynchronizeForm.vb trunk/Create Synchronicity/Revision.vb Modified: trunk/Create Synchronicity/Interface/SynchronizeForm.vb =================================================================== --- trunk/Create Synchronicity/Interface/SynchronizeForm.vb 2011-11-26 00:02:53 UTC (rev 1476) +++ trunk/Create Synchronicity/Interface/SynchronizeForm.vb 2011-11-26 00:25:29 UTC (rev 1477) @@ -35,7 +35,7 @@ Private LeftRootPath, RightRootPath As String 'Translated path to left and right folders - Private Delegate Sub TaskDoneCall(ByVal Id As StatusData.SyncStep) + Private Delegate Sub StepCompletedCall(ByVal Id As StatusData.SyncStep) Private Delegate Sub SetIntCall(ByVal Id As StatusData.SyncStep, ByVal Max As Integer) Friend Event SyncFinished(ByVal Name As String, ByVal Completed As Boolean) @@ -493,7 +493,7 @@ Private Sub Scan() Dim Context As New SyncingContext - Dim TaskDoneCallback As New TaskDoneCall(AddressOf StepCompleted) + Dim StepCompletedCallback As New StepCompletedCall(AddressOf StepCompleted) 'Pass 1: Create actions L->R for files/folder copy, and mark dest files that should be kept 'Pass 2: Create actions R->L for files/folder copy/deletion, based on what was marked as ValidFile, aka based on what should be kept. @@ -521,11 +521,11 @@ Case SyncMethod.BiIncremental Init_Synchronization(Handler.RightCheckedNodes, Context, TypeOfAction.Copy) End Select - Me.Invoke(TaskDoneCallback, StatusData.SyncStep.Scan) + Me.Invoke(StepCompletedCallback, StatusData.SyncStep.Scan) End Sub Private Sub Sync() - Dim TaskDoneCallback As New TaskDoneCall(AddressOf StepCompleted) + Dim StepCompletedCallback As New StepCompletedCall(AddressOf StepCompleted) Dim SetMaxCallback As New SetIntCall(AddressOf SetMax) If Handler.GetSetting(Of Boolean)(ProfileSetting.PreviewOnly, False) Then @@ -537,11 +537,11 @@ Me.Invoke(New Action(AddressOf LaunchTimer)) Me.Invoke(SetMaxCallback, New Object() {StatusData.SyncStep.SyncLR, SyncingList(SideOfSource.Left).Count}) Do_Task(SideOfSource.Left, SyncingList(SideOfSource.Left), LeftRootPath, RightRootPath, StatusData.SyncStep.SyncLR) - Me.Invoke(TaskDoneCallback, StatusData.SyncStep.SyncLR) + Me.Invoke(StepCompletedCallback, StatusData.SyncStep.SyncLR) Me.Invoke(SetMaxCallback, New Object() {StatusData.SyncStep.SyncRL, SyncingList(SideOfSource.Right).Count}) Do_Task(SideOfSource.Right, SyncingList(SideOfSource.Right), RightRootPath, LeftRootPath, StatusData.SyncStep.SyncRL) - Me.Invoke(TaskDoneCallback, StatusData.SyncStep.SyncRL) + Me.Invoke(StepCompletedCallback, StatusData.SyncStep.SyncRL) End Sub '"Source" is "current side", with the corresponding side stored in "Side" Modified: trunk/Create Synchronicity/Revision.vb =================================================================== --- trunk/Create Synchronicity/Revision.vb 2011-11-26 00:02:53 UTC (rev 1476) +++ trunk/Create Synchronicity/Revision.vb 2011-11-26 00:25:29 UTC (rev 1477) @@ -1,3 +1,3 @@ Module Revision - Public Const Build As Integer = 1475 + Public Const Build As Integer = 1476 End Module This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |