GNOME Bugzilla – Bug 546825
e_cal_get_sources does not return all sources
Last modified: 2011-04-15 20:59:43 UTC
This used to work as expected but no longer does. I don't have Evolution installed and there is no /apps/evolution/tasks key in gconf. Consider the following example: ESourceList * sources; e_cal_get_sources (&sources, E_CAL_SOURCE_TYPE_TODO, NULL); This returns nothing (as it seems to just read and parse a gconf key every time it's called). Now try this: ECal * cal; cal = e_cal_new_system_tasks (); This returns a valid ECal object and it contains all my tasks but is hardcoded to load from ~/.evolution/tasks/local/system and does not have a corresponding entry in the source list. I guess if the above call results in opening an ECal from a fixed location, this location should always appear as a local source. Either that or the behavior should be documented. The new_system_memos/new_system_calendar seem to behave the same way. See also bug #546589.
I believe this was fixed, as bug #647873 *** This bug has been marked as a duplicate of bug 647873 ***