diff options
author | JP Rosevear <jpr@ximian.com> | 2004-01-16 01:15:19 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-01-16 01:15:19 +0800 |
commit | c1f42ab2b0820cd1b52dc75ab1e7dfdaae6d604c (patch) | |
tree | 34fb84945b4a87679325241024f5a8723ca3c881 /calendar/gui/tasks-component.h | |
parent | 6dc6126ad803ecb3465a3f429078f36544182900 (diff) | |
download | gsoc2013-evolution-c1f42ab2b0820cd1b52dc75ab1e7dfdaae6d604c.tar.gz gsoc2013-evolution-c1f42ab2b0820cd1b52dc75ab1e7dfdaae6d604c.tar.zst gsoc2013-evolution-c1f42ab2b0820cd1b52dc75ab1e7dfdaae6d604c.zip |
update protos
2004-01-15 JP Rosevear <jpr@ximian.com>
* gui/tasks-component.h: update protos
* gui/tasks-component.c (impl_finalize): free base dir
(impl_upgradeFromVersion): just call migrate_tasks
(tasks_component_init): set base dir value
(tasks_component_peek_base_directory): accessor
(tasks_component_peek_source_list): ditto
* gui/migration.c (process_old_dir): look for a source with the
name and fallback to creating it
(create_calendar_contact_source): create the contacts:// source
(create_calendar_sources): use above and create all the necessary
sources
(create_task_sources): create all the necessary sources
(migrate_calendars): do all the migration logic here, upgrade
bonobo-conf to gconf
(migrate_tasks): ditto
* gui/calendar-component.h: update prototypes
* gui/calendar-component.c (impl_finalize): free the base
directory
(impl_upgradeFromVersion): just call migrate_calendars
(calendar_component_init): fill in base dir value
(calendar_component_peek_base_directory): accessor
(calendar_component_peek_source_list): ditto
svn path=/trunk/; revision=24248
Diffstat (limited to 'calendar/gui/tasks-component.h')
-rw-r--r-- | calendar/gui/tasks-component.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/tasks-component.h b/calendar/gui/tasks-component.h index 5a015da4a1..1cdb0bdff1 100644 --- a/calendar/gui/tasks-component.h +++ b/calendar/gui/tasks-component.h @@ -54,7 +54,9 @@ struct _TasksComponentClass { GType tasks_component_get_type (void); TasksComponent *tasks_component_peek (void); -const char *tasks_component_peek_config_directory (TasksComponent *component); + +const char *tasks_component_peek_base_directory (TasksComponent *component); +const char *tasks_component_peek_config_directory (TasksComponent *component); ESourceList *tasks_component_peek_source_list (TasksComponent *component); #endif /* _TASKS_COMPONENT_H_ */ |