GUI display a user-configurable status line. More...
#include "config.h"
#include <stdbool.h>
#include <stdio.h>
#include <sys/types.h>
#include "mutt/lib.h"
#include "config/lib.h"
#include "email/lib.h"
#include "core/lib.h"
#include "expando_status.h"
#include "expando/lib.h"
#include "menu/lib.h"
#include "postpone/lib.h"
#include "globals.h"
#include "init.h"
#include "mutt_mailbox.h"
#include "mutt_thread.h"
#include "muttlib.h"
#include "mview.h"
#include "shared_data.h"
Go to the source code of this file.
Functions | |
static void | index_mailbox_path (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Status: pathname of the mailbox - Implements get_string_t -. | |
static char * | get_sort_str (char *buf, size_t buflen, enum EmailSortType method) |
Get the sort method as a string. | |
static void | global_config_sort (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Status: Sorting mode - Implements get_string_t -. | |
static void | global_config_sort_aux (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Status: Aux sorting method - Implements get_string_t -. | |
static void | global_config_use_threads (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Status: Current threading mode - Implements get_string_t -. | |
static void | global_hostname (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Status: Local hostname - Implements get_string_t -. | |
static void | global_version (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Status: Version string - Implements get_string_t -. | |
static long | index_deleted_count_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Status: Number of deleted messages - Implements get_number_t -. | |
static void | index_description (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Status: Description of the mailbox - Implements get_string_t -. | |
static long | index_flagged_count_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Status: Number of flagged messages - Implements get_number_t -. | |
static long | index_limit_count_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Status: Number of messages - Implements get_number_t -. | |
static void | index_limit_pattern (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Status: Active limit pattern - Implements get_string_t -. | |
static void | index_limit_size (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Status: Size of the messages - Implements get_string_t -. | |
static long | index_limit_size_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Status: Size of the messages - Implements get_number_t -. | |
static void | index_mailbox_size (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Status: Size of the current mailbox - Implements get_string_t -. | |
static long | index_mailbox_size_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Status: Size of the current mailbox - Implements get_number_t -. | |
static long | index_message_count_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Status: Number of messages in the mailbox - Implements get_number_t -. | |
static long | index_new_count_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Status: Number of new messages - Implements get_number_t -. | |
static long | index_old_count_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Status: Number of old messages - Implements get_number_t -. | |
static long | index_postponed_count_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Status: Number of postponed messages - Implements get_number_t -. | |
static void | index_readonly (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Status: Modified/read-only flag - Implements get_string_t -. | |
static long | index_read_count_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Status: Number of read messages - Implements get_number_t -. | |
static long | index_tagged_count_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Status: Number of tagged messages - Implements get_number_t -. | |
static long | index_unread_count_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Status: Number of unread messages - Implements get_number_t -. | |
static long | index_unread_mailboxes_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Status: Number of mailboxes with new mail - Implements get_number_t -. | |
static void | menu_percentage (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Status: Percentage through index - Implements get_string_t -. | |
static long | menu_percentage_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Status: Percentage through index - Implements get_number_t -. | |
Variables | |
const struct ExpandoRenderCallback | StatusRenderCallbacks [] |
Callbacks for Status Expandos. | |
GUI display a user-configurable status line.
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 expando_status.c.
|
static |
Get the sort method as a string.
buf | Buffer for the sort string |
buflen | Length of the buffer |
method | Sort method, see EmailSortType |
ptr | Buffer pointer |
Definition at line 65 of file expando_status.c.
|
static |
Status: Local hostname - Implements get_string_t -.
Definition at line 113 of file expando_status.c.
|
static |
Status: Version string - Implements get_string_t -.
Definition at line 123 of file expando_status.c.
const struct ExpandoRenderCallback StatusRenderCallbacks[] |
Callbacks for Status Expandos.
Definition at line 487 of file expando_status.c.