aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.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/utils.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/utils.c')
-rw-r--r--src/utils.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/utils.c b/src/utils.c
index 4da7f79..0a98ce0 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -1976,11 +1976,6 @@ int hash_matches(const char *pattern, const char *hash)
return (starts_with(hash, pattern) != invert);
}
-int show_dialogs(void)
-{
- return (!quiet) && conf.system_dialogs;
-}
-
/*
* Overflow check for addition with positive second term.
*/