[tomboy/autosync: 241/241] whitespace



commit 5617ab0914347662529f45060dece10bea955ce6
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date:   Mon Jan 25 09:13:19 2010 -0800

    whitespace

 Tomboy/Synchronization/SyncManager.cs |   39 ++++++++++++++++-----------------
 1 files changed, 19 insertions(+), 20 deletions(-)
---
diff --git a/Tomboy/Synchronization/SyncManager.cs b/Tomboy/Synchronization/SyncManager.cs
index 10c6360..b623399 100644
--- a/Tomboy/Synchronization/SyncManager.cs
+++ b/Tomboy/Synchronization/SyncManager.cs
@@ -439,28 +439,27 @@ namespace Tomboy.Sync
 				Exception mainThreadException = null;
 				AutoResetEvent evt = new AutoResetEvent (false);
 				Gtk.Application.Invoke (delegate {
-				try {
-					// Make list of all local notes
-					List<Note> localNotes = new List<Note> (NoteMgr.Notes);
-
-					// Get all notes currently on server
-					IList<string> serverNotes = server.GetAllNoteUUIDs ();
-
-					// Delete notes locally that have been deleted on the server
-					foreach (Note note in localNotes) {
-						if (client.GetRevision (note) != -1 &&
-						!serverNotes.Contains (note.Id)) {
-
-							if (syncUI != null)
-								syncUI.NoteSynchronized (note.Title, NoteSyncType.DeleteFromClient);
-							NoteMgr.Delete (note);
+					try {
+						// Make list of all local notes
+						List<Note> localNotes = new List<Note> (NoteMgr.Notes);
+
+						// Get all notes currently on server
+						IList<string> serverNotes = server.GetAllNoteUUIDs ();
+
+						// Delete notes locally that have been deleted on the server
+						foreach (Note note in localNotes) {
+							if (client.GetRevision (note) != -1 &&
+							!serverNotes.Contains (note.Id)) {
+								if (syncUI != null)
+									syncUI.NoteSynchronized (note.Title, NoteSyncType.DeleteFromClient);
+								NoteMgr.Delete (note);
+							}
 						}
+						evt.Set ();
+					} catch (Exception e) {
+						mainThreadException = e;
 					}
-					evt.Set ();
-				} catch (Exception e) {
-				mainThreadException = e;
-			}
-			                        });
+				});
 
 				evt.WaitOne ();
 				if (mainThreadException != null)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]