tracker r1098 - in trunk: . src/trackerd



Author: haltonhuo
Date: Mon Jan 21 06:51:20 2008
New Revision: 1098
URL: http://svn.gnome.org/viewvc/tracker?rev=1098&view=rev

Log:
2008-01-21 Halton Huo   <Halton Huo Sun COM>

	* src/trackerd/trackerd.c: (process_files_thread):
	  Refresh index when deleting files



Modified:
   trunk/ChangeLog
   trunk/src/trackerd/trackerd.c

Modified: trunk/src/trackerd/trackerd.c
==============================================================================
--- trunk/src/trackerd/trackerd.c	(original)
+++ trunk/src/trackerd/trackerd.c	Mon Jan 21 06:51:20 2008
@@ -1457,6 +1457,9 @@
 
 		tracker_debug ("processing %s with action %s and counter %d ", info->uri, tracker_actions[info->action], info->counter);
 
+		/* preprocess ambiguous actions when we need to work out if its a file or a directory that the action relates to */
+		verify_action (info);
+
 		if (info->action != TRACKER_ACTION_DELETE &&
 		    info->action != TRACKER_ACTION_DIRECTORY_DELETED && info->action != TRACKER_ACTION_FILE_DELETED) {
 
@@ -1505,9 +1508,6 @@
 
 		}	
 
-		/* preprocess ambiguous actions when we need to work out if its a file or a directory that the action relates to */
-		verify_action (info);
-
 		
 
 		/* get latest file info from disk */



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