From ebe483c0584c839a2890db1e4a43b0526ed738d8 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 27 Jan 2016 08:03:09 +0100 Subject: Support sending notifications for all appointments In 45417bc (Add configuration option to notify all appointments, 2011-07-31), we added an option that allows for choosing whether the user receives notifications only for flagged or only for unflagged appointments. Convert this setting into a three-state option and allow the user to additionally enable notifications for *all* appointments. Signed-off-by: Lukas Fleischer --- src/calcurse.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/calcurse.h') diff --git a/src/calcurse.h b/src/calcurse.h index 5d8c9e4..b569d8d 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -598,6 +598,10 @@ struct pad { }; /* Notification bar definition. */ +#define NOTIFY_FLAGGED_ONLY 0 +#define NOTIFY_UNFLAGGED_ONLY 1 +#define NOTIFY_ALL 2 + struct nbar { unsigned show; /* display or hide the notify-bar */ int cntdwn; /* warn when time left before next app -- cgit v1.2.3-54-g00ecf