From 45417bc6f0b6a38754bc707608c9b377d006cdfd Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sun, 31 Jul 2011 02:04:18 +0200 Subject: 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 --- src/io.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/io.c') diff --git a/src/io.c b/src/io.c index d59aeac..d8af1fb 100644 --- a/src/io.c +++ b/src/io.c @@ -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="); -- cgit v1.2.3-54-g00ecf