[tracker/rss-enclosures] plugins/evolution: Put the commit at the right position



commit 0ea9a0d48a6eaaccfa390aba2ce8d15ece27134f
Author: Philip Van Hoof <philip codeminded be>
Date:   Thu Oct 28 14:34:31 2010 +0200

    plugins/evolution: Put the commit at the right position

 src/plugins/evolution/tracker-evolution-plugin.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/evolution/tracker-evolution-plugin.c b/src/plugins/evolution/tracker-evolution-plugin.c
index f9df48f..7eb88ea 100644
--- a/src/plugins/evolution/tracker-evolution-plugin.c
+++ b/src/plugins/evolution/tracker-evolution-plugin.c
@@ -840,7 +840,7 @@ on_folder_summary_changed (CamelFolder *folder,
 		g_string_free (sparql, TRUE);
 	}
 
-	send_sparql_commit (info->self, TRUE);
+	send_sparql_commit (info->self, FALSE);
 
 	g_object_set (info->self, "progress",
 	              1.0, NULL);
@@ -1094,7 +1094,7 @@ introduce_walk_folders_in_folder (TrackerEvolutionPlugin *self,
 			sqlite3_free (query);
 		}
 
-		send_sparql_commit (self, TRUE);
+		send_sparql_commit (self, FALSE);
 
 		if (iter->child) {
 			introduce_walk_folders_in_folder (self, iter->child,
@@ -1507,6 +1507,8 @@ folder_worker (gpointer data, gpointer user_data)
 	                                  winfo->intro_info->info,
 	                                  user_data);
 
+	send_sparql_commit (winfo->intro_info->self, TRUE);
+
 	return;
 }
 



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