[synchronicity-commits] SF.net SVN: synchronicity:[1468] trunk/Create Synchronicity
Easy, fast, and lightweight backup and synchronization app for Windows
Brought to you by:
createsoftware
From: <cre...@us...> - 2011-11-19 07:09:59
|
Revision: 1468 http://synchronicity.svn.sourceforge.net/synchronicity/?rev=1468&view=rev Author: createsoftware Date: 2011-11-19 07:09:53 +0000 (Sat, 19 Nov 2011) Log Message: ----------- Remove redundant calls to TranslatePath 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-16 22:20:43 UTC (rev 1467) +++ trunk/Create Synchronicity/Interface/SynchronizeForm.vb 2011-11-19 07:09:53 UTC (rev 1468) @@ -402,10 +402,10 @@ ' Search for a post-sync action, requiring that Expert mode be enabled. Dim PostSyncAction As String = Handler.GetSetting(Of String)(ProfileSetting.PostSyncAction) - If ProgramConfig.GetProgramSetting(Of Boolean)(ProgramSetting.ExpertMode, False) AndAlso PostSyncAction <> Nothing Then + If ProgramConfig.GetProgramSetting(Of Boolean)(ProgramSetting.ExpertMode, False) AndAlso PostSyncAction IsNot Nothing Then Try Interaction.ShowBalloonTip(Translation.Translate("\POST_SYNC")) - Diagnostics.Process.Start(PostSyncAction, ProfileHandler.TranslatePath(Handler.GetSetting(Of String)(ProfileSetting.Destination))) + Diagnostics.Process.Start(PostSyncAction, RightRootPath) Catch Ex As Exception Interaction.ShowBalloonTip(Translation.Translate("\POSTSYNC_FAILED")) ConfigHandler.LogAppEvent(Ex.ToString) @@ -529,16 +529,13 @@ Exit Sub End If - Dim Left As String = ProfileHandler.TranslatePath(Handler.GetSetting(Of String)(ProfileSetting.Source)) - Dim Right As String = ProfileHandler.TranslatePath(Handler.GetSetting(Of String)(ProfileSetting.Destination)) - 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), Left, Right, StatusData.SyncStep.SyncLR) + Do_Task(SideOfSource.Left, SyncingList(SideOfSource.Left), LeftRootPath, RightRootPath, StatusData.SyncStep.SyncLR) Me.Invoke(TaskDoneCallback, StatusData.SyncStep.SyncLR) Me.Invoke(SetMaxCallback, New Object() {StatusData.SyncStep.SyncRL, SyncingList(SideOfSource.Right).Count}) - Do_Task(SideOfSource.Right, SyncingList(SideOfSource.Right), Right, Left, StatusData.SyncStep.SyncRL) + Do_Task(SideOfSource.Right, SyncingList(SideOfSource.Right), RightRootPath, LeftRootPath, StatusData.SyncStep.SyncRL) Me.Invoke(TaskDoneCallback, StatusData.SyncStep.SyncRL) End Sub Modified: trunk/Create Synchronicity/Revision.vb =================================================================== --- trunk/Create Synchronicity/Revision.vb 2011-11-16 22:20:43 UTC (rev 1467) +++ trunk/Create Synchronicity/Revision.vb 2011-11-19 07:09:53 UTC (rev 1468) @@ -1,3 +1,3 @@ Module Revision - Public Const Build As Integer = 1466 + Public Const Build As Integer = 1467 End Module This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |