tracker r1177 - trunk/src/trackerd



Author: jamiemcc
Date: Fri Feb 29 00:37:16 2008
New Revision: 1177
URL: http://svn.gnome.org/viewvc/tracker?rev=1177&view=rev

Log:
made sure progress and animation from email indexing is done peridoically

Modified:
   trunk/src/trackerd/tracker-email-evolution.c
   trunk/src/trackerd/tracker-email-utils.c

Modified: trunk/src/trackerd/tracker-email-evolution.c
==============================================================================
--- trunk/src/trackerd/tracker-email-evolution.c	(original)
+++ trunk/src/trackerd/tracker-email-evolution.c	Fri Feb 29 00:37:16 2008
@@ -1411,6 +1411,8 @@
 						tracker_db_refresh_all (db_con->data);
 						tracker_db_start_index_transaction (db_con->data);
 					}
+					
+					tracker_dbus_send_index_progress_signal ("Emails", dir);
 								
 				}
 

Modified: trunk/src/trackerd/tracker-email-utils.c
==============================================================================
--- trunk/src/trackerd/tracker-email-utils.c	(original)
+++ trunk/src/trackerd/tracker-email-utils.c	Fri Feb 29 00:37:16 2008
@@ -160,10 +160,11 @@
 		email_free_mail_message (mail_msg);
 
 		if (!tracker_cache_process_events (db_con->data, TRUE) ) {
+			tracker->shutdown = TRUE;
 			return FALSE;	
 		}
 
-		if (tracker_db_regulate_transactions (db_con->data, 300)) {
+		if (tracker_db_regulate_transactions (db_con->data, 500)) {
 
 			if (tracker->verbosity == 1) {
 				tracker_log ("indexing #%d - Emails in %s", tracker->index_count, path);
@@ -174,6 +175,8 @@
 				tracker_db_refresh_all (db_con->data);
 				tracker_db_start_index_transaction (db_con->data);
 			}
+			tracker_dbus_send_index_progress_signal ("Emails", path);			
+			
 		}	
 
 	



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