diff options
author | JP Rosevear <jpr@ximian.com> | 2003-12-22 01:05:24 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-12-22 01:05:24 +0800 |
commit | 093937a09306fc4f6f2cfb730d5e58c8b7d39e25 (patch) | |
tree | 6459a5ed73bbe03e319500dbe3e0950c7386d152 /calendar/conduits | |
parent | ffc6f6edaa26c5764bb91b780e7344440d3d22be (diff) | |
download | gsoc2013-evolution-093937a09306fc4f6f2cfb730d5e58c8b7d39e25.tar gsoc2013-evolution-093937a09306fc4f6f2cfb730d5e58c8b7d39e25.tar.gz gsoc2013-evolution-093937a09306fc4f6f2cfb730d5e58c8b7d39e25.tar.bz2 gsoc2013-evolution-093937a09306fc4f6f2cfb730d5e58c8b7d39e25.tar.lz gsoc2013-evolution-093937a09306fc4f6f2cfb730d5e58c8b7d39e25.tar.xz gsoc2013-evolution-093937a09306fc4f6f2cfb730d5e58c8b7d39e25.tar.zst gsoc2013-evolution-093937a09306fc4f6f2cfb730d5e58c8b7d39e25.zip |
rewrite for new ecal api, cache all ecal's by type and minimize loading.
2003-12-21 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.[hc]: rewrite for new ecal api, cache all
ecal's by type and minimize loading. Switch to using the source
option menu
* conduits/todo/todo-conduit.c (start_calendar_server): ditto
* conduits/calendar/calendar-conduit.c (start_calendar_server):
use ECalSourceType
* importers/icalendar-importer.c (load_file_fn): ditto
(vcal_load_file_fn): ditto
(gnome_calendar_import_data_fn): ditto
* gui/dialogs/task-page.c (source_changed_cb): ditto
* gui/dialogs/event-page.c (source_changed_cb): ditto
* gui/dialogs/copy-source-dialog.h: update proto
* gui/dialogs/copy-source-dialog.c (copy_source_dialog): ditto
* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): ditto
* gui/tasks-component.c (copy_task_list_cb): ditto
(setup_create_ecal): ditto
* gui/gnome-cal.c (gnome_calendar_construct): ditto
(gnome_calendar_add_event_uri): ditto
* gui/e-tasks.c (e_tasks_add_todo_uri): ditto
* gui/comp-editor-factory.c (open_client): ditto
* gui/calendar-offline-handler.c (backend_go_offline): ditto
(backend_go_online): ditto
(calendar_offline_handler_init): ditto
* gui/calendar-component.c (copy_calendar_cb): ditto
(setup_create_ecal): ditto
* gui/print.c (print_month_small): don't pass type to
e_cal_generate_instances
(print_day_details): ditto
(print_week_summary): ditto
* gui/tag-calendar.c (tag_calendar_by_client): ditto
svn path=/trunk/; revision=23994
Diffstat (limited to 'calendar/conduits')
-rw-r--r-- | calendar/conduits/calendar/calendar-conduit.c | 2 | ||||
-rw-r--r-- | calendar/conduits/todo/todo-conduit.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c index 47b3755ea5..c1c58e5968 100644 --- a/calendar/conduits/calendar/calendar-conduit.c +++ b/calendar/conduits/calendar/calendar-conduit.c @@ -396,7 +396,7 @@ start_calendar_server (ECalConduitContext *ctxt) /* FIXME Need a mechanism for the user to select uri's */ /* FIXME Can we use the cal model? */ uri = g_strdup_printf ("file://%s/local/Calendar/", g_get_home_dir ()); - ctxt->client = e_cal_new (uri, CALOBJ_TYPE_EVENT); + ctxt->client = e_cal_new (uri, E_CAL_SOURCE_TYPE_EVENT); g_free (uri); if (!ctxt->client) diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c index fe5684252b..a8a7e35671 100644 --- a/calendar/conduits/todo/todo-conduit.c +++ b/calendar/conduits/todo/todo-conduit.c @@ -402,7 +402,7 @@ start_calendar_server (EToDoConduitContext *ctxt) /* FIXME Need a mechanism for the user to select uri's */ /* FIXME Can we use the cal model? */ uri = g_strdup_printf ("file://%s/local/Tasks/", g_get_home_dir ()); - ctxt->client = e_cal_new (uri, CALOBJ_TYPE_TODO); + ctxt->client = e_cal_new (uri, E_CAL_SOURCE_TYPE_TODO); g_free (uri); if (!ctxt->client) |