diff options
author | Seth Alves <alves@src.gnome.org> | 2000-04-20 02:46:17 +0800 |
---|---|---|
committer | Seth Alves <alves@src.gnome.org> | 2000-04-20 02:46:17 +0800 |
commit | feb0ee231e1ba8e6b5e585a1cdb14a2da2ea9ef4 (patch) | |
tree | 7a274b8b03de97c02699e953ade2d54b7d1fcde6 /calendar/pcs/cal-backend.c | |
parent | bd4a8695da8ff49bb64d4fc0dfc24902ac26e29f (diff) | |
download | gsoc2013-evolution-feb0ee231e1ba8e6b5e585a1cdb14a2da2ea9ef4.tar gsoc2013-evolution-feb0ee231e1ba8e6b5e585a1cdb14a2da2ea9ef4.tar.gz gsoc2013-evolution-feb0ee231e1ba8e6b5e585a1cdb14a2da2ea9ef4.tar.bz2 gsoc2013-evolution-feb0ee231e1ba8e6b5e585a1cdb14a2da2ea9ef4.tar.lz gsoc2013-evolution-feb0ee231e1ba8e6b5e585a1cdb14a2da2ea9ef4.tar.xz gsoc2013-evolution-feb0ee231e1ba8e6b5e585a1cdb14a2da2ea9ef4.tar.zst gsoc2013-evolution-feb0ee231e1ba8e6b5e585a1cdb14a2da2ea9ef4.zip |
fixed code to populate the todo clist
* gui/gncal-todo.c (gncal_todo_update): fixed code to populate
the todo clist
* cal-client/cal-client.c (cal_client_get_uids): don't check
type again CALOBJ_TYPE_ANY since it will always match.
(cal_client_get_uids): same (re: CALOBJ_TYPE_ANY)
* pcs/cal-backend.c (build_uids_list): same (re: CALOBJ_TYPE_ANY)
* pcs/cal.c (Cal_get_uids): same (re: CALOBJ_TYPE_ANY)
svn path=/trunk/; revision=2509
Diffstat (limited to 'calendar/pcs/cal-backend.c')
-rw-r--r-- | calendar/pcs/cal-backend.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/pcs/cal-backend.c b/calendar/pcs/cal-backend.c index 4cd7877e30..353abc9465 100644 --- a/calendar/pcs/cal-backend.c +++ b/calendar/pcs/cal-backend.c @@ -860,9 +860,11 @@ build_uids_list (gpointer key, gpointer value, gpointer data) store = FALSE; + /* if (c->type & CALOBJ_TYPE_ANY) store = TRUE; - else if (ico->type == ICAL_EVENT) + else */ + if (ico->type == ICAL_EVENT) store = (c->type & CALOBJ_TYPE_EVENT) ? TRUE : FALSE; else if (ico->type == ICAL_TODO) store = (c->type & CALOBJ_TYPE_TODO) ? TRUE : FALSE; |