diff options
Diffstat (limited to 'calendar/pcs')
-rw-r--r-- | calendar/pcs/cal-backend.c | 4 | ||||
-rw-r--r-- | calendar/pcs/cal.c | 5 |
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); |