aboutsummaryrefslogtreecommitdiffstats
path: root/src/custom.c
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2018-09-06 23:00:59 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2018-10-21 20:02:57 +0200
commitc95dd0e68581db4550beb5748511f9e4ef79b54e (patch)
treee4416da8d7cebea9431ffe46aa5200e7ebf53932 /src/custom.c
parent4b192c07733eac9be3404304cae3cf0c17374cec (diff)
downloadcalcurse-c95dd0e68581db4550beb5748511f9e4ef79b54e.tar.gz
calcurse-c95dd0e68581db4550beb5748511f9e4ef79b54e.zip
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>
Diffstat (limited to 'src/custom.c')
-rw-r--r--src/custom.c12
1 files changed, 0 insertions, 12 deletions
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;