diff options
author | nobody <nobody@localhost> | 2003-09-26 23:53:23 +0800 |
---|---|---|
committer | nobody <nobody@localhost> | 2003-09-26 23:53:23 +0800 |
commit | 911c3b9d4fe2f40bc34029ef798ed78fdf0fcb42 (patch) | |
tree | e3efa4958cf2cf6bfe50e2a15c729b9014efa5db /wombat | |
parent | 99c61843f0d1da7f9b3b73b99bab0e918ce99e5b (diff) | |
download | gsoc2013-evolution-911c3b9d4fe2f40bc34029ef798ed78fdf0fcb42.tar gsoc2013-evolution-911c3b9d4fe2f40bc34029ef798ed78fdf0fcb42.tar.gz gsoc2013-evolution-911c3b9d4fe2f40bc34029ef798ed78fdf0fcb42.tar.bz2 gsoc2013-evolution-911c3b9d4fe2f40bc34029ef798ed78fdf0fcb42.tar.lz gsoc2013-evolution-911c3b9d4fe2f40bc34029ef798ed78fdf0fcb42.tar.xz gsoc2013-evolution-911c3b9d4fe2f40bc34029ef798ed78fdf0fcb42.tar.zst gsoc2013-evolution-911c3b9d4fe2f40bc34029ef798ed78fdf0fcb42.zip |
This commit was manufactured by cvs2svn to create tagnew-calendar-branch-merge-end
'new-calendar-branch-merge-end'.
svn path=/tags/new-calendar-branch-merge-end/; revision=22718
Diffstat (limited to 'wombat')
-rw-r--r-- | wombat/ChangeLog | 9 | ||||
-rw-r--r-- | wombat/GNOME_Evolution_WombatLDAP.server.in.in | 3 | ||||
-rw-r--r-- | wombat/wombat.c | 10 |
3 files changed, 18 insertions, 4 deletions
diff --git a/wombat/ChangeLog b/wombat/ChangeLog index f3b0124776..98da89841a 100644 --- a/wombat/ChangeLog +++ b/wombat/ChangeLog @@ -1,3 +1,12 @@ +2003-08-13 JP Rosevear <jpr@ximian.com> + + * wombat.c (termination_handler): comment out some bits + (setup_pcs): register kind and method + + * GNOME_Evolution_Wombat.server.in.in: add calendar protocol + + * GNOME_Evolution_WombatLDAP.server.in.in: ditto + 2003-06-26 Rodrigo Moya <rodrigo@ximian.com> * Evolution-Wombat.idl: removed WombatClient interface. diff --git a/wombat/GNOME_Evolution_WombatLDAP.server.in.in b/wombat/GNOME_Evolution_WombatLDAP.server.in.in index 714763b8ac..6e6e02bc80 100644 --- a/wombat/GNOME_Evolution_WombatLDAP.server.in.in +++ b/wombat/GNOME_Evolution_WombatLDAP.server.in.in @@ -30,6 +30,9 @@ <oaf_attribute name="name" type="string" _value="Evolution Calendar local file backend"/> + <oaf_attribute name="calendar:supported_protocols" type="stringv"> + <item value="file"/> + </oaf_attribute> </oaf_server> <oaf_server iid="OAFIID:GNOME_Evolution_Wombat_InterfaceCheck" diff --git a/wombat/wombat.c b/wombat/wombat.c index 563579f370..27e20d36fb 100644 --- a/wombat/wombat.c +++ b/wombat/wombat.c @@ -31,7 +31,8 @@ #include "pas/pas-backend-file.h" #include "calendar/pcs/cal-factory.h" -#include "calendar/pcs/cal-backend-file.h" +#include "calendar/pcs/cal-backend-file-events.h" +#include "calendar/pcs/cal-backend-file-todos.h" #include "wombat-interface-check.h" @@ -65,7 +66,7 @@ static gboolean termination_handler (gpointer data) { if ( - cal_factory_get_n_backends (cal_factory) == 0 && +// cal_factory_get_n_backends (cal_factory) == 0 && pas_book_factory_get_n_backends (pas_book_factory) == 0) { fprintf (stderr, "termination_handler(): Terminating the Wombat. Have a nice day.\n"); bonobo_main_quit (); @@ -144,9 +145,10 @@ setup_pcs (void) return FALSE; } - cal_factory_register_method (cal_factory, "file", CAL_BACKEND_FILE_TYPE); + cal_factory_register_method (cal_factory, "file", ICAL_VEVENT_COMPONENT, CAL_BACKEND_FILE_EVENTS_TYPE); + cal_factory_register_method (cal_factory, "file", ICAL_VTODO_COMPONENT, CAL_BACKEND_FILE_TODOS_TYPE); - if (!cal_factory_oaf_register (cal_factory, CAL_FACTORY_OAF_ID)) { + if (!cal_factory_register_storage (cal_factory, CAL_FACTORY_OAF_ID)) { bonobo_object_unref (BONOBO_OBJECT (cal_factory)); cal_factory = NULL; return FALSE; |