~cairo-dock-team/cairo-dock-plug-ins/popup_from_shortkey

Viewing all changes in revision 2845.

  • Committer: Matthieu Baerts
  • Date: 2013-06-10 21:13:07 UTC
  • Revision ID: matttbe@gmail.com-20130610211307-cla38iftah81a34p
Clock: ICAL: check if a task a valid before adding it:
data can come from outside, it's maybe better to check more thing, e.g. if the title is != NULL:
 It seems that GCalendar adds some tasks with a correct ID but no title, status = completed and date is wrong
 Check also is the date is correct: if the date is 0/-1/0...
 => skip all these tasks, they are useless (not available in the calendar)
 and they cause bugs (e.g. pNextTask is wrong and then each minute, all tasks are updated...)
 + reduced debug (do not print the id of each task, we can have a lot of tasks :)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: