tracker r2048 - in branches/indexer-split: . src/trackerd



Author: mr
Date: Tue Aug 12 10:32:53 2008
New Revision: 2048
URL: http://svn.gnome.org/viewvc/tracker?rev=2048&view=rev

Log:
	* src/trackerd/tracker-main.c: (initialize_databases), (main):
	Fixed some errors in the last commit.


Modified:
   branches/indexer-split/ChangeLog
   branches/indexer-split/src/trackerd/tracker-main.c

Modified: branches/indexer-split/src/trackerd/tracker-main.c
==============================================================================
--- branches/indexer-split/src/trackerd/tracker-main.c	(original)
+++ branches/indexer-split/src/trackerd/tracker-main.c	Tue Aug 12 10:32:53 2008
@@ -443,7 +443,7 @@
 	if (!tracker_status_get_is_readonly () && force_reindex) {
 		TrackerDBInterface *iface;
 		
-		tracker_status_set_is_readonly (TRUE);
+		tracker_status_set_is_first_time_index (TRUE);
 		
 		/* Reset stats for embedded services if they are being reindexed */
 
@@ -804,11 +804,6 @@
 
 	processor = tracker_processor_new (config, hal);
 
-	/* Set our status as running, if this is FALSE, threads stop
-	 * doing what they do and shutdown.
-	 */
-	tracker_status_set_is_readonly (TRUE);
-
 	/* Make Tracker available for introspection */
 	if (!tracker_dbus_register_objects (config,
 					    language,
@@ -819,6 +814,11 @@
 
 	g_message ("Waiting for DBus requests...");
 
+	/* Set our status as running, if this is FALSE, threads stop
+	 * doing what they do and shutdown.
+	 */
+	tracker_status_set_is_running (TRUE);
+
 	if (!tracker_status_get_is_readonly ()) {
 		gint seconds;
 		



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