summaryrefslogtreecommitdiffstats
path: root/functions.h
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2001-09-11 11:20:34 +0000
committerThomas Roessler <roessler@does-not-exist.org>2001-09-11 11:20:34 +0000
commitd3e9c08abe0231ecad6740ed2722c2c8896eef42 (patch)
treecf2425738ecfc9ba9d1bb8b2abe97273bdcb8293 /functions.h
parent0dd6d28791e3018f6cc4700e26445f4382114e37 (diff)
The addressbook used to crash when someone issued the alias and
unalias commands while on that menu. This patch has a basic fix for this behaviour, and adds delete and undelete functions to this menu. While I'm on it, I've also made sure that "apply-tag" untags everything on all menus. The original crash was noted by Oliver Kauss <kauss@gmx.de>.
Diffstat (limited to 'functions.h')
-rw-r--r--functions.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/functions.h b/functions.h
index f1f813b6..aa54ed69 100644
--- a/functions.h
+++ b/functions.h
@@ -328,6 +328,13 @@ struct binding_t OpPost[] = {
{ NULL, 0, NULL }
};
+struct binding_t OpAlias[] = {
+ { "delete-entry", OP_DELETE, "d" },
+ { "undelete-entry", OP_UNDELETE, "u" },
+ { NULL, 0, NULL }
+};
+
+
/* The file browser */
struct binding_t OpBrowser[] = {
{ "change-dir", OP_CHANGE_DIRECTORY, "c" },