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 <LarsHenriksen@get2net.dk>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
Lars Henriksen
2018-09-06 23:00:59 +02:00
committed by Lukas Fleischer
parent 4b192c0773
commit c95dd0e685
4 changed files with 6 additions and 15 deletions

View File

@@ -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;