aboutsummaryrefslogtreecommitdiffstats
path: root/src/io.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-05-15 14:37:49 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-05-18 11:03:10 +0200
commit655218b7df40b3e159119933a4fa18efca2ff940 (patch)
treebbcefa98df1595151c33752ebc45fe2a5ec5336e /src/io.c
parent4210fdd38a511f1ea2529eea2dfd5d55ab144e37 (diff)
downloadcalcurse-655218b7df40b3e159119933a4fa18efca2ff940.tar.gz
calcurse-655218b7df40b3e159119933a4fa18efca2ff940.zip
ui-todo: Large-scale refactoring
This is a complete overhaul of the TODO list user interface. The new implementation uses the generic list box panel. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/io.c b/src/io.c
index b998fc4..4ff31e3 100644
--- a/src/io.c
+++ b/src/io.c
@@ -676,7 +676,6 @@ void io_load_todo(void)
++nb_tod;
}
file_close(data_file, __FILE_POS__);
- ui_todo_set_nb(nb_tod);
}
static void
@@ -1089,9 +1088,6 @@ void io_import_data(enum import_type type, const char *stream_name)
stats.todos);
snprintf(stats_str[3], BUFSIZ, _("%d skipped"), stats.skipped);
- /* Update the number of todo items. */
- ui_todo_set_nb(ui_todo_nb() + stats.todos);
-
if (ui_mode == UI_CURSES && conf.system_dialogs) {
char read[BUFSIZ], stat[BUFSIZ];