EDIT: Found that in general use that with the TODO panel totally removed it could leave remnants visible in that screen area after some activity. So I've modified the code to leave the TODO panel still present, but is inaccessible and has a panel label of "not available" (n/a). i.e. tabbing between panels just jumps between the calendar and appointments panels.
For Fatdog (see
http://murga-linux.com/puppy/viewtopic. ... 88#1030788) the new/later sfs version has already been uploaded. (I usually install such sfs's using
unsquashfs -f -d / calcurse-no-todo.sfs
that forcibly extracts the contents to the specified directory i.e. / in the above example).
=======
For me, the todo panel in calcurse just gets in the way. I don't use it as I use a separate text file for my todo's. So I opted to remove (see above edit - 'replace') the calcurse todo panel and my calcurse now looks like ...
(clickable thumbnail)
To achieve that in the calcurse source code wins.c I changed
if (slctd_win == TOD) -> if (slctd_win == APP)
and in ui-todo.c I commented out
/* listbox_display(&lb_todo, hilt); */
re-ran make and make install and now its as per the above image.
A crude, but simple change, that works for me.
i.e. around line 250 of wins.c now looks like this
Code: Select all
/* TAB key was hit in the interface, need to select next window. */
void wins_slctd_next(void)
{
if (slctd_win == APP) /* Rufwoof was TOD */
slctd_win = CAL;
else
slctd_win++;
}
and around line 280 of ui-todo.c now looks like this
Code: Select all
/* Updates the TODO panel. */
void ui_todo_update_panel(int hilt)
{
/*
* This is used and modified by ui_todo_draw() to avoid quadratic
* running time.
*/
llist_item_t *p = LLIST_FIRST(&todolist);
listbox_set_cb_data(&lb_todo, &p);
/* listbox_display(&lb_todo, hilt); Rufwoof hide the todo window */
}
With the todo panel inactive, when you want to move a appointment from one day to another its quicker/easier as you just have to tab to the calendar, select (arrow keys to) the relevant date, tab to the appointments panel, select the appointment to be moved and press 'd' (delete) to remove that entry (press y to confirm that if you have delete confirmation turned on in the calcurse configuration), then tab back to the calendar and switch to the date where you want the appointment moved to, tab into the appointments section and press 'p' to paste the deleted appointment.