From 4cfb2a02778bac16e785bbea1fd6c665e34bd955 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 10 Nov 2010 16:26:14 -0800 Subject: 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). --- notmuch-setup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'notmuch-setup.c') 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)) { -- cgit v1.2.3