elementary / calendar

Desktop calendar app designed for elementary OS
https://elementary.io
GNU General Public License v3.0
130 stars 39 forks source link

Make default calendar checkbox insensitive if read-only #730

Closed mcclurgm closed 2 years ago

mcclurgm commented 2 years ago

Fixes an issue reported in #553. Previously we didn't check whether a calendar is read-only, so you could set it as default, with some strange results. This fixes that by disabling the checkbox.

Since a disabled checkbox can now mean multiple things (read-only calendar if unchecked, or already default if checked), should we add a label explaining why it's disabled? I'm not sure if that's necessary, but it could be helpful.

mcclurgm commented 2 years ago

My assumption is that it polls that information from contact details, although that's speculative as I don't use it.

jeremypw commented 2 years ago

@mcclurgm Yes, I think your right. I am not sure how to add any birthdays and anniversaries using other Elementary apps. Friends is not released yet and doesnt seem to handle birthdays and anniversaries.