77 char buf[256] = { 0 };
79 int len = snprintf(buf,
sizeof(buf),
"%s - ", menu_name);
81 snprintf(buf + len,
sizeof(buf) - len,
_(
"Limit: %s"), limit);
void alias_array_sort(struct AliasViewArray *ava, const struct ConfigSubset *sub)
Sort and reindex an AliasViewArray.
Convenience wrapper for the config headers.
#define mutt_debug(LEVEL,...)
int alias_config_observer(struct NotifyCallback *nc)
Notification that a Config Variable has changed - Implements observer_t -.
int alias_recalc(struct MuttWindow *win)
Recalculate the display of the Alias Window - Implements MuttWindow::recalc() -.
Convenience wrapper for the gui headers.
void alias_set_title(struct MuttWindow *sbar, char *menu_name, char *limit)
Create a title string for the Menu.
Shared code for the Alias and Query Dialogs.
@ LL_DEBUG5
Log at debug level 5.
Convenience wrapper for the library headers.
bool mutt_str_equal(const char *a, const char *b)
Compare two strings.
#define WA_REPAINT
Redraw the contents of the Window.
@ NT_CONFIG
Config has changed, NotifyConfig, EventConfig.
void sbar_set_title(struct MuttWindow *win, const char *title)
Set the title for the Simple Bar.
const char * name
Name of config item that changed.
void * wdata
Private data.
WindowActionFlags actions
Actions to be performed, e.g. WA_RECALC.
Data passed to a notification function.
void * event_data
Data from notify_send()
enum NotifyType event_type
Send: Event type, e.g. NT_ACCOUNT.
void * global_data
Data from notify_observer_add()