#include "config.h"
#include <stdbool.h>
#include <stdio.h>
#include "mutt/lib.h"
#include "address/lib.h"
#include "config/lib.h"
#include "email/lib.h"
#include "core/lib.h"
#include "gui/lib.h"
#include "lib.h"
#include "expando/lib.h"
#include "key/lib.h"
#include "menu/lib.h"
#include "pattern/lib.h"
#include "send/lib.h"
#include "alias.h"
#include "expando.h"
#include "functions.h"
#include "gui.h"
#include "mutt_logging.h"
Go to the source code of this file.
Functions | |
static int | alias_make_entry (struct Menu *menu, int line, int max_cols, struct Buffer *buf) |
Format an Alias for the Menu - Implements Menu::make_entry() -. | |
static int | alias_tag (struct Menu *menu, int sel, int act) |
Tag some aliases - Implements Menu::tag() -. | |
static int | alias_alias_observer (struct NotifyCallback *nc) |
Notification that an Alias has changed - Implements observer_t -. | |
static int | alias_window_observer (struct NotifyCallback *nc) |
Notification that a Window has changed - Implements observer_t -. | |
static struct SimpleDialogWindows | alias_dialog_new (struct AliasMenuData *mdata) |
Create an Alias Selection Dialog. | |
static bool | dlg_alias (struct AliasMenuData *mdata) |
Display a menu of Aliases -. | |
int | alias_complete (struct Buffer *buf, struct ConfigSubset *sub) |
Alias completion routine. | |
void | alias_dialog (struct Mailbox *m, struct ConfigSubset *sub) |
Open the aliases dialog. | |
Variables | |
static const struct Mapping | AliasHelp [] |
Help Bar for the Alias dialog (address book) | |
Address book.
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 dlg_alias.c.
|
static |
Create an Alias Selection Dialog.
mdata | Menu data holding Aliases |
obj | SimpleDialogWindows Tuple containing Dialog, SimpleBar and Menu pointers |
Definition at line 231 of file dlg_alias.c.
int alias_complete | ( | struct Buffer * | buf, |
struct ConfigSubset * | sub | ||
) |
Alias completion routine.
buf | Partial Alias to complete |
sub | Config items |
1 | Success |
0 | Error |
Given a partial alias, this routine attempts to fill in the alias from the alias list as much as possible. if given empty search string or found nothing, present all aliases
Definition at line 335 of file dlg_alias.c.
void alias_dialog | ( | struct Mailbox * | m, |
struct ConfigSubset * | sub | ||
) |
Open the aliases dialog.
m | Mailbox |
sub | Config item |
Definition at line 460 of file dlg_alias.c.
|
static |
Help Bar for the Alias dialog (address book)
Definition at line 99 of file dlg_alias.c.