From 89954b453c7b97a5d173bb87f3f2bbc0510425c2 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Thu, 11 Nov 2010 04:28:01 -0800 Subject: [PATCH] notmuch setup: Fix to add maildir group (with comment) to existing file The intent of "notmuch setup" is that it adds new, documented sections to configuration files that were created before such sections were defined. But to make this work, we have to explicitly set an option in the maildir group if it didn't exist previously. --- notmuch-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notmuch-config.c b/notmuch-config.c index 45a5367b..e98c3975 100644 --- a/notmuch-config.c +++ b/notmuch-config.c @@ -344,7 +344,7 @@ notmuch_config_open (void *ctx, g_key_file_get_boolean (config->key_file, "maildir", "synchronize_flags", &error); if (error) { - config->maildir_synchronize_flags = TRUE; + notmuch_config_set_maildir_synchronize_flags (config, TRUE); g_error_free (error); } -- 2.26.2