aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-setup.c
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-11-10 16:26:14 -0800
committerGravatar Carl Worth <cworth@cworth.org>2010-11-11 03:40:19 -0800
commit4cfb2a02778bac16e785bbea1fd6c665e34bd955 (patch)
treecdcdbe07c31858339ad4a4697444b2ab7cdb7d28 /notmuch-setup.c
parent0b6349d70557589563f6eb2a23c2a1fa1330e54a (diff)
Avoid abbreviation, preferring notmuch_config_get_maildir_synchronize_flags
Since the name of the configuration parameter here is: maildir.synchronize_flags the convention is that the functions to get and set this parameter should match it in name. Hence: notmuch_config_get_maildir_synchronize_flags etc. (as opposed to notmuch_config_get_maildir_sync).
Diffstat (limited to 'notmuch-setup.c')
-rw-r--r--notmuch-setup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/notmuch-setup.c b/notmuch-setup.c
index 36ce71fb..9f37e4a6 100644
--- a/notmuch-setup.c
+++ b/notmuch-setup.c
@@ -196,13 +196,13 @@ notmuch_setup_command (unused (void *ctx),
}
prompt ("Synchronize maildir flags with notmuch tags? %s: ",
- notmuch_config_get_maildir_sync (config) == TRUE ? "[yes]/no" : "[no]/yes");
+ notmuch_config_get_maildir_synchronize_flags (config) == TRUE ? "[yes]/no" : "[no]/yes");
if (strlen (response) > 0) {
if (strcasecmp (response, "yes") == 0||
strcasecmp (response, "y") == 0)
- notmuch_config_set_maildir_sync (config, TRUE);
+ notmuch_config_set_maildir_synchronize_flags (config, TRUE);
else
- notmuch_config_set_maildir_sync (config, FALSE);
+ notmuch_config_set_maildir_synchronize_flags (config, FALSE);
}
if (! notmuch_config_save (config)) {