Re: [Tracker] Preview patch, support for Modest




On Mon, 2008-04-07 at 19:51 +0200, Philip Van Hoof wrote:
On Mon, 2008-04-07 at 19:40 +0200, Philip Van Hoof wrote:

This patch is unfinished because untested. It's a preview of what I am
working on.

If something looks wrong to you guys, please let me know.

ps. Unless this work has been committed by Carlos Garnacho already, this
patch depends on http://bugzilla.gnome.org/show_bug.cgi?id=526761

Same patch after conflict resolution for Carlos's commit for that 
bug #526761



looks like its alright subject to you getting the right URI for each
email

also for this

/* if initial indexing has not finished reset mtime on all email stuff
so they are rechecked */
+       if (tracker_db_get_option_int (db_con->common, "InitialIndex") == 1) {
+               char *sql = g_strdup_printf ("update Services set mtime = 0 where
path like '%s/.modest/%s'", g_get_home_dir (), "%");
+
+               tracker_exec_sql (db_con, sql);
+               g_free (sql);
+       }

make sure the URI of the emails are not normal file paths as the above
should only reset mtime on summary files (which will be the case for evo
as all emails start with email://)

jamie





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