NeoMutt  2023-05-17-16-g61469c
Teaching an old dog new tricks
DOXYGEN
config.c File Reference

Config used by libsidebar. More...

#include "config.h"
#include <stddef.h>
#include <config/lib.h>
#include <mutt/lib.h>
#include <stdbool.h>
+ Include dependency graph for config.c:

Go to the source code of this file.

Functions

bool config_init_sidebar (struct ConfigSet *cs)
 Register sidebar config variables - Implements module_init_config_t -. More...
 

Variables

static const struct Mapping SortSidebarMethods []
 Sort methods for the sidebar. More...
 
static struct ConfigDef SidebarVars []
 Config definitions for the sidebar. More...
 

Detailed Description

Config used by libsidebar.

Authors
  • Richard Russon

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file config.c.

Variable Documentation

◆ SortSidebarMethods

const struct Mapping SortSidebarMethods[]
static
Initial value:
= {
{ "path", SORT_PATH },
{ "alpha", SORT_PATH },
{ "name", SORT_PATH },
{ "count", SORT_COUNT },
{ "desc", SORT_DESC },
{ "flagged", SORT_FLAGGED },
{ "unsorted", SORT_ORDER },
{ "mailbox-order", SORT_ORDER },
{ "unread", SORT_UNREAD },
{ "new", SORT_UNREAD },
{ NULL, 0 },
}
@ SORT_ORDER
Sort by the order the messages appear in the mailbox.
Definition: sort2.h:44
@ SORT_PATH
Sort by the folder's path.
Definition: sort2.h:57
@ SORT_FLAGGED
Sort by the number of flagged emails.
Definition: sort2.h:56
@ SORT_DESC
Sort by the folder's description.
Definition: sort2.h:59
@ SORT_COUNT
Sort by number of emails in a folder.
Definition: sort2.h:54
@ SORT_UNREAD
Sort by the number of unread emails.
Definition: sort2.h:55

Sort methods for the sidebar.

Definition at line 38 of file config.c.

◆ SidebarVars

struct ConfigDef SidebarVars[]
static

Config definitions for the sidebar.

Definition at line 57 of file config.c.