diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2020-05-30 23:23:03 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2020-06-13 10:56:15 -0400 |
commit | 5942c0760dc49256c584e37368aeb3d4915f74f3 (patch) | |
tree | 31cd72885bf46104edfb927bdfe354253b5d8cee /src/vars.c | |
parent | 223f722b1dc03677a9ba1b0646c684d747d75e43 (diff) | |
download | calcurse-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |