summaryrefslogtreecommitdiff
path: root/src/custom.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2008-11-25 20:48:58 +0000
committerFrederic Culot <calcurse@culot.org>2008-11-25 20:48:58 +0000
commit910901a4f0abe565e5c1d12a480784e90a4bcd6c (patch)
treeba68a9d83d7cd48434a8af23bf98ad24f5c66811 /src/custom.c
parenteb88eaecb3055fc5ab3cd3e05f0bc77e68f3942a (diff)
downloadcalcurse-910901a4f0abe565e5c1d12a480784e90a4bcd6c.zip
User-defined keys are now saved to file.
Diffstat (limited to 'src/custom.c')
-rwxr-xr-xsrc/custom.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/custom.c b/src/custom.c
index d532ebb..a1defe5 100755
--- a/src/custom.c
+++ b/src/custom.c
@@ -1,4 +1,4 @@
-/* $calcurse: custom.c,v 1.26 2008/11/23 20:38:56 culot Exp $ */
+/* $calcurse: custom.c,v 1.27 2008/11/25 20:48:58 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -964,14 +964,13 @@ custom_keys_config_bar (void)
binding_t info = {_("Key info"), KEY_GENERIC_HELP};
binding_t add = {_("Add key"), KEY_ADD_ITEM};
binding_t del = {_("Del key"), KEY_DEL_ITEM};
- binding_t edit = {_("Edit key"), KEY_EDIT_ITEM};
binding_t up = {_("Up"), KEY_MOVE_UP};
binding_t down = {_("Down"), KEY_MOVE_DOWN};
binding_t left = {_("Prev Key"), KEY_MOVE_LEFT};
binding_t right = {_("Next Key"), KEY_MOVE_RIGHT};
binding_t *binding[] = {
- &quit, &info, &add, &del, &edit, &up, &down, &left, &right
+ &quit, &info, &add, &del, &up, &down, &left, &right
};
int binding_size = sizeof (binding) / sizeof (binding[0]);
@@ -1085,8 +1084,6 @@ custom_keys_config (void)
if (selelm > 0)
selelm--;
break;
- case KEY_EDIT_ITEM:
- break;
case KEY_GENERIC_QUIT:
wins_scrollwin_delete (&kwin);
return;