From 2c5235cca70bf1c5b5e92dd5b6b178ab13b695f2 Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Tue, 29 May 2012 09:55:01 +0200 Subject: Make appearance.calendarview more explicit in config file Instead of using 0 or 1 as a value for `appearance.calendarview`, introduce the more explicit "monthly" and "weekly". Also update `scripts/calcurse-upgrade.sh` to reflect the change. Signed-off-by: Baptiste Jonglez Signed-off-by: Lukas Fleischer --- src/calcurse.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/calcurse.h') diff --git a/src/calcurse.h b/src/calcurse.h index 98e6a76..be16a98 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -360,6 +360,13 @@ struct recur_event { char *note; /* note attached to event */ }; +/* Available view for the calendar panel. */ +enum { + CAL_MONTH_VIEW, + CAL_WEEK_VIEW, + CAL_VIEWS +}; + struct notify_app { long time; int got_app; -- cgit v1.2.3-54-g00ecf