GNOME Bugzilla – Bug 127535
Birthday and anniversary calendar backend
Last modified: 2004-12-22 21:47:04 UTC
Evolution's contact editor allows you to annotate a contact with the dates of their birthday and anniversary. However, these dates don't automatically copy themselves into your calendar. Unless you explicitly add the dates to your calendar, you won't see them when you glance through your schedule, and an alarm won't fire to warn you of a friend's upcoming birthday. Clearly, this is a travesty. The right solution is to create a special calendar backend which reads birthdays and anniversaries out of the user's addressbook. Using Evolution 2.0's calendar aggregation feature, the user can then overlay a friend's important life events into the calendar view by clicking a single checkbox. This bug is part of the Integrated Collaborative Desktop Bounty Hunt. For more information on prizes, contest rules, and other bounty tasks, visit: http://www.gnome.org/bounties/ If you would like to start working on this bounty, please create a bugzilla account and append your intention to work on this bounty to this bug. If multiple people declare their intentions to work on a task, we encourage you to join forces and work together. Please do not close this bug. The contest organizers will mark this bug as FIXED when the prize is claimed.
Please see http://www.gnome.org/bounties/Addressbook.php3#127535 for more information.
Oops. The Correct URL for more information is: http://www.gnome.org/bounties/Calendar.php3#127535
I will work on this.
OK I have most of the back-end work done: it displays birthdays and anniversaries as all-day non-editable events. However, there are still issues with how to integrate it into Evolution. Should I load all address books into one calendar, or should there be separate calendars for separate address books? How can I include static, non-editable calendars in the left-hand calendar tree? Because the most straightforward might be to have a "Contacts" calendar group, with caledars for every address book, like this: > Contacts [x] Personal [ ] Work But this shouldn't be editable by the user, and shouldn't be stored in gconf:/apps/evolution/calendar/sources. So how do I do that?
I think there should probably be only one calendar... I am not sure how to handle the read-only mode though. This needs some more thinking, why don't you bring it up on the evolution-hackers mailing list? The calendar people probably have some thoughts on this.
Created attachment 22215 [details] Screenshot of the ContactDates backend in action
As you can see on the attached screenshot, I have the backend mostly implemented (will post the patch here shortly), but have problems integrating it into the GUI (see the need for a fake source in the source category 'Contacts' in the left-hand pane, for example).
Checked in to CVS HEAD
Accepted.