diff options
author | Frederic Culot <calcurse@culot.org> | 2010-03-29 07:37:16 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2010-03-29 07:37:16 +0000 |
commit | b4dcd1c38ff0c4fe095d04b189cdd65baa72e155 (patch) | |
tree | 974e2154a8d6470259316af624bb78905981fb20 | |
parent | 31136eb80c62449b644288e1563ff6fe57d3f9c5 (diff) | |
download | calcurse-b4dcd1c38ff0c4fe095d04b189cdd65baa72e155.zip |
Exit menu item added to sidebar configuration screen (thanks Doug for reporting this).
-rwxr-xr-x | ChangeLog | 4 | ||||
-rwxr-xr-x | src/custom.c | 5 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2010-03-29 Frederic Culot <frederic@culot.org> + + * src/custom.c (custom_sidebar_config): exit menu item added + 2010-03-23 Frederic Culot <frederic@culot.org> * src/wins.c (wins_sbar_winc): test added to avoid problems if diff --git a/src/custom.c b/src/custom.c index 5d89719..bf97356 100755 --- a/src/custom.c +++ b/src/custom.c @@ -1,4 +1,4 @@ -/* $calcurse: custom.c,v 1.50 2010/03/21 12:21:12 culot Exp $ */ +/* $calcurse: custom.c,v 1.51 2010/03/29 07:37:16 culot Exp $ */ /* * Calcurse - text-based organizer @@ -603,10 +603,11 @@ void custom_sidebar_config (void) { struct scrollwin hwin; + struct binding quit = {_("Exit"), KEY_GENERIC_QUIT}; struct binding inc = {_("Width +"), KEY_MOVE_UP}; struct binding dec = {_("Width -"), KEY_MOVE_DOWN}; struct binding help = {_("Help"), KEY_GENERIC_HELP}; - struct binding *binding[] = {&inc, &dec, &help}; + struct binding *binding[] = {&inc, &dec, &help, &quit}; char *help_text = _("This configuration screen is used to change the width of the side bar.\n" "The side bar is the part of the screen which contains two panels:\n" |