From c95dd0e68581db4550beb5748511f9e4ef79b54e Mon Sep 17 00:00:00 2001 From: Lars Henriksen Date: Thu, 6 Sep 2018 23:00:59 +0200 Subject: Remove the configuraton variable conf.progress_bar When loading/saving the configuration file the entry is silently ignored (which means it is removed by the first save). Signed-off-by: Lars Henriksen Signed-off-by: Lukas Fleischer --- src/custom.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/custom.c') diff --git a/src/custom.c b/src/custom.c index 8aa714d..cf1cce5 100644 --- a/src/custom.c +++ b/src/custom.c @@ -532,7 +532,6 @@ enum { CONFIRM_QUIT, CONFIRM_DELETE, SYSTEM_DIAGS, - PROGRESS_BAR, FIRST_DAY_OF_WEEK, OUTPUT_DATE_FMT, INPUT_DATE_FMT, @@ -554,7 +553,6 @@ static void print_general_option(int i, WINDOW *win, int y, int hilt, void *cb_d "general.confirmquit = ", "general.confirmdelete = ", "general.systemdialogs = ", - "general.progressbar = ", "general.firstdayofweek = ", "format.outputdate = ", "format.inputdate = ", @@ -629,13 +627,6 @@ static void print_general_option(int i, WINDOW *win, int y, int hilt, void *cb_d _("(if set to YES, messages about loaded " "and saved data will be displayed)")); break; - case PROGRESS_BAR: - print_bool_option_incolor(win, conf.progress_bar, y, - XPOS + strlen(opt[PROGRESS_BAR])); - mvwaddstr(win, y + 1, XPOS, - _("(if set to YES, progress bar will be displayed " - "when saving data)")); - break; case FIRST_DAY_OF_WEEK: custom_apply_attr(win, ATTR_HIGHEST); mvwaddstr(win, y, XPOS + strlen(opt[FIRST_DAY_OF_WEEK]), @@ -761,9 +752,6 @@ static void general_option_edit(int i) case SYSTEM_DIAGS: conf.system_dialogs = !conf.system_dialogs; break; - case PROGRESS_BAR: - conf.progress_bar = !conf.progress_bar; - break; case FIRST_DAY_OF_WEEK: ui_calendar_change_first_day_of_week(); break; -- cgit v1.2.3-54-g00ecf