aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/migration.c
Commit message (Collapse)AuthorAgeFilesLines
* update protosJP Rosevear2004-01-161-31/+330
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* added missing headers.Rodrigo Moya2004-01-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-10 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/notify-main.c: added missing headers. * gui/alarm-notify/alarm-notify.c (alarm_notify_remove_calendar): use the correct variable when calling alarm_queue_remove_client(). * gui/calendar-component.c (impl_upgradeFromVersion): removed redundant variable declarations. * gui/migration.c (process_old_dir): * gui/e-timezone-entry.c (e_timezone_entry_mnemonic_activate): * gui/e-date-time-list.c (e_date_time_list_finalize): * gui/e-alarm-list.c (e_alarm_list_finalize): fixed warnings. * gui/e-calendar-table.c: added missing prototypes at the top to avoid warnings. * gui/e-week-view.c (e_week_view_scroll_a_step): * gui/e-day-view.c (e_day_view_event_move): directly return in the default: case. * gui/e-tasks.c (setup_widgets): connect to changes on the model. (model_row_changed_cb): callback to update the HTML detailed view when the currently selected task changes. (client_obj_updated_cb): removed unused function. (set_status_message): changed to accept a variable list of arguments. (e_tasks_add_todo_uri): display status messages and get error message from backend and display it in a dialog. (cal_opened_cb, load_error, method_error, permission_error): removed unused functions. * gui/gnome-cal.c (open_ecal): added a GnomeCalendar argument, and display status messages. (gnome_calendar_construct, gnome_calendar_add_event_source): adapted to changes in open_ecal(). svn path=/trunk/; revision=24147
* fix typoJP Rosevear2003-11-051-8/+1
| | | | | | | | 2003-11-05 JP Rosevear <jpr@ximian.com> * gui/migration.c: fix typo svn path=/trunk/; revision=23191
* add a unimplemented warning so we at least avoid relocation errors.Larry Ewing2003-11-051-0/+8
| | | | | | | | | 2003-11-05 Larry Ewing <lewing@ximian.com> * gui/migration.c (process_old_dir): add a unimplemented warning so we at least avoid relocation errors. svn path=/trunk/; revision=23190
* added more menu items. (delete_calendar_cb): callbacks for new popup menuRodrigo Moya2003-11-041-5/+28
| | | | | | | | | | | | | | | | | | | | | | 2003-11-04 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-component.c (fill_popup_menu_callback): added more menu items. (delete_calendar_cb): callbacks for new popup menu items. (impl_createControls): add the source selector widget to the CalendarComponentPrivate structure. * gui/migration.[ch] (migrate_old_tasks): new function to migrate old tasks setups. (process_old_dir): renamed and added a "filename" argument, so that the same function can be used for tasks and calendar directories. (migrate_old_calendars): added new argument when calling process_old_dir(). * gui/tasks-component.c (tasks_component_init): call migrate_old_tasks() if there are no groups defined. svn path=/trunk/; revision=23182
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-221-0/+126
svn path=/trunk/; revision=22965