605share / google-calendar-gadget

Automatically exported from code.google.com/p/google-calendar-gadget
Apache License 2.0
0 stars 0 forks source link

cannot hide calendars that are "My calendars" #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
go to options and uncheck a calendar under "My calendars". its events 
continue to show up.

Original issue reported on code.google.com by james....@gmail.com on 25 Feb 2009 at 5:43

GoogleCodeExporter commented 8 years ago
the unchecked calendar continue to be shown

Original comment by rhevinil...@gmail.com on 6 Mar 2009 at 4:23

GoogleCodeExporter commented 8 years ago
can you take a quick look at this? it might be an easy fix for you?

Original comment by james....@gmail.com on 29 Mar 2009 at 9:09

GoogleCodeExporter commented 8 years ago
I found the source of the problem but the fix is not that easy. The problem is 
that
we fetch the own and all calendars separately. On the request of own calendars 
we get
other calendar IDs than wen requesting all calendars. Because of that the IDs 
in the
JSON data we store on the last calendar request and which I use to populate the
calendar list in options doesn't match with the stored IDs for the own 
calendars.

I now changed the code to use the e-mail part of the ID to identify the calendar
instead of the entire ID which includes the URL parts. I uploaded the fix in r87

Original comment by codename...@gmail.com on 29 Mar 2009 at 9:54