Index Window. More...
#include "config.h"#include <stdbool.h>#include <stddef.h>#include "mutt/lib.h"#include "config/lib.h"#include "email/lib.h"#include "core/lib.h"#include "gui/lib.h"#include "attach/lib.h"#include "color/lib.h"#include "menu/lib.h"#include "postpone/lib.h"#include "alternates.h"#include "globals.h"#include "mutt_thread.h"#include "muttlib.h"#include "mview.h"#include "private_data.h"#include "score.h"#include "shared_data.h"#include "subjectrx.h"
Include dependency graph for index.c:Go to the source code of this file.
Functions | |
| static void | sort_use_threads_warn (void) |
| Alert the user to odd $sort settings. | |
| static int | config_sort (const struct ConfigSubset *sub) |
| React to changes to "sort". | |
| static int | config_use_threads (const struct ConfigSubset *sub) |
| React to changes to "use_threads". | |
| void | index_adjust_sort_threads (const struct ConfigSubset *sub) |
| Adjust use_threads/sort/sort_aux. | |
| static int | config_reply_regex (struct MailboxView *mv) |
| React to changes to $reply_regex. | |
| static int | index_altern_observer (struct NotifyCallback *nc) |
| Notification that an 'alternates' command has occurred - Implements observer_t -. | |
| static int | index_attach_observer (struct NotifyCallback *nc) |
| Notification that an 'attachments' command has occurred - Implements observer_t -. | |
| static int | index_color_observer (struct NotifyCallback *nc) |
| Notification that a Color has changed - Implements observer_t -. | |
| static bool | config_check_sort (const char *option) |
| Does this config option affect the Index sorting? | |
| bool | config_check_index (const char *option) |
| Does this config option affect the Index? | |
| static int | index_config_observer (struct NotifyCallback *nc) |
| Notification that a Config Variable has changed - Implements observer_t -. | |
| static int | index_global_observer (struct NotifyCallback *nc) |
| Notification that a Global event occurred - Implements observer_t -. | |
| static int | index_index_observer (struct NotifyCallback *nc) |
| Notification that the Index has changed - Implements observer_t -. | |
| static int | index_menu_observer (struct NotifyCallback *nc) |
| Notification that the Menu has changed - Implements observer_t -. | |
| static int | index_score_observer (struct NotifyCallback *nc) |
| Notification that a 'score' command has occurred - Implements observer_t -. | |
| static int | index_subjrx_observer (struct NotifyCallback *nc) |
| Notification that a 'subjectrx' command has occurred - Implements observer_t -. | |
| static int | index_window_observer (struct NotifyCallback *nc) |
| Notification that a Window has changed - Implements observer_t -. | |
| static int | index_recalc (struct MuttWindow *win) |
| Recalculate the Index display - Implements MuttWindow::recalc() -. | |
| static int | index_repaint (struct MuttWindow *win) |
| Repaint the Index display - Implements MuttWindow::repaint() -. | |
| struct MuttWindow * | index_window_new (struct IndexPrivateData *priv) |
| Create a new Index Window (list of Emails) | |
| struct MailboxView * | get_current_mailbox_view (void) |
| Get the current Mailbox view. | |
| struct Mailbox * | get_current_mailbox (void) |
| Get the current Mailbox. | |
Index Window.
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 index.c.
|
static |
Alert the user to odd $sort settings.
Definition at line 95 of file index.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
React to changes to "sort".
| sub | the config subset that was just updated |
| 0 | Successfully handled |
| -1 | Error |
Definition at line 112 of file index.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
React to changes to "use_threads".
| sub | the config subset that was just updated |
| 0 | Successfully handled |
| -1 | Error |
Definition at line 160 of file index.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void index_adjust_sort_threads | ( | const struct ConfigSubset * | sub | ) |
Adjust use_threads/sort/sort_aux.
| sub | the config subset that was just updated |
Definition at line 184 of file index.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
React to changes to $reply_regex.
| mv | Mailbox View |
| 0 | Successfully handled |
| -1 | Error |
Definition at line 196 of file index.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Does this config option affect the Index sorting?
| option | Config option |
| true | Index may need resorting |
< Resort the mailbox
< Resort from scratch
< Resort subthreads
Definition at line 316 of file index.c.
Here is the call graph for this function:
Here is the caller graph for this function:| bool config_check_index | ( | const char * | option | ) |
Does this config option affect the Index?
| option | Config option |
| true | Index may need redrawing |
Definition at line 355 of file index.c.
Here is the call graph for this function:
Here is the caller graph for this function:| struct MuttWindow * index_window_new | ( | struct IndexPrivateData * | priv | ) |
Create a new Index Window (list of Emails)
| priv | Private Index data |
| ptr | New Window |
Definition at line 657 of file index.c.
Here is the call graph for this function:
Here is the caller graph for this function:| struct MailboxView * get_current_mailbox_view | ( | void | ) |
Get the current Mailbox view.
| ptr | Current Mailbox view |
Search for the last (most recent) dialog that has an Index. Then return the Mailbox from its shared data.
Definition at line 689 of file index.c.
Here is the call graph for this function:
Here is the caller graph for this function:| struct Mailbox * get_current_mailbox | ( | void | ) |
Get the current Mailbox.
| ptr | Current Mailbox |
Search for the last (most recent) dialog that has an Index. Then return the Mailbox from its shared data.
Definition at line 721 of file index.c.
Here is the call graph for this function:
Here is the caller graph for this function: