aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs
diff options
context:
space:
mode:
authorSeth Alves <alves@src.gnome.org>2000-04-20 02:46:17 +0800
committerSeth Alves <alves@src.gnome.org>2000-04-20 02:46:17 +0800
commitfeb0ee231e1ba8e6b5e585a1cdb14a2da2ea9ef4 (patch)
tree7a274b8b03de97c02699e953ade2d54b7d1fcde6 /calendar/pcs
parentbd4a8695da8ff49bb64d4fc0dfc24902ac26e29f (diff)
downloadgsoc2013-evolution-feb0ee231e1ba8e6b5e585a1cdb14a2da2ea9ef4.tar.gz
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')
-rw-r--r--calendar/pcs/cal-backend.c4
-rw-r--r--calendar/pcs/cal.c5
2 files changed, 7 insertions, 2 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;
diff --git a/calendar/pcs/cal.c b/calendar/pcs/cal.c
index 0dd3e81649..e1d3623ccf 100644
--- a/calendar/pcs/cal.c
+++ b/calendar/pcs/cal.c
@@ -220,7 +220,10 @@ Cal_get_uids (PortableServer_Servant servant,
| ((type & Evolution_Calendar_TYPE_TODO) ? CALOBJ_TYPE_TODO : 0)
| ((type & Evolution_Calendar_TYPE_JOURNAL) ? CALOBJ_TYPE_JOURNAL : 0)
| ((type & Evolution_Calendar_TYPE_OTHER) ? CALOBJ_TYPE_OTHER : 0)
- | ((type & Evolution_Calendar_TYPE_ANY) ? CALOBJ_TYPE_ANY : 0));
+ /*
+ | ((type & Evolution_Calendar_TYPE_ANY) ? CALOBJ_TYPE_ANY : 0)
+ */
+ );
uids = cal_backend_get_uids (priv->backend, t);
n = g_list_length (uids);