mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
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.
This commit is contained in:
parent
f6ec7ca78f
commit
89954b453c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue