Re: [Evolution-hackers] e_cal_new_system_calendar() -> creates a new calendar each time?

2011-04-07 Thread Matthew Barnes
On Thu, 2011-04-07 at 15:01 +0200, Milan Crha wrote: > "was a bug" is more accurate, same as all (or most) things Patrick found > in his 2.32.2 (I hope it's .2). Check changes in e-source.c and related > files in master git branch of evolution-data-server, you may find those > fixes there. Oh, go

Re: [Evolution-hackers] e_cal_new_system_calendar() -> creates a new calendar each time?

2011-04-07 Thread Milan Crha
On Thu, 2011-04-07 at 06:40 -0400, Matthew Barnes wrote: > The absolute URI for the "system" calendar is "local:system". There > should be no slash. That's a bug. Hi, "was a bug" is more accurate, same as all (or most) things Patrick found in his 2.32.2 (I hope it's .2). Check changes in

Re: [Evolution-hackers] e_cal_new_system_calendar() -> creates a new calendar each time?

2011-04-07 Thread Matthew Barnes
On Thu, 2011-04-07 at 10:47 +0200, Patrick Ohly wrote: > The sequence of events is this: > 1. e_cal_new_system_calendar() > 2. e_cal_new_from_uri("local:system", ... > 3. get source list > 4. search_known_sources() by comparing e_source_peek_absolute_uri() > against "lo

Re: [Evolution-hackers] e_cal_new_system_calendar() -> creates a new calendar each time?

2011-04-07 Thread Patrick Ohly
On Do, 2011-04-07 at 10:47 +0200, Patrick Ohly wrote: > Hello! > > I noticed that in 2.32/MeeGo, e_cal_new_system_calendar() always creates > a new calendar, although there is already one. > > It is defined in gconf as: > > base_uri="local:" readonly="no"> uid="1300454894.7178.4@pohly-mobl1" na

[Evolution-hackers] e_cal_new_system_calendar() -> creates a new calendar each time?

2011-04-07 Thread Patrick Ohly
Hello! I noticed that in 2.32/MeeGo, e_cal_new_system_calendar() always creates a new calendar, although there is already one. It is defined in gconf as: The sequence of events is this: 1. e_cal_new_system_calendar() 2. e_cal_new_from_uri("local:system", ... 3. get source list