tracker r2092 - in branches/indexer-split: . src/tracker-indexer/modules
- From: carlosg svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2092 - in branches/indexer-split: . src/tracker-indexer/modules
- Date: Mon, 18 Aug 2008 16:00:41 +0000 (UTC)
Author: carlosg
Date: Mon Aug 18 16:00:41 2008
New Revision: 2092
URL: http://svn.gnome.org/viewvc/tracker?rev=2092&view=rev
Log:
2008-08-18 Carlos Garnacho <carlos imendio com>
* src/tracker-indexer/modules/evolution.c
(get_mail_storage_type_from_path): Ignore "Sent" folders.
(get_mbox_uri): Remove ".sbd" from directory names, Evolution won't
recognize that.
Modified:
branches/indexer-split/ChangeLog
branches/indexer-split/src/tracker-indexer/modules/evolution.c
Modified: branches/indexer-split/src/tracker-indexer/modules/evolution.c
==============================================================================
--- branches/indexer-split/src/tracker-indexer/modules/evolution.c (original)
+++ branches/indexer-split/src/tracker-indexer/modules/evolution.c Mon Aug 18 16:00:41 2008
@@ -417,6 +417,7 @@
strcasestr (path, "spam") ||
strcasestr (path, "trash") ||
strcasestr (path, "drafts") ||
+ strcasestr (path, "sent") ||
strcasestr (path, "outbox")) {
type = MAIL_STORAGE_NONE;
}
@@ -615,6 +616,8 @@
gchar *dir, *name;
dir = tracker_string_replace (file->path, local_dir, NULL);
+ dir = tracker_string_remove (dir, ".sbd");
+
name = g_strdup_printf ("%s;uid=%d", dir, get_mbox_message_id (message));
*dirname = g_strdup ("email://local local");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]