* please see the file GPL in the top level source directory.
*/
-#include <lib-lib/lib-lib.h>
+#include <lib-ui/lib-ui.h>
#include <lib-sys/unix.h>
#include <lib-ui/menu.h>
-#include <lib-ui/curses.h>
#include "mutt.h"
#include "alias.h"
QUERY *data;
} ENTRY;
-static struct mapping_t QueryHelp[] = {
- {N_("Exit"), OP_EXIT},
- {N_("Mail"), OP_MAIL},
- {N_("New Query"), OP_QUERY},
- {N_("Make Alias"), OP_CREATE_ALIAS},
- {N_("Search"), OP_SEARCH},
- {N_("Help"), OP_HELP},
- {NULL, OP_NULL}
-};
-
/* Variables for outsizing output format */
static int FirstColumn;
static int SecondColumn;
QUERY *queryp = NULL;
int i, done = 0;
int op;
- char helpstr[STRING];
char title[STRING];
snprintf (title, sizeof (title), _("Query")); /* FIXME */
menu->tag = query_tag;
menu->menu = MENU_QUERY;
menu->title = title;
- menu->help =
- mutt_compile_help (helpstr, sizeof (helpstr), MENU_QUERY, QueryHelp);
if (results == NULL) {
/* Prompt for Query */
menu->tag = query_tag;
menu->menu = MENU_QUERY;
menu->title = title;
- menu->help =
- mutt_compile_help (helpstr, sizeof (helpstr), MENU_QUERY,
- QueryHelp);
/* count the number of results */
for (queryp = results; queryp; queryp = queryp->next)