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 <baptiste--git@jonglez.org>
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Baptiste Jonglez
2012-05-29 09:55:01 +02:00
committed by Lukas Fleischer
parent f7a88a5515
commit 2c5235cca7
4 changed files with 22 additions and 9 deletions

View File

@@ -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;