aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/migration.c
Commit message (Collapse)AuthorAgeFilesLines
* ensure that only one Personal calendar/task list gets created when movingJP Rosevear2004-03-241-9/+15
| | | | | | | | | | 2004-03-23 JP Rosevear <jpr@ximian.com> * gui/migration.c (create_calendar_sources, create_task_sources): ensure that only one Personal calendar/task list gets created when moving between minor versions svn path=/trunk/; revision=25160
* fix float type pane position keys (we migrated these improperly in theJP Rosevear2004-02-251-0/+25
| | | | | | | | | | | | 2004-02-24 JP Rosevear <jpr@ximian.com> * gui/migration.c (migrate_calendars): fix float type pane position keys (we migrated these improperly in the past), just use the default value Fixes #53087 svn path=/trunk/; revision=24860
* rename from CONTACT_BASE_URI, and change to contacts:// to match e-d-s.Chris Toshok2004-02-131-3/+3
| | | | | | | | | | | 2004-02-12 Chris Toshok <toshok@ximian.com> * gui/migration.c (CONTACTS_BASE_URI): rename from CONTACT_BASE_URI, and change to contacts:// to match e-d-s. (create_calendar_contact_source): CONTACT -> CONTACTS. (create_calendar_sources): same. svn path=/trunk/; revision=24726
* don't set the group to be read only until after the source is added.JP Rosevear2004-01-301-2/+3
| | | | | | | | | 2004-01-29 JP Rosevear <jpr@ximian.com> * gui/migration.c (create_calendar_contact_source): don't set the group to be read only until after the source is added. svn path=/trunk/; revision=24523
* migrate to a specific source (migrate_ical_folder): create a new sourceJP Rosevear2004-01-291-109/+165
| | | | | | | | | | | | | | | | | | 2004-01-29 JP Rosevear <jpr@ximian.com> * gui/migration.c (migrate_ical_folder_to_source): migrate to a specific source (migrate_ical_folder): create a new source based on the new source name/uid (create_calendar_contact_source): use the #define for the base uri (create_calendar_sources): try and find the right sources if they already exist (create_task_sources): ditto (migrate_calendars): make sure the personal source is the system source (migrate_tasks): ditto svn path=/trunk/; revision=24521
* add the source to the group so it actually shows upJP Rosevear2004-01-271-4/+7
| | | | | | | | | 2004-01-26 JP Rosevear <jpr@ximian.com> * gui/migration.c (migrate_ical_folder): add the source to the group so it actually shows up svn path=/trunk/; revision=24455
* get the source name with out using freed memory (migrate_tasks): dittoJP Rosevear2004-01-271-2/+2
| | | | | | | | | | 2004-01-27 JP Rosevear <jpr@ximian.com> * gui/migration.c (migrate_calendars): get the source name with out using freed memory (migrate_tasks): ditto svn path=/trunk/; revision=24453
* Fixes #53338Rodrigo Moya2004-01-271-0/+3
| | | | | | | | | | | | | | | | | | | | 2004-01-27 Rodrigo Moya <rodrigo@ximian.com> Fixes #53338 * gui/dialogs/calendar-setup.c (dialog_to_source): set the relative URI on the source for remote sources. 2004-01-27 Rodrigo Moya <rodrigo@ximian.com> Fixes #52312 * gui/dialogs/calendar-setup.c (create_new_source_with_group): * gui/migration.c (migrate_ical_folder, create_calendar_sources, create_task_sources): set the relative URI for local calendars and task lists to be the source UID. svn path=/trunk/; revision=24446
* display a progress dialog (dialog_close): destroy itJP Rosevear2004-01-251-70/+257
| | | | | | | | | | | | | | | | | | 2004-01-24 JP Rosevear <jpr@ximian.com> * gui/migration.c (setup_progress_dialog): display a progress dialog (dialog_close): destroy it (dialog_set_folder_name): display the folder being migrated (dialog_set_progress): update the progress (check_for_conflict): make sure we don't name anything the same (get_source_name): create a source name (migrate_ical): migrate the events/tasks from one ecal to another (migrate_ical_folder): migrate a specific folder (migrate_calendars): use above (migrate_tasks): ditto svn path=/trunk/; revision=24410
* remove useless e_mkdir_hier call.JP Rosevear2004-01-231-7/+0
| | | | | | | | | | | 2004-01-22 JP Rosevear <jpr@ximian.com> * gui/migration.c (process_old_dir): remove useless e_mkdir_hier call. Fixes #53065 svn path=/trunk/; revision=24366
* 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