tracker r2649 - in trunk: . src/tracker-indexer
- From: ifrade svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2649 - in trunk: . src/tracker-indexer
- Date: Thu, 4 Dec 2008 12:54:47 +0000 (UTC)
Author: ifrade
Date: Thu Dec 4 12:54:47 2008
New Revision: 2649
URL: http://svn.gnome.org/viewvc/tracker?rev=2649&view=rev
Log:
call delete service recursively only if the service is a folder
Modified:
trunk/ChangeLog
trunk/src/tracker-indexer/tracker-indexer.c
Modified: trunk/src/tracker-indexer/tracker-indexer.c
==============================================================================
--- trunk/src/tracker-indexer/tracker-indexer.c (original)
+++ trunk/src/tracker-indexer/tracker-indexer.c Thu Dec 4 12:54:47 2008
@@ -1681,8 +1681,10 @@
NULL);
tracker_data_update_delete_service (service, service_id);
- tracker_data_update_delete_service_recursively (service, service_path);
tracker_data_update_delete_all_metadata (service, service_id);
+ if (strcmp (service_type, "Folders") == 0) {
+ tracker_data_update_delete_service_recursively (service, service_path);
+ }
tracker_data_update_decrement_stats (indexer->private->common, service);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]