From d9d3d3e6f06a76dc0fbe24c9655b64acfcd4b9e4 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Sun, 31 Oct 2010 22:29:17 +0100 Subject: Make maildir synchronization configurable This adds group [maildir] and key 'synchronize_flags' to the configuration file. Its value enables (true) or diables (false) the synchronization between notmuch tags and maildir flags. By default, the synchronization is disabled. --- notmuch-tag.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'notmuch-tag.c') diff --git a/notmuch-tag.c b/notmuch-tag.c index fd54bc78..3a489a97 100644 --- a/notmuch-tag.c +++ b/notmuch-tag.c @@ -100,6 +100,8 @@ notmuch_tag_command (void *ctx, unused (int argc), unused (char *argv[])) NOTMUCH_DATABASE_MODE_READ_WRITE); if (notmuch == NULL) return 1; + notmuch_database_set_maildir_sync (notmuch, + notmuch_config_get_maildir_sync (config)); query = notmuch_query_create (notmuch, query_string); if (query == NULL) { -- cgit v1.2.3