diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-31 02:04:18 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-31 03:23:32 +0200 |
commit | 45417bc6f0b6a38754bc707608c9b377d006cdfd (patch) | |
tree | 3afce6d731a33a60b6d82d207d5d18a0f87373f5 /src/io.c | |
parent | 0884d62b2282b3ff5936f8d36f7f8d77c504938d (diff) | |
download | calcurse-45417bc6f0b6a38754bc707608c9b377d006cdfd.zip |
Add configuration option to notify all appointments
If "notify-all" is enabled, all non-flagged appointments will be
notified (instead of flagged ones). This is useful for users that want
to be notified of everything.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/io.c')
-rw-r--r-- | src/io.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -944,6 +944,10 @@ io_save_conf (struct conf *conf) (void)fprintf (fp, "notify-bar_command="); (void)fprintf (fp, "%s\n", nbar.cmd); + (void)fprintf (fp, "\n# Notify all appointments instead of flagged ones only\n"); + (void)fprintf (fp, "notify-all="); + (void)fprintf (fp, "%s\n", (nbar.notify_all) ? "yes" : "no"); + (void)fprintf (fp, "\n# Format of the date to be displayed " "in non-interactive mode :\n"); (void)fprintf (fp, "output_datefmt="); |