diff options
author | Seth Alves <alves@src.gnome.org> | 2000-07-13 07:34:10 +0800 |
---|---|---|
committer | Seth Alves <alves@src.gnome.org> | 2000-07-13 07:34:10 +0800 |
commit | d75a6c0b382e49706c0b56f52bf1d711658c2686 (patch) | |
tree | fc1fa992640a5c972cdf7db0321260dd326e2c3c /calendar/conduits/calendar | |
parent | f9eb656383a6b45b838cc597681347a70d796ceb (diff) | |
download | gsoc2013-evolution-d75a6c0b382e49706c0b56f52bf1d711658c2686.tar gsoc2013-evolution-d75a6c0b382e49706c0b56f52bf1d711658c2686.tar.gz gsoc2013-evolution-d75a6c0b382e49706c0b56f52bf1d711658c2686.tar.bz2 gsoc2013-evolution-d75a6c0b382e49706c0b56f52bf1d711658c2686.tar.lz gsoc2013-evolution-d75a6c0b382e49706c0b56f52bf1d711658c2686.tar.xz gsoc2013-evolution-d75a6c0b382e49706c0b56f52bf1d711658c2686.tar.zst gsoc2013-evolution-d75a6c0b382e49706c0b56f52bf1d711658c2686.zip |
todo conduit builds and plays nice but does nothing
svn path=/trunk/; revision=4130
Diffstat (limited to 'calendar/conduits/calendar')
-rw-r--r-- | calendar/conduits/calendar/calendar-conduit.c | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c index 30363cbcf2..64190a4424 100644 --- a/calendar/conduits/calendar/calendar-conduit.c +++ b/calendar/conduits/calendar/calendar-conduit.c @@ -144,7 +144,12 @@ get_calendar_objects(GnomePilotConduitStandardAbs *conduit, g_return_val_if_fail (conduit != NULL, NULL); g_return_val_if_fail (ctxt != NULL, NULL); - uids = cal_client_get_uids (ctxt->client, CALOBJ_TYPE_ANY); + /* uids = cal_client_get_uids (ctxt->client, CALOBJ_TYPE_ANY); */ + uids = cal_client_get_uids (ctxt->client, + CALOBJ_TYPE_EVENT | + /*CALOBJ_TYPE_TODO |*/ + CALOBJ_TYPE_JOURNAL | + CALOBJ_TYPE_OTHER); if (status != NULL) (*status) = TRUE; @@ -531,7 +536,15 @@ check_for_slow_setting (GnomePilotConduit *c, GCalConduitContext *ctxt) GList *uids; unsigned long int entry_number; - uids = cal_client_get_uids (ctxt->client, CALOBJ_TYPE_ANY); + /* get all but TODOs, those are handled by the todo conduit */ + /* uids = cal_client_get_uids (ctxt->client, CALOBJ_TYPE_ANY); */ + uids = cal_client_get_uids (ctxt->client, + CALOBJ_TYPE_EVENT | + /*CALOBJ_TYPE_TODO |*/ + CALOBJ_TYPE_JOURNAL | + CALOBJ_TYPE_OTHER); + + entry_number = g_list_length (uids); LOG (_("Calendar holds %d entries"), entry_number); |