select 'Personal' calendar if default calendar is read-only or missing
Since the bug 768324 is fixed, read-only calendars are not shown anymore in the selection list. This creates an issue when the default calendar is read-only.
How to reproduce:
- Open evolution (just for reproducing the bug)
- Right click on 'Birthdays & Anniversaries' -> Properties -> Tick 'Mark as default calendar' (Or set some read-only calendar as the default one)
- Now open calendar
- In month view, click some cell (below are the bugs enumerated) a. The Default calendar name is not shown. b. 'Edit Details' or 'Add' button does not work.
- In year view, click on add event a. The whole entry dialog is insensitive b. There is no way to change the calendar. That is, no way to select a writable calendar.
Ideally GNOME calendar should check if the default calendar exits, and is writable. Else fallback to 'Personal' Calendar (which I believe, shall always be present and writable).