diff options
author | Carl Worth <cworth@cworth.org> | 2010-11-10 16:26:14 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-11-11 03:40:19 -0800 |
commit | 4cfb2a02778bac16e785bbea1fd6c665e34bd955 (patch) | |
tree | cdcdbe07c31858339ad4a4697444b2ab7cdb7d28 /notmuch-setup.c | |
parent | 0b6349d70557589563f6eb2a23c2a1fa1330e54a (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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/notmuch-setup.c b/notmuch-setup.c index 36ce71f..9f37e4a 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)) { |