[banshee] Calculate what to add/remove right before syncing, to ensure we reflect the latest changes in the li
- From: Gabriel Burt <gburt src gnome org>
- To: svn-commits-list gnome org
- Subject: [banshee] Calculate what to add/remove right before syncing, to ensure we reflect the latest changes in the li
- Date: Thu, 14 May 2009 12:54:47 -0400 (EDT)
commit 18dc708d4dca6bf0e0d1cb981d6c746d09676b3d
Author: Andrés G. Aragoneses <aaragoneses novell com>
Date: Thu May 14 11:52:45 2009 -0500
Calculate what to add/remove right before syncing, to ensure we reflect the latest changes in the library (BGO #581122)
---
src/Dap/Banshee.Dap/Banshee.Dap/DapLibrarySync.cs | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/Dap/Banshee.Dap/Banshee.Dap/DapLibrarySync.cs b/src/Dap/Banshee.Dap/Banshee.Dap/DapLibrarySync.cs
index 6b6849b..a3ab143 100644
--- a/src/Dap/Banshee.Dap/Banshee.Dap/DapLibrarySync.cs
+++ b/src/Dap/Banshee.Dap/Banshee.Dap/DapLibrarySync.cs
@@ -201,6 +201,8 @@ namespace Banshee.Dap
if (Enabled) {
Banshee.Base.ThreadAssist.AssertNotInMainThread ();
+ CalculateSync ();
+
sync.Dap.DeleteAllTracks (to_remove);
sync.Dap.AddAllTracks (to_add);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]