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/gui/tasks-component.c | |
parent | ffc6f6edaa26c5764bb91b780e7344440d3d22be (diff) | |
download | gsoc2013-evolution-093937a09306fc4f6f2cfb730d5e58c8b7d39e25.tar.gz 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/gui/tasks-component.c')
-rw-r--r-- | calendar/gui/tasks-component.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c index 2f89ea31bb..3c8650afd1 100644 --- a/calendar/gui/tasks-component.c +++ b/calendar/gui/tasks-component.c @@ -324,7 +324,7 @@ copy_task_list_cb (GtkWidget *widget, TasksComponent *comp) if (!selected_source) return; - copy_source_dialog (GTK_WINDOW (gtk_widget_get_toplevel (widget)), selected_source, CALOBJ_TYPE_TODO); + copy_source_dialog (GTK_WINDOW (gtk_widget_get_toplevel (widget)), selected_source, E_CAL_SOURCE_TYPE_TODO); } static void @@ -643,14 +643,14 @@ setup_create_ecal (TasksComponent *component) source = e_source_list_peek_source_by_uid (priv->source_list, uid); g_free (uid); - priv->create_ecal = e_cal_new (source, CALOBJ_TYPE_TODO); + priv->create_ecal = e_cal_new (source, E_CAL_SOURCE_TYPE_TODO); } if (!priv->create_ecal) { /* Try to create a default if there isn't one */ source = find_first_source (priv->source_list); if (source) - priv->create_ecal = e_cal_new (source, CALOBJ_TYPE_TODO); + priv->create_ecal = e_cal_new (source, E_CAL_SOURCE_TYPE_TODO); } if (priv->create_ecal) { |