aboutsummaryrefslogtreecommitdiffstats
path: root/src/vars.c
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2020-05-30 23:23:03 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2020-06-13 10:56:15 -0400
commit5942c0760dc49256c584e37368aeb3d4915f74f3 (patch)
tree31cd72885bf46104edfb927bdfe354253b5d8cee /src/vars.c
parent223f722b1dc03677a9ba1b0646c684d747d75e43 (diff)
downloadcalcurse-5942c0760dc49256c584e37368aeb3d4915f74f3.tar.gz
calcurse-5942c0760dc49256c584e37368aeb3d4915f74f3.zip
Remove systemdialogs option from configuration
The option controls the welcome window and the export/import result messages. The former is dropped. The latter are now always displayed unless calcurse is invoked with the "quiet" option (-q). Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/vars.c')
-rw-r--r--src/vars.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vars.c b/src/vars.c
index 8c1a042..2c308e7 100644
--- a/src/vars.c
+++ b/src/vars.c
@@ -61,7 +61,7 @@ enum ui_mode ui_mode = UI_CMDLINE;
/* Don't save anything if this is set. */
int read_only = 0;
-/* Hide system dialogs if set. */
+/* Hide import/export message if set. */
int quiet = 0;
/* Applications can trigger a reload by sending SIGUSR1. */
@@ -136,7 +136,6 @@ void vars_init(void)
conf.systemevents = 1;
conf.default_panel = CAL;
conf.compact_panels = 0;
- conf.system_dialogs = 1;
strncpy(conf.output_datefmt, "%D", 3);
conf.input_datefmt = 1;
conf.heading_pos = RIGHT;