tracker r1835 - in branches/indexer-split: . src/tracker-indexer
- From: carlosg svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r1835 - in branches/indexer-split: . src/tracker-indexer
- Date: Wed, 2 Jul 2008 16:51:57 +0000 (UTC)
Author: carlosg
Date: Wed Jul 2 16:51:57 2008
New Revision: 1835
URL: http://svn.gnome.org/viewvc/tracker?rev=1835&view=rev
Log:
2008-07-02 Carlos Garnacho <carlos imendio com>
* src/tracker-indexer/tracker-indexer.c: Remove at the moment the code
to ignore directories. I must be replaced with TrackerModuleConfig and
would be used only if --process-all is specified.
Modified:
branches/indexer-split/ChangeLog
branches/indexer-split/src/tracker-indexer/tracker-indexer.c
Modified: branches/indexer-split/src/tracker-indexer/tracker-indexer.c
==============================================================================
--- branches/indexer-split/src/tracker-indexer/tracker-indexer.c (original)
+++ branches/indexer-split/src/tracker-indexer/tracker-indexer.c Wed Jul 2 16:51:57 2008
@@ -442,23 +442,12 @@
{
TrackerIndexerPrivate *priv;
gboolean ignore = FALSE;
- gchar **ignore_dirs;
- gint i;
g_return_if_fail (info != NULL);
priv = TRACKER_INDEXER_GET_PRIVATE (indexer);
- ignore_dirs = tracker_indexer_module_get_ignore_directories (info->module);
-
- if (ignore_dirs) {
- for (i = 0; ignore_dirs[i]; i++) {
- if (strcmp (info->file->path, ignore_dirs[i]) == 0) {
- ignore = TRUE;
- break;
- }
- }
- }
+ /* FIXME: check ignored directories */
if (!ignore) {
g_queue_push_tail (priv->dir_queue, info);
@@ -466,8 +455,6 @@
g_message ("Ignoring directory:'%s'", info->file->path);
path_info_free (info);
}
-
- g_strfreev (ignore_dirs);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]