aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
Commit message (Collapse)AuthorAgeFilesLines
* use the correct icalcomponent when calling e_cal_create_object.Rodrigo Moya2003-11-243-2/+4
| | | | | | | | | 2003-11-24 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/copy-source-dialog.c (copy_source): use the correct icalcomponent when calling e_cal_create_object. svn path=/trunk/; revision=23482
* no need to have a selection for Paste to work.Rodrigo Moya2003-11-242-1/+4
| | | | | | | | | 2003-11-24 Rodrigo Moya <rodrigo@ximian.com> * gui/tasks-control.c (sensitize_commands): no need to have a selection for Paste to work. svn path=/trunk/; revision=23481
* disable editing items if the selected task list is read only, not if it'sRodrigo Moya2003-11-242-1/+6
| | | | | | | | | 2003-11-24 Rodrigo Moya <rodrigo@ximian.com> * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): disable editing items if the selected task list is read only, not if it's not. svn path=/trunk/; revision=23480
* new files containing the implementation of the 'New Task List' dialog.Rodrigo Moya2003-11-247-3/+385
| | | | | | | | | | | | | | | | | 2003-11-24 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/new-task-list.glade: * gui/dialogs/new-task-list.[ch]: new files containing the implementation of the 'New Task List' dialog. * gui/dialogs/Makefile.am: added new files. * gui/dialogs/new-calendar.c (new_calendar_dialog): use G_STRLOC for g_warning messages. * gui/tasks-component.c (new_task_list_cb): implemented. svn path=/trunk/; revision=23478
* actually add the source selector to the dialog's box.Rodrigo Moya2003-11-242-1/+9
| | | | | | | | | 2003-11-24 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/copy-source-dialog.c (copy_source_dialog): actually add the source selector to the dialog's box. svn path=/trunk/; revision=23475
* fixed compilation errors.Rodrigo Moya2003-11-242-1/+2
| | | | | | | | | 2003-11-23 Rodrigo Moya <rodrigo@ximian.com> * gui/tasks-component.c: * gui/dialogs/copy-dialog-source.[ch]: fixed compilation errors. svn path=/trunk/; revision=23473
* fixed compilation errors.Rodrigo Moya2003-11-244-4/+14
| | | | | | | | | | 2003-11-23 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/copy-dialog-source.[ch]: fixed compilation errors. * gui/dialogs/Makefile.am: added missing header directories. svn path=/trunk/; revision=23472
* fixed copyright notices.Rodrigo Moya2003-11-248-9/+244
| | | | | | | | | | | | | | | | | | | 2003-11-23 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/new-calendar.[ch]: fixed copyright notices. * gui/dialogs/copy-source-dialog.[ch]: implementation of the Copy command for sources. * gui/dialogs/Makefile.am: added new files. * gui/calendar-component.c (fill_popup_menu_cb, copy_calendar_cb): added Copy command. * gui/tasks-component.c (fill_popup_menu_cb, copy_task_list_cb): added Copy command. svn path=/trunk/; revision=23471
* Update OAFIID of AlarmNotifyRoss Burton2003-11-244-3/+12
| | | | svn path=/trunk/; revision=23470
* Remove a bunch of gal includes that are no longer neededJP Rosevear2003-11-2030-50/+28
| | | | | | | | 2003-11-20 JP Rosevear <jpr@ximian.com> * Remove a bunch of gal includes that are no longer needed svn path=/trunk/; revision=23457
* Fixes #43556Rodrigo Moya2003-11-203-254/+153
| | | | | | | | | | | | | | | 2003-11-19 Rodrigo Moya <rodrigo@ximian.com> Fixes #43556 * gui/e-cal-view.c (selection_get, selection_clear_event, selection_received): removed this unneeded functions. (e_calendar_view_init): don't create a GtkInvisible anymore. (e_calendar_view_destroy): no need to destroy the GtkInvisible. (e_cal_view_copy_clipboard, e_cal_view_paste_clipboard): use GtkClipboard. svn path=/trunk/; revision=23443
* make sure timezone value is sane (get_completed): dittoJP Rosevear2003-11-204-14/+24
| | | | | | | | | | | | | | 2003-11-19 JP Rosevear <jpr@ximian.com> * gui/e-cal-model-tasks.c (get_due): make sure timezone value is sane (get_completed): ditto * gui/e-cal-model.c (get_dtstart): add more guards * gui/e-cal-model-calendar.c (get_dtend): ditto svn path=/trunk/; revision=23442
* Fixes #51052Rodrigo Moya2003-11-192-0/+15
| | | | | | | | | | | | 2003-11-19 Rodrigo Moya <rodrigo@ximian.com> Fixes #51052 * importers/icalendar-importer.c (prepare_events, prepare_tasks): call icalcompiter_next to move the pointer to the next before removing a component avoid breaking the link. svn path=/trunk/; revision=23441
* make sure the timezone value is saneJP Rosevear2003-11-193-11/+18
| | | | | | | | | | | 2003-11-18 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (get_dtstart): make sure the timezone value is sane * gui/e-cal-model-calendar.c (get_dtend): ditto svn path=/trunk/; revision=23435
* add protos82003-11-196-36/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-18 <jpr@ximian.com> * gui/calendar-config.h: add protos * gui/calendar-config.c (calendar_config_get_primary_calendar): get the primary calendar (calendar_config_set_primary_calendar): set it (calendar_config_add_notification_primary_calendar): set notifications for it (calendar_config_get_primary_tasks): get the primary task list (calendar_config_set_primary_tasks): set it (calendar_config_add_notification_primary_tasks): set notifications for it * gui/calendar-config-keys.h: add primary keys * gui/calendar-component.c (find_first_source): find any source (update_uri_for_primary_selection): set the default uri and save the source uid (update_primary_selection): set the primary selection (primary_source_selection_changed_cb): use above (impl_createControls): set the primary selection * gui/tasks-component.c: as above svn path=/trunk/; revision=23434
* remove db3 includeJP Rosevear2003-11-192-1/+4
| | | | | | | | 2003-11-18 JP Rosevear <jpr@ximian.com> * gui/Makefile.am: remove db3 include svn path=/trunk/; revision=23430
* removed the 'New...' menu items from the UI, it's now implemented in theRodrigo Moya2003-11-192-52/+2
| | | | | | | | | | | 2003-11-18 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-commands.c (calendar_control_sensitize_calendar_commands, sensitize_taskpad_commands): removed the 'New...' menu items from the UI, it's now implemented in the shell. svn path=/trunk/; revision=23422
* removed the 'New...' menu items from the UI, it's now implemented in theRodrigo Moya2003-11-193-17/+8
| | | | | | | | | | | 2003-11-18 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-commands.c (calendar_control_sensitize_calendar_commands, sensitize_taskpad_commands): removed the 'New...' menu items from the UI, it's now implemented in the shell. svn path=/trunk/; revision=23421
* added 'sensitive' argument. (fill_popup_menu_cb): disable/enable menuRodrigo Moya2003-11-192-2/+2
| | | | | | | | | | | | | | 2003-11-18 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-component.c (add_popup_menu_item): added 'sensitive' argument. (fill_popup_menu_cb): disable/enable menu items depending on whether there is a selection or not. * gui/tasks-component.c (add_popup_menu_item, fill_popup_menu_cb): ditto. svn path=/trunk/; revision=23419
* added 'sensitive' argument. (fill_popup_menu_cb): disable/enable menuRodrigo Moya2003-11-193-10/+43
| | | | | | | | | | | | | | 2003-11-18 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-component.c (add_popup_menu_item): added 'sensitive' argument. (fill_popup_menu_cb): disable/enable menu items depending on whether there is a selection or not. * gui/tasks-component.c (add_popup_menu_item, fill_popup_menu_cb): ditto. svn path=/trunk/; revision=23416
* remove archaic fileJP Rosevear2003-11-182-89/+1
| | | | | | | | 2003-11-17 JP Rosevear <jpr@ximian.com> * TODO: remove archaic file svn path=/trunk/; revision=23413
* Cleanup some ref/unref callsJP Rosevear2003-11-1818-65/+57
| | | | | | | | 2003-11-17 JP Rosevear <jpr@ximian.com> * Cleanup some ref/unref calls svn path=/trunk/; revision=23412
* peek the primary selection.Rodrigo Moya2003-11-183-69/+53
| | | | | | | | | | 2003-11-17 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-component.c (delete_calendar_cb, rename_calendar_cb): * gui/tasks-component.c (delete_task_list_cb, rename_task_list_cb): peek the primary selection. svn path=/trunk/; revision=23392
* added 'Delete' and 'Rename' menu items. (delete_task_list_cb,Rodrigo Moya2003-11-172-1/+86
| | | | | | | | | | | 2003-11-17 Rodrigo Moya <rodrigo@ximian.com> * gui/tasks-component.c (fill_popup_menu_cb): added 'Delete' and 'Rename' menu items. (delete_task_list_cb, rename_task_list_cb): callbacks for new menu items. svn path=/trunk/; revision=23389
* try first to create the icon from the stock, and then from a file.Rodrigo Moya2003-11-173-4/+92
| | | | | | | | | | | | | | | | 2003-11-17 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-component.c (add_popup_menu_item): try first to create the icon from the stock, and then from a file. (fill_popup_menu_cb): set callback for 'Rename' menu item. (rename_calendar_cb): callback for 'Rename' menu item. (new_calendar_cb): fixed arguments. * gui/tasks-component.c (impl_createControls): connect to "fill_popup_menu" signal on the source selector. (fill_popup_menu_cb): callback to create our menu items. svn path=/trunk/; revision=23388
* use the server.mk file to get rules for building versioned .server filesJP Rosevear2003-11-173-6/+3
| | | | | | | | | | | 2003-11-17 JP Rosevear <jpr@ximian.com> * configure.in: use the server.mk file to get rules for building versioned .server files * */Makefile.am: use simplified rule subst svn path=/trunk/; revision=23387
* remove the AlarmNotify service, no more need for it, since the alarmRodrigo Moya2003-11-178-171/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-17 Rodrigo Moya <rodrigo@ximian.com> * idl/evolution-calendar.idl: remove the AlarmNotify service, no more need for it, since the alarm daemon will listen for changes on the GConf key. * gui/gnome-cal.c (add_alarms): removed function to talk to the alarm daemon. (client_cal_opened_cb): don't call add_alarms(). * gui/alarm-notify/alarm-notify.[ch]: made it a basic GObject. (AlarmNotify_addCalendar, AlarmNotify_removeCalendar): removed AlarmNotify interface implementation. (alarm_notify_class_init): no epv to initialize. (alarm_notify_remove_calendar): new function, copied from the CORBA method implementation. (alarm_notify_factory_fn): return NULL, since there is no objects that can be created via this factory now. * gui/alarm-notify/notify-main.c (main): now the factory is the alarm notification service itself. (load_calendars): no need to use exceptions here. * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in: now the factory is the alarm notification service itself. * gui/main.c (launch_alarm_daemon_cb): dont use the AlarmNotify CORBA types. svn path=/trunk/; revision=23384
* Make ending count of occurrences of Recurrence tab numeric only.Harry Lu2003-11-172-0/+6
| | | | | | | | | 2003-11-17 Harry Lu <harry.lu@sun.com> * gui/dialogs/recurrence-page.c (make_ending_count_special): Make ending count of occurrences of Recurrence tab numeric only. svn path=/trunk/; revision=23379
* add a uriJP Rosevear2003-11-174-69/+10
| | | | | | | | | | | | 2003-11-16 JP Rosevear <jpr@ximian.com> * gui/tasks-control.c (tasks_control_set_property): add a uri * gui/e-tasks.c: kill e_tasks_open * gui/e-tasks.h: remove proto svn path=/trunk/; revision=23376
* emit the added signal for the correct rowsJP Rosevear2003-11-172-8/+10
| | | | | | | | | 2003-11-16 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (e_cal_view_objects_added_cb): emit the added signal for the correct rows svn path=/trunk/; revision=23375
* copy in here (update_uris_for_selection): save the selectionJP Rosevear2003-11-174-13/+132
| | | | | | | | | | | | | | | | | | | | | | 2003-11-16 JP Rosevear <jpr@ximian.com> * gui/tasks-component.c (is_in_uids): copy in here (update_uris_for_selection): save the selection (update_selection): update the selection when its changed somewhere else (config_selection_changed_cb): update the selection if the configuration changes (impl_createControls): store the source selector * gui/calendar-config.h: add protos * gui/calendar-config.c (calendar_config_get_tasks_selected): get the list of task lists selected (calendar_config_set_tasks_selected): save it (calendar_config_add_notification_tasks_selected): get notified about it svn path=/trunk/; revision=23374
* add it via e-tasks (remove_uri_for_source): remove it via e-tasksJP Rosevear2003-11-178-85/+284
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-16 JP Rosevear <jpr@ximian.com> * gui/tasks-component.c (add_uri_for_source): add it via e-tasks (remove_uri_for_source): remove it via e-tasks (get_default_task): provide a default for editing (impl_createControls): create the control directly (impl_requestCreateItem): implement * gui/gnome-cal.c (gnome_calendar_purge): don't let the two list iterators clobber each other * gui/e-tasks.h: add protos * gui/e-tasks.c (e_tasks_destroy): free the client list and the hash, disconnect signals (e_tasks_new_task): use the default client (e_tasks_add_todo_uri): add a uri (e_tasks_remove_todo_uri): remove a uri (e_tasks_set_default_uri): set default uri (e_tasks_get_default_client): get default client (e_tasks_delete_completed): expunge from all clients (e_tasks_setup_view_menus): use default client uri * gui/e-tasks.c (set_timezone): set the timezone for all clients (e_tasks_init): set up the clients has table * gui/e-calendar-table.etspec: yank some useless display columns * gui/e-cal-model.c (remove_client): remove objects in reverse order so we don't clobber ourselves * gui/calendar-component.c: add FIXME svn path=/trunk/; revision=23373
* set up a event to be edited (impl_requestCreateItem): implementJP Rosevear2003-11-172-17/+90
| | | | | | | | | | 2003-11-16 JP Rosevear <jpr@ximian.com> * gui/calendar-component.c (get_default_event): set up a event to be edited (impl_requestCreateItem): implement svn path=/trunk/; revision=23371
* OopsJP Rosevear2003-11-151-0/+4
| | | | svn path=/trunk/; revision=23369
* include e-source* from e-d-sJP Rosevear2003-11-154-5/+4
| | | | | | | | 2003-11-14 JP Rosevear <jpr@ximian.com> * gui/*.[hc]: include e-source* from e-d-s svn path=/trunk/; revision=23364
* config accessor (calendar_config_set_calendars_selected): dittoJP Rosevear2003-11-155-22/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-14 JP Rosevear <jpr@ximian.com> * gui/calendar-config.c (calendar_config_get_calendars_selected): config accessor (calendar_config_set_calendars_selected): ditto (calendar_config_add_notification_calendars_selected): config notification * gui/calendar-config.h: add protos * gui/calendar-config-keys.h: add new key * gui/calendar-component.c (is_in_uids): util function (update_uris_for_selection): save the selection in the configuration (update_selection): update the selection from the config info (source_selection_changed_cb): only pass one param (config_selection_changed_cb): listen for config changes (impl_dispose): remove config notification (impl_createControls): use bonobo_exception_set; add a config notification 2003-11-14 JP Rosevear <jpr@ximian.com> * test-source-list.c (on_idle_do_stuff): we only need the uid to remove and peek at stuff * e-source-list.h: update proto types * e-source-list.c (e_source_list_peek_source_by_uid): allow peek by uid only (e_source_list_remove_source_by_uid): allow removal by uid only svn path=/trunk/; revision=23362
* New. (impl_requestCreateItem): New. (tasks_component_class_init): Install.Ettore Perazzoli2003-11-133-2/+43
| | | | | | | | | | | | * gui/tasks-component.c (impl__get_userCreatableItems): New. (impl_requestCreateItem): New. (tasks_component_class_init): Install. * gui/calendar-component.c (impl__get_userCreatableItems): New. (impl_requestCreateItem): New, for now just a stub. (calendar_component_class_init): Install into the EPV. svn path=/trunk/; revision=23327
* (impl__get_userCreatableItems): New.Ettore Perazzoli2003-11-132-2/+64
| | | | | | | (impl_requestCreateItem): New, for now just a stub. (calendar_component_class_init): Install into the EPV. svn path=/trunk/; revision=23320
* Add a component_aliasEttore Perazzoli2003-11-132-0/+9
| | | | | | of "calendar" for the calendar and "tasks" for the tasks. svn path=/trunk/; revision=23315
* Use non-deprecated gtk_menu_shell_append ().Hans Petter Jansson2003-11-132-1/+6
| | | | | | | | | 2003-11-12 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-component.c (add_popup_menu_item): Use non-deprecated gtk_menu_shell_append (). svn path=/trunk/; revision=23306
* Fixes #50808Bolian Yin2003-11-122-0/+16
| | | | | | | | | | 2003-11-11 Bolian Yin <bolian.yin@sun.com> Fixes #50808 * gui/goto.c (goto_dialog): set initial selection to current day. svn path=/trunk/; revision=23295
* use a standard calendar status (backend_cal_opened_online): dittoJP Rosevear2003-11-128-30/+48
| | | | | | | | | | | | | | | | | | | | | | 2003-11-11 JP Rosevear <jpr@ximian.com> * gui/calendar-offline-handler.c (backend_cal_opened_offline): use a standard calendar status (backend_cal_opened_online): ditto * gui/alarm-notify/alarm-queue.c (cal_opened_cb): ditto * gui/gnome-cal.c (client_cal_opened_cb): ditto * gui/e-tasks.c (cal_opened_cb): ditto * gui/e-itip-control.c (default_server_started_cb): ditto * gui/e-cal-model.c (cal_opened_cb): ditto * gui/comp-editor-factory.c (cal_opened_cb): ditto svn path=/trunk/; revision=23286
* load the calendar synchronouslyJP Rosevear2003-11-123-61/+9
| | | | | | | | | | | | 2003-11-11 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (start_calendar_server): load the calendar synchronously * conduits/calendar/calendar-conduit.c (start_calendar_server): ditto svn path=/trunk/; revision=23285
* return boolean not ECalStatus (update_objects): ditto (process_item_fn):JP Rosevear2003-11-113-25/+30
| | | | | | | | | | | 2003-11-10 JP Rosevear <jpr@ximian.com> * importers/icalendar-importer.c (update_single_object): return boolean not ECalStatus (update_objects): ditto (process_item_fn): handle above returns svn path=/trunk/; revision=23280
* use proper change list free function name (post_sync): dittoJP Rosevear2003-11-113-4/+13
| | | | | | | | | | | 2003-11-10 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (e_calendar_context_destroy): use proper change list free function name (post_sync): ditto svn path=/trunk/; revision=23275
* Remove get-vtype check from the completed-tasks query (and don't leak theDan Winship2003-11-114-56/+18
| | | | | | | | | | | | | * gui/e-tasks.c (e_tasks_delete_completed): Remove get-vtype check from the completed-tasks query (and don't leak the sexp string). * gui/e-cal-model.c (update_e_cal_view_for_client): Don't adjust the sexp to use get-vtype. * gui/gnome-cal.c (adjust_e_cal_view_sexp, gnome_calendar_purge): Remove get-vtype check from queries svn path=/trunk/; revision=23263
* remove includes for toplevel libical dirJP Rosevear2003-11-084-4/+8
| | | | | | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * gui/Makefile.am: remove includes for toplevel libical dir * gui/dialogs/Makefile.am: ditto * importers/Makefile.am: ditto svn path=/trunk/; revision=23225
* Shush.JP Rosevear2003-11-073-5/+7
| | | | svn path=/trunk/; revision=23215
* Add forgotten file.JP Rosevear2003-11-071-0/+15
| | | | svn path=/trunk/; revision=23212
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-07164-31396/+3228
| | | | svn path=/trunk/; revision=23206
* fix typoJP Rosevear2003-11-052-8/+5
| | | | | | | | 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-052-0/+13
| | | | | | | | | 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-044-13/+41
| | | | | | | | | | | | | | | | | | | | | | 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
* added more menu items. (delete_calendar_cb): callbacks for new popup menuRodrigo Moya2003-11-042-12/+79
| | | | | | | | | | | | | | | | | | | | | | 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=23181
* add new signal "selected_time_changed" a11y initialization new publicBolian Yin2003-11-0410-39/+89
| | | | | | | | | | | | | | 2003-11-04 Bolian Yin <bolian.yin@sun.com> * gui/e-cal-view.c: add new signal "selected_time_changed" * gui/e-day-view-main-item.c (e_day_view_main_item_class_init): a11y initialization * gui/e-day-view-top-item (e_day_view_top_item_get_day_label): new public function. * gui/e-day-view.c (e_day_view_ensure_rows_visible, e_day_view_update_calendar_selection_time): make static functions public (e_day_view_cursor_key_up, e_day_view_cursor_key_down, e_day_view_cursor_key_left, e_day_view_cursor_key_right): emit "selected_time_changed". svn path=/trunk/; revision=23179
* Append "_2". Likewise. Likewise. Likewise. LikewiseEttore Perazzoli2003-11-046-5/+13
| | | | | | | | | | * gui/e-meeting-model.c (SELECT_NAMES_OAFID): Append "_2". * gui/e-select-names-editable.c (SELECT_NAMES_OAFIID): Likewise. * gui/e-meeting-list-view.c (SELECT_NAMES_OAFID): Likewise. * gui/dialogs/alarm-options.c (SELECT_NAMES_OAFID): Likewise. * gui/dialogs/e-delegate-dialog.c (SELECT_NAMES_OAFID): Likewise svn path=/trunk/; revision=23176
* use "evolution2:config_item" properties instead of "evolution:config_item"Ettore Perazzoli2003-11-042-5/+11
| | | | | | | | use "evolution2:config_item" properties instead of "evolution:config_item" ones. svn path=/trunk/; revision=23172
* Fix for #50387.Harry Lu2003-11-032-1/+12
| | | | | | | | | | | | 2003-11-03 Harry Lu <harry.lu@sun.com> Fix for #50387. * importers/icalendar-importer.c (support_format_fn): Call icalcomponent_is_valid() to check whether the returned icalcomponent is valid. svn path=/trunk/; revision=23165
* Add the webcal source group.Hans Petter Jansson2003-11-017-46/+921
| | | | | | | | | | | | | | | | | | | | 2003-10-31 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-component.c (calendar_component_init): Add the webcal source group. * gui/dialogs/new-calendar.c (print_uri_noproto): Implement. (group_is_remote): Implement. (create_new_source_with_group): Implement webcal case. (new_calendar_dialog): Get optional location from dialog. * gui/dialogs/new-calendar.glade: Add location entry. * pcs/Makefile.am: Build http backend. * pcs/cal-backend-http.[ch]: Add skeleton based on cal-backend-file. svn path=/trunk/; revision=23153
* Add CAL_STATIC_CAPABILITY_NO_THISANDFUTURE andDan Winship2003-11-017-38/+76
| | | | | | | | | | | | | | | | | | | | | | | | * cal-util/cal-util.h: Add CAL_STATIC_CAPABILITY_NO_THISANDFUTURE and CAL_STATIC_CAPABILITY_NO_THISANDPRIOR * gui/dialogs/recur-comp.c (recur_component_dialog): Add a CalClient argument. Use cal_client_get_static_capability to decide whether or not to offer THISANDFUTURE and THISANDPRIOR options * gui/dialogs/comp-editor.c (prompt_to_save_changes, save_cmd, save_close_cmd): Pass a CalClient to recur_component_dialog. * gui/e-day-view.c (e_day_view_finish_long_event_resize, e_day_view_finish_resize, e_day_view_on_editing_stopped, e_day_view_on_top_canvas_drag_data_received, e_day_view_on_main_canvas_drag_data_received): Likewise * gui/e-week-view.c (e_week_view_on_editing_stopped): Likewise * gui/calendar-component.c (impl_createControls): set an exception if we fail, so evo won't crash. svn path=/trunk/; revision=23152
* set up vars and rules for versioning the .server filesJP Rosevear2003-10-313-20/+18
| | | | | | | | | | | | 2003-10-31 JP Rosevear <jpr@ximian.com> * configure.in: set up vars and rules for versioning the .server files * Makefile.am's: use rules for versioning .server file, ensure built files are removed before disting svn path=/trunk/; revision=23149
* fixed mismatched condition in if/else statement.Rodrigo Moya2003-10-311-2/+2
| | | | | | | | | 2003-10-31 Rodrigo Moya <rodrigo@ximian.com> * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): fixed mismatched condition in if/else statement. svn path=/trunk/; revision=23148
* fixed mismatched condition in if/else statement.Rodrigo Moya2003-10-312-2/+7
| | | | | | | | | 2003-10-31 Rodrigo Moya <rodrigo@ximian.com> * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): fixed mismatched condition in if/else statement. svn path=/trunk/; revision=23147
* removed.Rodrigo Moya2003-10-315-25/+31
| | | | | | | | | | | | | | | | | 2003-10-30 Rodrigo Moya <rodrigo@ximian.com> * gui/e-tasks.[ch] (e_tasks_get_cal_client): removed. * gui/tasks-control.c (sensitize_commands): fixed to work correctly with the ECalView's model. (tasks_control_set_property): don't use e_tasks_get_cal_client. * gui/alarm-notify/alarm-notify.c (free_client_hash): new function to remove items from the CalClient's hash table. (alarm_notify_finalize): call free_client_hash() for each item in the hash table. svn path=/trunk/; revision=23136
* use bonobo_main_quit, not gtk_main_quit.Rodrigo Moya2003-10-311-1/+1
| | | | | | | | | | | | | | 2003-10-30 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/notify-main.c (client_die_cb): use bonobo_main_quit, not gtk_main_quit. * gui/alarm-notify/alarm-queue.c (free_client_alarms_cb): callback for freeing ClientAlarms stored in the hash table. (alarm_queue_done): call free_client_alarms_cb() for each opened client. svn path=/trunk/; revision=23135
* use bonobo_main_quit, not gtk_main_quit.Rodrigo Moya2003-10-313-1/+26
| | | | | | | | | | | | | | 2003-10-24 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/notify-main.c (client_die_cb): use bonobo_main_quit, not gtk_main_quit. * gui/alarm-notify/alarm-queue.c (free_client_alarms_cb): callback for freeing ClientAlarms stored in the hash table. (alarm_queue_done): call free_client_alarms_cb() for each opened client. svn path=/trunk/; revision=23134
* removed, since we dont save the file anymore in idle callbacks.Rodrigo Moya2003-10-302-49/+18
| | | | | | | | | | | | | | 2003-10-30 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-file.c (mark_dirty, save_idle): removed, since we dont save the file anymore in idle callbacks. (cal_backend_file_dispose): removed all traces of the idle saving. (check_dup_uid, create_cal, cal_backend_file_add_timezone, cal_backend_file_create_object, cal_backend_file_modify_object, cal_backend_file_remove_object, cal_backend_file_receive_objects): call save() directly instead of mark_dirty(). svn path=/trunk/; revision=23132
* implemented THIS and ALL recurrences cases, blowing away or detachingRodrigo Moya2003-10-302-40/+195
| | | | | | | | | | | | | | | | | | | 2003-10-30 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-file.c (cal_backend_file_modify_object): implemented THIS and ALL recurrences cases, blowing away or detaching recurrences from the main component as required. (get_rid_string): make it return const. (get_rid_timetype): new convenience function for getting libical's recurrence ID from a CalComponent. (cal_backend_file_is_read_only, remove_recurrence_cb, remove_component): fixed warnings. (remove_object_instance_cb): callback to remove the instances from the hash on the THISANDPRIOR and THISANDFUTURE cases. (cal_backend_file_remove_object): replaced mismatched if/else statement with proper management of each of the recurrence cases. svn path=/trunk/; revision=23131
* build new filesJP Rosevear2003-10-305-4/+353
| | | | | | | | | | | | | | | 2003-10-29 JP Rosevear <jpr@ximian.com> * gui/Makefile.am: build new files * gui/dialogs/comp-editor-util.c (date_edit_destroy_cb): unref the config manager (comp_editor_new_date_edit): set up a config manager for the date editor * gui/e-date-edit-config.[hc]: config manager for e-date-edit svn path=/trunk/; revision=23122
* set an exception if we fail, so evo won't crash.Dan Winship2003-10-302-0/+11
| | | | | | | * gui/calendar-component.c (impl_createControls): set an exception if we fail, so evo won't crash. svn path=/trunk/; revision=23121
* no need to update config settings everywhere explicitlyJP Rosevear2003-10-2913-201/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-29 JP Rosevear <jpr@ximian.com> * gui/dialogs/cal-prefs-dialog.c (update_config): no need to update config settings everywhere explicitly * gui/tasks-component.c (update_uris_for_selection): cast the widget * gui/gnome-cal.h: remove proto * gui/gnome-cal.c (setup_widgets): don't update config settings explicitly (gnome_calendar_update_config_settings): kill * gui/e-week-view.c: remove null chars * gui/e-tasks.h: remove proto * gui/e-tasks.c (set_timezone): set the timezone on the client (timezone_changed_cb): changed timezone callback (setup_config): setup config stuff (e_tasks_init): setup config and widgets here (e_tasks_new): construct is dead, no need to track all widgets (cal_opened_cb): set the timezone upon opening (e_tasks_update_all_config_settings): kill * gui/control-factory.c (control_factory_new_control): create the calendar ourselves * gui/calendar-config.c (on_timezone_set): don't update the settings everywhere here, we have config managers now * gui/calendar-component.c (impl_createControls): create the calendar ourselves * gui/calendar-commands.h: remove protos * gui/calendar-commands.c: remove dead functions svn path=/trunk/; revision=23117
* set the format on the cal viewJP Rosevear2003-10-294-2/+41
| | | | | | | | | | | | | | | | 2003-10-29 JP Rosevear <jpr@ximian.com> * gui/e-day-view-config.c (set_twentyfour_hour): set the format on the cal view * gui/e-week-view-config.c (set_twentyfour_hour): ditto * gui/e-cal-list-view-config.c (set_twentyfour_hour): set the 24 hour format on the view (twentyfour_hour_changed_cb): 24 hour format change callback (e_cal_list_view_config_set_view): handle 24 hour format change svn path=/trunk/; revision=23116
* unref config manager (init_widgets): create config manager for theJP Rosevear2003-10-294-111/+38
| | | | | | | | | | | | | | | | | | | | 2003-10-29 JP Rosevear <jpr@ximian.com> * gui/dialogs/recurrence-page.c (recurrence_page_finalize): unref config manager (init_widgets): create config manager for the e-calendar * gui/e-tasks.c (setup_widgets): create config manager for the table view (e_tasks_destroy): unref config manager (e_tasks_open): return FALSE not NULL (e_tasks_update_all_config_settings): don't configure the calendar table here, we have a manager * gui/calendar-config.c: remove dead config functions (handled by config managers now) svn path=/trunk/; revision=23115
* set the timezone for all clients (timezone_changed_cb): callback forJP Rosevear2003-10-2919-64/+1537
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-29 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (set_timezone): set the timezone for all clients (timezone_changed_cb): callback for changes (setup_config): setup the configuration (setup_widgets): setup up configuration managers for the list view, task list and date navigator (gnome_calendar_init): setup config (gnome_calendar_destroy): destroy configuration managers and notifications (gnome_calendar_update_config_settings): remove dead bits * gui/e-mini-calendar-config.[hc]: manage configuration of an e-calendar * gui/e-day-view-config.h: remove extraneous comment, type the parent class correctly * gui/e-week-view-config.h: ditto * gui/e-day-view-config.c (e_day_view_config_class_init): type the class correctly (set_timezone): set timezone (timezone_changed_cb): timezone changed callback (e_day_view_config_set_view): track timezone changes * gui/e-week-view-config.c: ditto * gui/e-cell-date-edit-config.[hc]: manage configuration of a date edit cell * gui/e-calendar-table-config.[hc]: manage configuration of a e-calendar-table * gui/e-cal-list-view.c (get_current_time_cb): use the view timezone to compute * gui/e-cal-list-view-config.[hc]: manage configuration of a list view * gui/calendar-config.h: update protos * gui/calendar-config.c (calendar_config_add_notification_timezone): notify of timezone change (calendar_config_add_notification_dnav_show_week_no): notify of show week number setting change * gui/calendar-component.c (calendar_component_peek): remove bad comma * gui/Makefile.am: build new config classes svn path=/trunk/; revision=23114
* fixed typo in menu item label.Rodrigo Moya2003-10-2915-91/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-29 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-component.c (fill_popup_menu_callback): fixed typo in menu item label. * gui/e-cal-model.[ch] (e_cal_model_get_use_24_hour_format): new function. * gui/e-cal-view.[ch]: no need to keep the 'use_24_hour' setting, it's already in the model. (e_cal_view_get_use_24_hour_format, e_cal_view_set_use_24_hour_format): new functions. * gui/e-day-view.[ch] (e_day_view_get_24_hour_format, (e_day_view_set_24_hour_format): removed. (e_day_view_convert_time_to_display, e_day_view_update_event_label, e_day_view_get_time_string_width): use the ECalView's function to get the 24 hour format. * gui/e-week-view.[ch] (e_week_view_get_24_hour_format, e_week_view_set_24_hour_format): removed. (e_week_view_convert_time_to_display, e_week_view_get_time_string_width): use the ECalView's function to get the 24 hour format. * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): * gui/e-day-view-time-item.c (e_day_view_time_item_draw): * gui/e-week-view-event-item.c (e_week_view_draw_time): don't use the view's use_24_hour_format, but the ECalView method. svn path=/trunk/; revision=23113
* connect to "fill_popup_menu" on the ESourceSelector.Rodrigo Moya2003-10-292-1/+9
| | | | | | | | | | | | | 2003-10-28 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-component.c (impl_createControls): connect to "fill_popup_menu" on the ESourceSelector. (fill_popup_menu_callback): add popup menu items here. (add_popup_menu_item): new function to add items to the popup menu. (new_calendar_cb): callbacks for the popup menu items. svn path=/trunk/; revision=23108
* connect to "fill_popup_menu" on the ESourceSelector.Rodrigo Moya2003-10-292-0/+44
| | | | | | | | | | | | 2003-10-28 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-component.c (impl_createControls): connect to "fill_popup_menu" on the ESourceSelector. (fill_popup_menu_callback): add popup menu items here. (add_popup_menu_item): new function to add items to the popup menu. svn path=/trunk/; revision=23107
* no need to keep the timezone here, it is already stored in the model.Rodrigo Moya2003-10-283-22/+24
| | | | | | | | | | | | 2003-10-28 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-view.c: no need to keep the timezone here, it is already stored in the model. (e_cal_view_get_timezone): call e_cal_model_get_timezone(). (e_cal_view_set_timezone): call e_cal_model_set_timezone(). (e_cal_view_new_appointment_for): use the model's timezone. svn path=/trunk/; revision=23103
* New; tell each query about a created/modified/removed object.Dan Winship2003-10-288-118/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | * pcs/cal-backend.c (cal_backend_notify_object_created, cal_backend_notify_object_modified, cal_backend_notify_object_removed): New; tell each query about a created/modified/removed object. * pcs/cal.c (cal_notify_object_created): Use cal_backend_notify_object_created. (cal_notify_object_modified, cal_notify_object_removed): Likewise for modified/removed (cal_notify_objects_received): we need both the before and after forms for the modified objects so they can be resolved as adds/modifies/removes per-query. But the caller can just call the cal_backend_* routines for each object anyway, so just remove the created/modified/removed lists. * pcs/cal-backend-sync.c (cal_backend_sync_receive_objects): Remove created/modified/removed list arguments. (_cal_backend_receive_objects): Likewise. * pcs/cal-backend-file.c (cal_backend_file_receive_objects): Remove created/modified/removed list arguments. Replace the one use of *removed with a call to cal_backend_notify_object_removed. svn path=/trunk/; revision=23102
* store config objects as well (gnome_calendar_set_default_uri): returnJP Rosevear2003-10-2812-180/+1158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-27 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (setup_widgets): store config objects as well (gnome_calendar_set_default_uri): return FALSE if the pre-condition fails (gnome_calendar_update_config_settings): remove settings that are now handled by the config objects * gui/e-week-view.c (e_week_view_set_compress_weekend): queue a draw * gui/e-itip-control.c (start_default_server): comment out * gui/e-day-view-config.[hc]: a class to track config changes of interest to day views * gui/e-week-view.[hc]: ditto for week views * gui/calendar-config.h: add protos * gui/calendar-config.c: use the #defines for the keys and add notification routines * gui/calendar-config-keys.h: a list of defines for gconf keys * gui/Makefile.am: build new files svn path=/trunk/; revision=23094
* changed fill_component_from_model virtual method to get an ETableModel,Rodrigo Moya2003-10-275-20/+32
| | | | | | | | | | | | | | | | | 2003-10-27 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-model.h: changed fill_component_from_model virtual method to get an ETableModel, not an ECalModel. * gui/e-cal-model.c (ecm_append_row): the source model sent from ETable is an ETableModel, not an ECalModel. * gui/e-cal-model-calendar.c (ecmc_fill_component_from_model): get an ETableModel for the 'source_model' argument. * gui/e-cal-model-tasks.c (ecmt_fill_component_from_model): ditto. svn path=/trunk/; revision=23082
* pass FALSE as the 'only_if_exists' parameter, so that the calendar getsRodrigo Moya2003-10-272-1/+7
| | | | | | | | | | 2003-10-27 Rodrigo Moya <rodrigo@ximian.com> * gui/tasks-component.c (add_uri_for_source): pass FALSE as the 'only_if_exists' parameter, so that the calendar gets created when it still does not exist. svn path=/trunk/; revision=23080
* initialize private structure on TasksComponent.Rodrigo Moya2003-10-252-0/+7
| | | | | | | | | 2003-10-24 Rodrigo Moya <rodrigo@ximian.com> * gui/tasks-component.c (tasks_component_init): initialize private structure on TasksComponent. svn path=/trunk/; revision=23078
* removed repeated initialization. (calendar_component_peek): use G_STRLOCRodrigo Moya2003-10-259-12/+455
| | | | | | | | | | | | | | | | | | | | | 2003-10-24 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-component.c (calendar_component_class_init): removed repeated initialization. (calendar_component_peek): use G_STRLOC for g_warning's. * gui/tsaks-control.[ch] (tasks_control_activate, tasks_control_deactivate): made these 2 functions public. * gui/tasks-component.[ch]: implementation of the tasks component. * gui/Makefile.am: * gui/GNOME_Evolution_Calendar.server.in.in: added tasks component. * gui/main.c: ditto. (factory): added code to create the tasks component when requested. svn path=/trunk/; revision=23065
* build libpcs.la and libpcsfile.la instead of just .a. (libpcs_la_LIBADD):Dan Winship2003-10-242-4/+16
| | | | | | | | | * pcs/Makefile.am: build libpcs.la and libpcsfile.la instead of just .a. (libpcs_la_LIBADD): depend on libcal-util.la and libeutil.la (libpcsfile_la_LIBADD): depend on libpcs.la svn path=/trunk/; revision=23061
* Remove type argDan Winship2003-10-2412-28/+46
| | | | | | | | | | | | | | | | | | | | | | * cal-client/cal-client.c (cal_client_get_changes): Remove type arg * conduits/calendar/calendar-conduit.c (pre_sync, post_sync): Update for that * conduits/todo/todo-conduit.c (pre_sync, post_sync): Likewise * idl/evolution-calendar.idl (getChanges): Remove type arg. * pcs/cal.c (impl_Cal_getChanges): Likewise * pcs/cal-backend.c (cal_backend_get_changes): Likewise * pcs/cal-backend-sync.c (cal_backend_sync_get_changes): Likewise * pcs/cal-backend-file.c (cal_backend_file_get_changes): Update for that svn path=/trunk/; revision=23059
* new functions for individual instances management.Rodrigo Moya2003-10-245-16/+297
| | | | | | | | | | | | | | | | | | | 2003-10-24 Rodrigo Moya <rodrigo@ximian.com> * cal-util/cal-util.[ch] (cal_util_construct_instance, cal_util_remove_instances): new functions for individual instances management. * pcs/cal-backend-file.c (cal_backend_file_get_object): if we dont have a recurrence in our hash table, generate one for the specified recurrence ID. (match_recurrence_sexp): new function to match recurrences on regular expresessions. (match_object_sexp): call match_recurrence_sexp() for all recurrences. (cal_backend_file_modify_object): handle mod_types. (cal_backend_file_remove_object): handle mod_types. svn path=/trunk/; revision=23058
* update protosJP Rosevear2003-10-244-53/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-24 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.h: update protos * gui/gnome-cal.c (gnome_calendar_set_default_uri): set the default client based on uri * gui/calendar-component.c (add_uri_for_source): rename from load_uri_for_source and take a calendar (remove_uri_for_source): utility routine to remove the source's uri from the calendar (is_in_selection): checks to see if the uid of the given source matches any of those in the given selection (update_uris_for_selection): remove any uris no longer in the selection, add those that still exist (source_selection_changed_callback): call above (primary_source_selection_changed_callback): we have the calendar easily now; set the default by uri (control_activate_cb): handle activation and de-activation (impl_createControls): create the calendar control ourselves so we have access to the calendar (impl_dispose): release the source selection svn path=/trunk/; revision=23057
* if the component received is an instance, add it to the recurrences hashRodrigo Moya2003-10-243-24/+117
| | | | | | | | | | | | | | | | | | | | | | | | 2003-10-23 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-file.c (add_component): if the component received is an instance, add it to the recurrences hash table. (free_recurrence): callback for g_hash_table_foreach() to free the recurrences in the CalBackendFileObject structure. (free_object): call free_recurrence for each recurrence. (remove_recurrence_cb): g_hash_table_foreach() callback to remove recurrences from the calendar. (remove_component): remove all recurrences. (cal_backend_file_open): check write access on the file, and set read_only flag appropriately. (cal_backend_file_is_read_only): return the private flag. (cal_backend_file_init): initialize read_only flag. (cal_backend_file_get_object): deal with recurrences. * gui/alarm-notify/notify-main.c (main): unref the alarm notification service when terminating. (client_die_cb): call bonobo_main_quit instead of gtk_main_quit. svn path=/trunk/; revision=23055
* just uses the views array and the current view type (setup_widgets): dittoJP Rosevear2003-10-243-64/+37
| | | | | | | | | | | | | | 2003-10-23 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_get_current_view_widget): just uses the views array and the current view type (setup_widgets): ditto (set_view): ditto (backend_died_cb): ditto (gnome_calendar_get_calendar_model): ditto (gnome_calendar_update_config_settings): ditto svn path=/trunk/; revision=23054
* accept also text/calendar for D&D.Rodrigo Moya2003-10-246-7/+12
| | | | | | | | 2003-10-23 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.c: accept also text/calendar for D&D. svn path=/trunk/; revision=23046
* use the internal client list to create the queriesJP Rosevear2003-10-241-41/+38
| | | | | | | | | | | | | | | | | 2003-10-23 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (update_query): use the internal client list to create the queries (gnome_calendar_destroy): use the internal client list to disconnect signal handlers (gnome_calendar_add_event_uri): add the client to the internal list (gnome_calendar_remove_event_uri): remove the client from the internal list and lookup the client (gnome_calendar_update_config_settings): use the internal client list to update the config settings svn path=/trunk/; revision=23045
* fix typo (e_day_view_on_main_canvas_drag_data_received): fix C99 issue,JP Rosevear2003-10-242-3/+23
| | | | | | | | | | | 003-10-23 JP Rosevear <jpr@ximian.com> * gui/e-day-view.c (e_day_view_on_top_canvas_drag_data_received): fix typo (e_day_view_on_main_canvas_drag_data_received): fix C99 issue, fix typo svn path=/trunk/; revision=23044
* remove and free op before return.Harry Lu2003-10-247-57/+276
| | | | | | | | | | | | | | | | | | | | | | 2003-10-23 Harry Lu <harry.lu@sun.com> * cal-client/cal-client.c: (cal_client_get_timezone): remove and free op before return. * gui/e-cal-view.c (e_cal_view_add_event): modified from selection_received_add_event() so that it call be called out of e-cal-view.c. (selection_received): modified to call e_cal_view_add_event(). * gui/e-cal-view.h: add declaration for e_cal_view_add_event(). * gui/e-day-view.c (e_day_view_on_drag_data_get): Provide a icalcomponent for both TARGET_CALENDAR_EVENT and TARGET_VCALENDAR. (e_day_view_on_top_canvas_drag_data_received): If dragging between different windows, make it works like a copy and paste. (e_day_view_on_main_canvas_drag_data_received): ditto. svn path=/trunk/; revision=23041
* update g_date calls to non-deprecated callsJP Rosevear2003-10-238-71/+61
| | | | | | | | | | | | | | | | | | | | 2003-10-23 JP Rosevear <jpr@ximian.com> * cal-util/cal-recur.c: update g_date calls to non-deprecated calls * cal-util/Makefile.am: turn off deprecated funcs * cal-client/Makefile.am: turn off deprecated funcs * cal-client/cal-client.c (cal_client_get_error_message): add OK message * pcs/cal-backend.[hc]: remove dead funcs * pcs/query.c: tidy headers svn path=/trunk/; revision=23035
* Fix c/p typo - call removed instead of modifyJP Rosevear2003-10-232-1/+6
| | | | | | | | | 2003-10-23 JP Rosevear <jpr@ximian.com> * pcs/query.c (query_notify_objects_removed_1): Fix c/p typo - call removed instead of modify svn path=/trunk/; revision=23033
* guard against irrelevant args (ie if there was an error)JP Rosevear2003-10-238-20/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-23 JP Rosevear <jpr@ximian.com> * pcs/cal.c (cal_notify_object_modified): guard against irrelevant args (ie if there was an error) (cal_notify_object_removed): ditto (cal_notify_timezone_added): ditto * pcs/cal-backend-sync.c (_cal_backend_is_read_only): init value to something known (_cal_backend_get_cal_address): ditto (_cal_backend_get_alarm_email_address): ditto (_cal_backend_get_ldap_attribute): ditto (_cal_backend_get_static_capabilities): ditto (_cal_backend_modify_object): ditto (_cal_backend_remove_object): ditto (_cal_backend_get_object_list): ditto 2003-10-22 JP Rosevear <jpr@ximian.com> * gui/e-cal-list-view.c (e_cal_list_view_new): create a model and pass it as an arg during creation * gui/e-day-view.c (e_day_view_new): unref the model * gui/e-week-view.c (e_week_view_new): ditto 2003-10-22 JP Rosevear <jpr@ximian.com> * cal-client/cal-client.c (cal_client_get_object): only change to invalid object error code if we got the object but couldn't parse it, and only check for timezones if we had success * gui/comp-util.c (cal_comp_is_on_server): don't throw a warning if the object simply does not exist svn path=/trunk/; revision=23032
* connect also to ETableModel's "model_cell_changed" signal.Rodrigo Moya2003-10-233-2/+38
| | | | | | | | | | | | | | 2003-10-23 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-view.c (e_cal_view_init): connect also to ETableModel's "model_cell_changed" signal. (e_cal_view_set_model): likewise. (model_cell_changed_cb): callback for "model_cell_changed". (e_cal_view_destroy): use g_signal_handlers_disconnect_matched instead of g_signal_handlers_disconnect_by_func, so that all handlers are disconnected. svn path=/trunk/; revision=23029
* new function to remove calendars from the views.Rodrigo Moya2003-10-233-0/+43
| | | | | | | | | 2003-10-22 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.[ch] (gnome_calendar_remove_event_uri): new function to remove calendars from the views. svn path=/trunk/; revision=23027
* Add an "evolution:button_icon" attribute.Ettore Perazzoli2003-10-232-0/+6
| | | | svn path=/trunk/; revision=23025
* Add an "evoution:button_sort_order" attribute.Ettore Perazzoli2003-10-232-0/+6
| | | | | | | Add an "evoution:button_sort_order" attribute. svn path=/trunk/; revision=23015
* Make the scrolled window have a GTK_SHADOW_IN shadow. Likewise.Ettore Perazzoli2003-10-233-0/+9
| | | | | | | | * gui/calendar-component.c (impl_createControls): Make the scrolled window have a GTK_SHADOW_IN shadow. * gui/dialogs/meeting-page.c (meeting_page_construct): Likewise. svn path=/trunk/; revision=22994
* (impl_createControls): Set theEttore Perazzoli2003-10-232-0/+8
| | | | | | | scrollbar policy to "automatic" for both the horizontal and vertical scrollbars around the source selector. svn path=/trunk/; revision=22991
* Add an "evolution:button_label" property on the component for use in theEttore Perazzoli2003-10-232-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/GNOME_Evolution_Addressbook.server.in.in: Add an "evolution:button_label" property on the component for use in the shell. * gui/GNOME_Evolution_Calendar.server.in.in: Add an "evolution:button_label" property on the component for use in the shell. * GNOME_Evolution_Mail.server.in.in: Add an "evolution:button_label" attribute to the Component for use in the shell. * e-shell-window.c (struct _ComponentView): New member button_id. (struct _EShellWindowPrivate): New member sidebar. (component_new_new): Get a button_id arg. (component_button_clicked_callback): Removed. (sidebar_button_selected_callback): New. (create_component_button): Removed. (setup_widget): Set up the sidebar using ESidebar and hook up its "button_selected" signal. Also get the component name from a property on the server info. (e_shell_window_new): Use BASE_VERSION for the version in the app name instead of hardcoding "1.5". * e-sidebar.c: New. * e-sidebar.h: New. svn path=/trunk/; revision=22988
* Fix typo in libcal_client_la_SOURCESRodney Dawes2003-10-222-1/+5
| | | | | | | | 2003-10-21 Rodney Dawes <dobey@ximian.com> * cal-client/Makefile.am: Fix typo in libcal_client_la_SOURCES svn path=/trunk/; revision=22972
* Merge new-ui-branch into the trunk.Ettore Perazzoli2003-10-2244-4926/+5420
| | | | svn path=/trunk/; revision=22966
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-2263-5005/+9850
| | | | svn path=/trunk/; revision=22965
* Fixed for libical changes.Jeffrey Stedfast2003-10-182-2/+3
| | | | | | | | | | 2003-10-17 Jeffrey Stedfast <fejj@ximian.com> * conduits/calendar/Makefile.am: Fixed for libical changes. * conduits/todo/Makefile.am: Same. svn path=/trunk/; revision=22930
* Fixed for libical changes.Jeffrey Stedfast2003-10-172-2/+5
| | | | | | | | 2003-10-17 Jeffrey Stedfast <fejj@ximian.com> * conduits/calendar/Makefile.am: Fixed for libical changes. svn path=/trunk/; revision=22924
* Add e-cal-list-view.etspec. (libevolution_calendar_la_SOURCES): AddHans Petter Jansson2003-10-1011-11/+805
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-10 Hans Petter Jansson <hpj@ximian.com> * calendar/gui/Makefile.am (etspec_DATA): Add e-cal-list-view.etspec. (libevolution_calendar_la_SOURCES): Add e-cal-list-view.[ch]. * calendar/gui/calendar-commands.c (show_list_view_clicked): Implement. (calendar_get_text_for_folder_bar_label): Add case for list view. Use month case and tweak it so it doesn't show "%d - %d" if the time span contains only one day. (verbs): Add list view. (pixmaps): Add list view. * calendar/gui/calendar-view-factory.c (calendar_view_factory_get_title): Add list view case. (calendar_view_factory_get_type_code): Add list view case. * calendar/gui/control-factory.c (get_prop): Add list view case. * calendar/gui/e-cal-model.c (get_classification): Fix to conform to updated libical. (ecm_set_value_at): Add missing break statements. (ecm_get_color_for_component): Add braces for clarity. * calendar/gui/gnome-cal.c (gnome_calendar_get_current_view_widget): Add list view case. (get_focus_location): Add list view case. (connect_list_view_focus): Implement. (setup_widgets): Set up list view. (gnome_calendar_direction): Add list view case. (set_view): Add list view case. (gnome_calendar_setup_view_menus): Add list view factory. (gnome_calendar_construct): Account for list view. (gnome_calendar_update_config_settings): Account for list view. (get_days_shown): Implement list view case. * calendar/gui/gnome-cal.h (GnomeCalendarViewType): Add list view. * calendar/gui/e-cal-list-view.[ch]: Implement ECalListView, subclassing ECalView. * ui/evolution-calendar.xml: Add calendar list view task button. * art/listview.xpm: Add calendar list view icon. svn path=/trunk/; revision=22850
* INCLUDE path fixes for changes made to libical build.Jeffrey Stedfast2003-10-1021-29/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-09 Jeffrey Stedfast <fejj@ximian.com> * cal-client/Makefile.am: INCLUDE path fixes for changes made to libical build. * cal-util/Makefile.am: INCLUDE path fixes for changes made to libical build. * cal-util/*.[c,h]: #include <libical/ical.h> instead of <ical.h> * gui/Makefile.am: INCLUDE path fixes for changes made to libical build. * gui/*.[c,h]: #include <libical/ical.h> instead of <ical.h> * gui/alarm-notify/Makefile.am: INCLUDE path fixes for changes made to libical build. * gui/alarm-notify/config-data.h: #include <libical/ical.h> instead of <ical.h> * gui/dialogs/Makefile.am: INCLUDE path fixes for changes made to libical build. * gui/dialogs/comp-editor-util.c: #include <libical/ical.h> instead of <ical.h> * gui/dialogs/e-delegate-dialog.c: #include <libical/ical.h> instead of <ical.h> * importers/Makefile.am: INCLUDE path fixes for changes made to libical build. * pcs/Makefile.am: INCLUDE path fixes for changes made to libical build. * pcs/cal.c: #include <libical/ical.h> instead of <ical.h> svn path=/trunk/; revision=22845
* Make repeat-quantity and repeat-value of alarm option dialog numeric only.Harry Lu2003-10-083-3/+10
| | | | | | | | | | | 2003-10-08 Harry Lu <harry.lu@sun.com> * gui/dialogs/alarm-options.glade: Make repeat-quantity and repeat-value of alarm option dialog numeric only. * gui/dialogs/task-details-page.glade: Make percent-complete of task details dialog numeric only. svn path=/trunk/; revision=22818
* new VOID:STRING,STRING,STRING build the new view/store/renderer/editableMike Kestner2003-10-0124-2290/+2712
| | | | | | | | | | | | | | | | | | | | | 2003-09-30 Mike Kestner <mkestner@ximian.com> * cal-util/cal-util-marshal.list : new VOID:STRING,STRING,STRING * gui/Makefile.am : build the new view/store/renderer/editable * gui/e-select-names-renderer.* : new completion cell renderer * gui/e-select-names-editable.* : new completion cell editable * gui/e-meeting-model.* : killed. code reused in list-view/store * gui/e-meeting-store.* : port of EMeetingModel to GtkTreeModel * gui/e-meeting-list-view.* : GtkTreeView subclass for attendee lists * gui/e-meeting-time-sel.c : Use the new store/view * gui/e-meeting-time-sel-item.c : Use the new store/view * gui/dialogs/Makefile.am : don't install the etspec anymore. * gui/dialogs/event-editor.c : Use the new store/view. * gui/dialogs/meeting-page.c : Use the new store/view. * gui/dialogs/shedule-page.c : Use the new store/view. * gui/dialogs/task-editor.c : Use the new store/view. svn path=/trunk/; revision=22774
* link to libical-evolutionJP Rosevear2003-09-303-2/+8
| | | | | | | | | | 2003-09-29 JP Rosevear <jpr@ximian.com> * conduits/todo/Makefile.am: link to libical-evolution * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=22752
* libical.la -> libical-evolution.laHans Petter Jansson2003-09-223-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-22 Hans Petter Jansson <hpj@ximian.com> * calendar/cal-util/Makefile.am (libical_util_la_LIBADD): libical.la -> libical-evolution.la * calendar/importers/Makefile.am (libevolution_calendar_importers_la_LIBADD): libicalvcal.la -> libicalvcal-evolution.la * shell/Makefile.am (evolution_LDADD): libical.la -> libical-evolution.la * libical/configure.in: Require flex 2.5.31 and add a test for it. Rename WITH_CXX conditional to WITH_CXX_BINDINGS. * libical/examples/Makefile.am (doesnothing_LDADD): Add -evolution to lib names. * libical/src/test/Makefile.am: WITH_CXX -> WITH_CXX_BINDINGS. Add -evolution to lib names. * libical/src/test/regression.c (main): WITH_CXX -> WITH_CXX_BINDINGS. * libical/src/libicalcap/Makefile.am: Add -evolution to lib names. Install to Evolution's priv dirs. * libical/src/libicalvcal/Makefile.am: Ditto. * libical/src/libical/Makefile.am: WITH_CXX -> WITH_CXX_BINDINGS. Add -evolution to lib names. Install in privlibdir. Install includes to $(privincludedir)/libical. * libical/src/libicalss/Makefile.am: Ditto. * libical/src/libicalss/icalsslexer.l: Replace option reentrant-bison with reentrant and bison-bridge. Use new Flex variable names. * libical/src/libical/icallexer.l: * libical/src/libical/icalyacc.y: * libical/src/libicalss/icalsslexer.c: * libical/src/libicalss/icalssyacc.c: * libical/src/libicalss/icalssyacc.h: Removed from repository. svn path=/trunk/; revision=22633
* removed libwombat reference.Rodrigo Moya2003-09-172-1/+4
| | | | | | | | 2003-09-16 Rodrigo Moya <rodrigo@ximian.com> * conduits/todo/Makefile.am: removed libwombat reference. svn path=/trunk/; revision=22587
* change last_notification_time's type from string to int.Harry Lu2003-09-152-1/+6
| | | | | | | | | 2003-09-15 Harry Lu <harry.lu@sun.com> * gui/apps_evolution_calendar.schemas: change last_notification_time's type from string to int. svn path=/trunk/; revision=22569
* make jump button focusable (e_week_view_on_jump_button_event): key_pressBolian Yin2003-09-123-20/+119
| | | | | | | | | | | 2003-09-12 Bolian Yin <bolian.yin@sun.com> * e-week-view.c (e_week_view_focus): make jump button focusable (e_week_view_on_jump_button_event): key_press and focus event for jump button (e_week_view_jump_to_button_item): new function, jump to the day view. (e_week_view_is_jump_button_visible): new function. svn path=/trunk/; revision=22546
* Import new libical from mainline HEAD and make appropriate changes toHans Petter2003-09-129-60/+129
| | | | | | Evolution. svn path=/trunk/; revision=22538
* Remove libcal-util-static.laDan Winship2003-09-016-40/+26
| | | | | | | | | | | | | | | | | | | * cal-util/Makefile.am (privlib_LTLIBRARIES): Remove libcal-util-static.la * cal-client/Makefile.am (noinst_LTLIBRARIES): Remove libcal-client-static.la * conduits/calendar/Makefile.am (libecalendar_conduit_la_LIBADD): use non-static libraries. The static ones were only needed for libtool 1.3. * conduits/todo/Makefile.am (libetodo_conduit_la_LIBADD): Likewise * gui/Makefile.am (IDL_GENERATED): Don't compile the calendar idl here. It's already in libcal-client. svn path=/trunk/; revision=22430
* Statically link with wombat. Fix ETodo conduit. (Mdk bug #5348)Frédéric Crozat2003-09-012-0/+7
| | | | | | | | * conduits/todo/Makefile.am: Statically link with wombat. Fix ETodo conduit. (Mdk bug #5348) svn path=/trunk/; revision=22429
* Use "ctrl+shift+alt+Up/Down" to change the end time of the editing event.Andrew Wu2003-09-012-0/+90
| | | | | | | | | | 2003-09-01 Andrew Wu <Yang.Wu@sun.com> * gui/e-day-view.c: (e_day_view_change_event_end_time_up): (e_day_view_change_event_end_time_down): Use "ctrl+shift+alt+Up/Down" to change the end time of the editing event. svn path=/trunk/; revision=22428
* Use images that come with Evolution instead of unreleased stock, for now.Hans Petter Jansson2003-08-292-5/+14
| | | | | | | | | | 2003-08-28 Hans Petter Jansson <hpj@ximian.com> * gui/alarm-notify/alarm-queue.c (tray_icon_blink_cb) (display_notification): Use images that come with Evolution instead of unreleased stock, for now. svn path=/trunk/; revision=22409
* Added alarm-notify utils.Hans Petter Jansson2003-08-296-95/+303
| | | | | | | | | | | | | | | | | | | | | | | 2003-08-28 Hans Petter Jansson <hpj@ximian.com> * gui/alarm-notify/util.[ch]: Added alarm-notify utils. * gui/alarm-notify/Makefile.am: Added alarm-notify utils. * gui/alarm-notify/alarm-notify-dialog.c (timet_to_str_with_zone): Move to util.c. * gui/alarm-notify/alarm-queue.c (notify_dialog_cb) (on_dialog_removed_cb) (notify_dialog_cb) (tray_icon_destroyed_cb) (tray_icon_clicked_cb) (tray_icon_blink_cb) (display_notification): Add Rodrigo Moya's code for tray icon notification of appointments, with some fixes and blink code by me. Requires HEAD gnome-icon-theme for now. svn path=/trunk/; revision=22406
* Fixes #29032.Hans Petter Jansson2003-08-282-1/+12
| | | | | | | | | | | | 2003-08-27 Hans Petter Jansson <hpj@ximian.com> Fixes #29032. * gui/dialogs/task-details-page.c (status_changed): When task status is set to "In Progress", set percent complete to 50% only if it was previously set to 0% or 100%. svn path=/trunk/; revision=22395
* gui/Makefile.am use libevolution-calendar-a11y instead ofBolian Yin2003-08-272-2/+6
| | | | | | | | 2003-08-27 Bolian Yin <bolian.yin@sun.com> * gui/Makefile.am use libevolution-calendar-a11y instead of libevolution-a11y. svn path=/trunk/; revision=22385
* ** Fixes #47863.Jack Jia2003-08-271-0/+7
| | | | | | | | | | | 2003-08-27 Jack Jia <jack.jia@sun.com> ** Fixes #47863. * gui/alarm-notify/alarm-notify.c (AlarmNotify_removeCalendar): set the initial value of lc_ptr and orig_str_ptr to NULL to avoid crash. svn path=/trunk/; revision=22381
* ** Fixes #47863.Jack Jia2003-08-271-0/+3
| | | | | | | | | | | 2003-08-26 Jack Jia <jack.jia@sun.com> ** Fixes #47863. * gui/alarm-notify/alarm-notify.c (AlarmNotify_removeCalendar): set the initial value of lc_ptr and orig_str_ptr to NULL to avoid crash. svn path=/trunk/; revision=22380
* Ensure we get UTF-8 strings from gettext.Frédéric Crozat2003-08-222-0/+6
| | | | | | | * gui/alarm-notify/notify-main.c: (main): Ensure we get UTF-8 strings from gettext. svn path=/trunk/; revision=22334
* Fixes #47779Bolian Yin2003-08-222-2/+8
| | | | | | | | | | 2003-08-22 Bolian Yin <bolian.yin@sun.com> Fixes #47779 * gnome-cal.c (gnome_calendar_get_visible_time_range): fix the return value bug. svn path=/trunk/; revision=22331
* use a 'char **' for the 'error_msg' argument, instead of a fixed sizeRodrigo Moya2003-08-224-6/+15
| | | | | | | | | | | | 2003-08-21 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.[ch] (cal_client_send_object): use a 'char **' for the 'error_msg' argument, instead of a fixed size string. * gui/itip-utils.c (comp_server_send): pass the correct parameter to cal_client_send_object. svn path=/trunk/; revision=22326
* Rename to start_default_server_async () and don't run a nested main loop.Hans Petter Jansson2003-08-212-46/+85
| | | | | | | | | | | | | | 2002-08-20 Hans Petter Jansson <hpj@ximian.com> * gui/e-itip-control.c (start_defalt_server): Rename to start_default_server_async () and don't run a nested main loop. Let the caller deal with the client object and signals. (default_server_started_cb): Implement. Async signal handler for 'cal_opened' signal, does the embedding. (object_requested_cb): Rewritten to work asynchronously, and finish the embedding when default_server_started_cb() is called. svn path=/trunk/; revision=22317
* new function to set icons on the popup menu items.Rodrigo Moya2003-08-202-1/+36
| | | | | | | | | | 2003-08-20 Rodrigo Moya <rodrigo@ximian.com> * gui/e-calendar-table.c (setup_popup_icons): new function to set icons on the popup menu items. (e_calendar_table_show_popup_menu): call setup_popup_icons. svn path=/trunk/; revision=22311
* set more icons for the popup menu.Rodrigo Moya2003-08-203-2/+59
| | | | | | | | | 2003-08-20 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-view.c (setup_popup_icons): set more icons for the popup menu. svn path=/trunk/; revision=22310
* Merged from calendar-views-with-model branchRodrigo Moya2003-08-2026-1316/+1326
| | | | svn path=/trunk/; revision=22308
* Merged from calendar-views-with-model branchRodrigo Moya2003-08-202-0/+339
| | | | svn path=/trunk/; revision=22307
* Add a11y dependency. gui/calendar-commands.cBolian Yin2003-08-2014-22/+169
| | | | | | | | | | | | | | | | | | | | | | | 2003-08-20 Bolian Yin <bolian.yin@sun.com> * gui/Makefile.am : Add a11y dependency. * gui/calendar-commands.c (calendar_get_text_for_folder_bar_label) * gui/e-cal-view.c: Add two new events: "event_changed" and "event_added" * gui/e-day-view.c (e_day_view_class_init): init a11y. (e_day_view_find_event_from_item): make it public from private (e_day_view_update_event_cb): emit "event_changed" signal (e_day_view_reshape_day_event): emit "event_added" signal (e_day_view_reshape_long_event): emit "event_added" signal * gui/e-week-view.c (e_week_view_class_init): init a11y. (e_week_view_find_event_from_item): make it public from private (e_week_view_update_event_cb): emit "event_changed" signal (e_week_view_reshape_event_span): emit "event_added" signal * gui/gnome-cal.c (gnome_calendar_class_init): init a11y. (gnome_calendar_get_e_calendar_widget), (gnome_calendar_get_search_bar_widget), (gnome_calendar_get_view_notebook_widget): new functions svn path=/trunk/; revision=22303
* Chain. Prevent double unrefs. (impl_finalize): Chain.Hans Petter Jansson2003-08-147-11/+56
| | | | | | | | | | | | | | | | | | | | | 2003-08-12 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-offline-handler.c (impl_dispose): Chain. Prevent double unrefs. (impl_finalize): Chain. * gui/e-alarm-list.c (finalize): Chain. * gui/e-comp-editor-registry.c (destroy): Chain. Prevent double frees. (editor_destroy_cb): Don't crash if we get the destroy signal twice. * gui/e-date-time-list.c (e_date_time_list_finalize): Chain. * gui/e-meeting-attendee.c (finalize): Chain. * gui/e-meeting-model.c (finalize): Chain. svn path=/trunk/; revision=22228
* In DayView, Shift+Home, Change the duration to the time that begins theAndrew Wu2003-08-132-0/+103
| | | | | | | | | | | | | | 2003-08-12 Andrew Wu <Yang.Wu@sun.com> * gui/e-day-view.c (e_day_view_change_duration_to_start_of_work_day): In DayView, Shift+Home, Change the duration to the time that begins the current work day. (e_day_view_change_duration_to_end_of_work_day): In DayView, Shift+End, Change the duration to the time that ends the current work day svn path=/trunk/; revision=22202
* Add destroy chaining.Hans Petter Jansson2003-08-132-7/+13
| | | | | | | | | | 2003-08-12 Hans Petter Jansson <hpj@ximian.com> * gui/e-itip-control.c (html_destroyed): (init): (write_html): Add destroy chaining. svn path=/trunk/; revision=22199
* In the WeekView, Navigation through days with arrow keys.Andrew Wu2003-08-122-0/+204
| | | | | | | | | | | | | 2003-08-12 Andrew Wu <Yang.Wu@sun.com> * gui/e-week-view.c (e_week_view_on_key_up): (e_week_view_on_key_down): (e_week_view_on_key_left): (e_week_view_on_key_right): In the WeekView, Navigation through days with arrow keys. svn path=/trunk/; revision=22184
* ** Fixes #47464.Harry Lu2003-08-122-1/+8
| | | | | | | | | | | 2003-08-12 Harry Lu <harry.lu@sun.com> ** Fixes #47464. * gui/dialogs/meeting-page.c: (get_widgets): The Organizer's value need not match one of the values in the list. svn path=/trunk/; revision=22183
* Merged missing bits from branchRodrigo Moya2003-08-096-72/+380
| | | | svn path=/trunk/; revision=22152
* Merged ECalendarTable changes from new-calendar-branchRodrigo Moya2003-08-0819-2816/+368
| | | | svn path=/trunk/; revision=22143
* Merge new-calendar-branch into HEADRodrigo Moya2003-08-0822-117/+3242
| | | | svn path=/trunk/; revision=22129
* changed one of the "Con_fidential" to "Co_nfidential" since we alreadyJack Jia2003-08-062-1/+6
| | | | | | | | | 2003-08-05 Jack Jia <jack.jia@sun.com> * gui/dialogs/event-page.glade: changed one of the "Con_fidential" to "Co_nfidential" since we already have "File" using the same 'F' key. svn path=/trunk/; revision=22097
* added the include <config.h> line at the beginning to enable gettext.Lorenzo Gil2003-08-012-0/+6
| | | | | | | | | 2003-08-01 Lorenzo Gil <lgs@sicem.biz> * gui/e-alarm-list.c: added the include <config.h> line at the beginning to enable gettext. svn path=/trunk/; revision=22046
* removed obsolete code.Rodrigo Moya2003-07-304-818/+5
| | | | | | | | | 2003-07-30 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client-multi.[ch]: * cal-client/Makefile.am: removed obsolete code. svn path=/trunk/; revision=22028
* Fixes all "alarm daemon doesn't start with session"Rodrigo Moya2003-07-292-5/+14
| | | | | | | | | | | | 2003-07-29 Rodrigo Moya <rodrigo@ximian.com> Fixes all "alarm daemon doesn't start with session" * gui/alarm-notify/notify-main.c (main): use LIBGNOMEUI_MODULE instead of LIBGNOME_MODULE so that the default session client is created in gnome_program_init. svn path=/trunk/; revision=22011
* Fixes #46769Harry Lu2003-07-292-26/+53
| | | | | | | | | | | | 2003-07-29 Harry Lu <harry.lu@sun.com> Fixes #46769 * gui/dialogs/task-page.c: (task_page_fill_component): Popup a error dialog if due date time is before start datetime when saving a task. svn path=/trunk/; revision=22005
* Fixes #46847Bolian Yin2003-07-293-42/+138
| | | | | | | | | | | | | | | | | | | 2003-07-29 Bolian Yin <bolian.yin@sun.com> Fixes #46847 * gui/e-day-view.c (e_day_view_get_next_tab_event, e_day_view_focus): add day view widget in the tab loop of events. * gui/e-week-view.c (e_week_view_get_next_tab_event, e_week_view_focus): add week view widget in the tab loop of events. Also: add some comments in gui/e-day-view.c and gui/e-week-view.c remove two compile warnings in gui/e-day-view.c svn path=/trunk/; revision=22002
* new function. (e_cal_view_get_timezone, e_cal_view_set_timezone): newRodrigo Moya2003-07-2513-269/+312
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-24 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-view.[ch] (e_cal_view_delete_selected_occurrence): new function. (e_cal_view_get_timezone, e_cal_view_set_timezone): new functions. (e_cal_view_class_init): added new class' signal. * gui/e-week-view.[ch] (e_week_view_delete_occurrence, e_week_view_delete_occurrence_internal): removed. (e_week_view_get_timezone): removed. (e_week_view_set_timezone): renamed to timezone_changed_cb, as the callback for timezone changes in the parent ECalView. (e_week_view_on_button_press): call gnome_calendar_new_appointment instead of the non-existant e_week_view_new_appointment. * gui/e-day-view.[ch] (e_day_view_delete_occurrence, e_day_view_delete_occurrence_internal): removed. (e_day_view_get_timezone): removed. (e_day_view_set_timezone): renamed to timezone_changed_cb, as the callback for timezone changes in the parent ECalView. * gui/gnome-cal.c (gnome_calendar_delete_selected_occurrence): made it call e_cal_view_delete_selected_occurrence. (gnome_calendar_update_config_settings): call the generic e_cal_view_set_timezone on all view widgets. * gui/e-day-view-top-item.c: * gui/e-week-view-main-item.c: * gui/e-day-view-main-item.c: removed mentions to non-existant structure fields. svn path=/trunk/; revision=21948
* define ECalViewEvent as the base struct for the other views.Rodrigo Moya2003-07-2410-91/+154
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-24 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-view.h: define ECalViewEvent as the base struct for the other views. * gui/e-day-view.[ch]: EDayViewEvent is now based on ECalViewEvent. (e_day_view_get_selected_events): made it return a list of ECalViewEvent's, not CalComponent's, so that we can get more information about the events. * gui/e-week-view.[ch]: EWeekViewEvent is now based on ECalViewEvent. (e_week_view_get_selected_events): same as e_day_view_get_selected_events. * gui/e-cal-view.c (e_cal_view_cut_clipboard, e_cal_view_copy_clipboard, e_cal_view_delete_selected_event, e_cal_view_delete_selected_events, on_edit_appointment, on_save_as, on_print_event, on_meeting, on_forward, e_cal_view_create_popup_menu): * gui/calendar-commands.c (sensitize_calendar_commands): updated to read ECalViewEvent's instead of CalComponent's as returned by e_cal_view_get_selected_events(). svn path=/trunk/; revision=21946
* check the uid before using it.Rodrigo Moya2003-07-243-0/+8
| | | | | | | | 2003-07-24 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-view.c (delete_event): check the uid before using it. svn path=/trunk/; revision=21944
* removed.Rodrigo Moya2003-07-2413-238/+267
| | | | | | | | | | | | | | | | | | | | | | | | 2003-07-24 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.c (e_day_view_delete_event, e_day_view_delete_event_internal): * gui/e-week-view.c (e_week_view_delete_event, e_week_view_delete_event_internal): removed. * gui/e-cal-view.[ch] (e_cal_view_delete_selected_event): renamed from e_cal_view_delete_event_internal. (e_cal_view_delete_selected_events): new function. * gui/gnome-cal.c (gnome_calendar_delete_selection): call e_cal_view_delete_selected_events(). * gui/e-week-view-event-item.c (e_week_view_event_item_get_position, e_week_view_event_item_button_press): * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): adapted to changes in E*ViewPosition. svn path=/trunk/; revision=21943
* added missing cases. (setup_popup_icons): new function to set up icons forRodrigo Moya2003-07-243-0/+54
| | | | | | | | | | 2003-07-24 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-view.c (on_print): added missing cases. (setup_popup_icons): new function to set up icons for the popup menu. (e_cal_view_create_popup_menu): call setup_popup_icons. svn path=/trunk/; revision=21942
* Use EVO_MARSHAL_RULE, and add MARSHAL_GENERATED to CLEANFILESDan Winship2003-07-242-12/+5
| | | | | | | * cal-util/Makefile.am: Use EVO_MARSHAL_RULE, and add MARSHAL_GENERATED to CLEANFILES svn path=/trunk/; revision=21912
* moved the duplicated popup menu code here. (e_cal_view_create_popup_menu):Rodrigo Moya2003-07-2311-1156/+1037
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-23 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-view.[ch]: moved the duplicated popup menu code here. (e_cal_view_create_popup_menu): new function to create the popup menu for all views. (on_new_appointment, on_new_event, on_new_meeting, on_new_task, on_goto_today, on_goto_date, on_edit_appointment, on_print, on_save_as, on_print_event, on_meeting, on_forward, on_publish, on_settings, on_delete_appointment, on_cut, on_copy, on_paste, on_unrecur_appointment): callbacks for the popup menu items. * gui/e-week-view.c (e_week_view_on_new_appointment, e_week_view_new_appointment, e_week_view_on_new_event, e_week_view_on_new_meeting, e_week_view_on_new_task, e_week_view_on_goto_today, e_week_view_on_goto_date, e_week_view_on_edit_appointment, e_week_view_on_print, e_week_view_on_save_as, e_week_view_on_print_event, e_week_view_on_meeting, e_week_view_on_forward, e_week_view_on_publish, e_week_view_on_settings, e_week_view_on_delete_appointment, e_week_view_delete_event_internal, e_week_view_on_cut, e_week_view_on_copy, e_week_view_on_paste): * gui/e-day-view.c (e_day_view_on_new_appointment, e_day_view_on_new_event, e_day_view_on_new_meeting, e_day_view_on_new_task, e_day_view_on_goto_today, e_day_view_on_goto_date, e_day_view_on_edit_appointment, e_day_view_on_print, e_day_view_on_save_as, e_day_view_on_print_event, e_day_view_on_meeting, e_day_view_on_forward, e_day_view_on_publish, e_day_view_on_settings, e_day_view_on_delete_appointment, e_day_view_delete_event_internal, e_day_view_on_cut, e_day_view_on_copy, e_day_view_on_paste): removed duplicated code. * gui/gnome-cal.[ch] (gnome_calendar_unrecur_selection): new function. svn path=/trunk/; revision=21908
* Fix an unused variableDan Winship2003-07-239-11/+40
| | | | | | | | | | | | | | | | | | | | | | | | | * gui/alarm-notify/alarm-queue.c (on_dialog_obj_updated_cb): Fix an unused variable * gui/calendar-commands.c (purge_cmd): Fix warnings. * gui/calendar-config.h: s/confirm_expunge/confirm_purge/ to match the actual functions * gui/control-factory.c: add some missing #includes * gui/dialogs/delete-comp.c (delete_component_dialog): Fix a warning * gui/e-itip-control.c (write_label_piece): Remove unused variable. * gui/print.c (print_calendar): Remove unused variable (print_comp): Likewise. * gui/tasks-control.c (confirm_purge): Fix warnings. (print_tasks): Remove unused variable. svn path=/trunk/; revision=21905
* removed unneeded prototypes.Rodrigo Moya2003-07-2310-208/+147
| | | | | | | | | | | | | | | | | | | | | | 2003-07-23 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.h: * gui/e-week-view.h: removed unneeded prototypes. * gui/e-cal-view.[ch] (e_cal_view_get_visible_time_range): new function. (selection_received): deal correctly with the selected time range. * gui/e-week-view.c (e_week_view_get_visible_time_range): made it private as the implementation of the 'get_visible_time_range' virtual method. * gui/e-day-view.c (e_day_view_get_visible_time_range): ditto. * gui/gnome-cal.c (gnome_calendar_direction): merged redundant 'case'. (focus_current_view): removed redundant code. svn path=/trunk/; revision=21897
* manage the case where the selected events are the popup menu ones.Rodrigo Moya2003-07-233-14/+34
| | | | | | | | | | 2003-07-22 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.c (e_day_view_get_selected_events): * gui/e-week-view.c (e_week_view_get_selected_events): manage the case where the selected events are the popup menu ones. svn path=/trunk/; revision=21895
* removed missing calls to e_day/week_view_*_clipboard.Rodrigo Moya2003-07-232-46/+9
| | | | | | | | | | 2003-07-22 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (gnome_calendar_copy_clipboard, gnome_calendar_cut_clipboard, gnome_calendar_paste_clipboard): removed missing calls to e_day/week_view_*_clipboard. svn path=/trunk/; revision=21894
* added "get_selected_events", and "update_query" virtual methods.Rodrigo Moya2003-07-2311-1186/+1249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-22 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-view.[ch]: added "get_selected_events", and "update_query" virtual methods. (e_cal_view_class_init): initialize new virtual methods. (e_cal_view_destroy): destroy new private members. (e_cal_view_get_selected_events, e_cal_view_set_cal_client, e_cal_view_get_cal_client): new functions. (e_cal_view_cut_clipboard, e_cal_view_copy_clipboard, e_cal_view_paste_clipboard): merged clipboard stuff. * gui/e-day-view.c (e_day_view_cut_clipboard, e_day_view_copy_clipboard, e_day_view_paste_clipboard): removed. (e_day_view_get_selected_events): made these private as the implementation of the 'get_selected_events' base class virtual method. * gui/e-week-view.c (e_week_view_get_selected_events): ditto. (e_week_view_cut_clipboard, e_week_view_copy_clipboard, e_week_view_paste_clipboard): removed. * gui/calendar-commands.c (sensitize_calendar_commands): call e_cal_view_get_selected_events. * gui/gnome-cal.c: removed a lot of redundant code thanks to the above changes. svn path=/trunk/; revision=21893
* removed e_day_view_set_calendar prototype.Rodrigo Moya2003-07-2210-122/+124
| | | | | | | | | | | | | | | | 2003-07-21 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.[ch]: removed e_day_view_set_calendar prototype. (e_day_view_set_status_message): removed. * gui/e-week-view.[ch] (e_week_view_set_status_message): removed. * gui/e-cal-view.[ch] (e_cal_view_set_status_message): new functions. (e_cal_view_destroy): unref activity client. * gui/gnome-cal.c: updated to e_*_view/e_cal_view. svn path=/trunk/; revision=21890
* moved duplicated code to...Rodrigo Moya2003-07-1812-138/+191
| | | | | | | | | | | | | | | 2003-07-18 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.[ch]: * gui/e-week-view.[ch]: moved duplicated code to... * gui/e-cal-view.[ch]: ...here. (e_cal_view_get_calendar, e_cal_view_set_calendar): new functions. * gui/e-week-view-event-item.c (e_week_event_item_double_click): * gui/gnome-cal.c (setup_widgets): adapted to changes in views. svn path=/trunk/; revision=21865
* new base class for calendar views.Rodrigo Moya2003-07-179-7/+269
| | | | | | | | | | | | | 2003-07-17 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-view.[ch]: new base class for calendar views. * gui/e-day-view.[ch]: * gui/e-week-view.[ch]: base these classes on ECalView. * gui/Makefile.am: added new files. svn path=/trunk/; revision=21854
* s/expunge/purge.Rodrigo Moya2003-07-173-20/+25
| | | | | | | | | 2003-07-17 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-config.[ch]: * gui/tasks-control.c: s/expunge/purge. svn path=/trunk/; revision=21853
* new function, which uses a CalQuery to retrieve the objects older than aRodrigo Moya2003-07-174-1/+219
| | | | | | | | | | | | | | | | | | 2003-07-16 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.[ch] (gnome_calendar_purge): new function, which uses a CalQuery to retrieve the objects older than a given date. (check_instance_cb): callback for cal_recur_generate_instances. (purging_obj_updated_cb): call check_instance_cb on each recurrence to double-check the event can be deleted. (purging_query_done_cb, purging_eval_error_cb): needed callbacks to finish the query. (gnome_calendar_destroy): free new members. * gui/calendar-commands.c (purge_cmd): added implementation for the 'Purge' menu item. svn path=/trunk/; revision=21846
* Fixes #45774Andrew Wu2003-07-162-0/+76
| | | | | | | | | | | | | 2003-07-16 Andrew Wu <Yang.Wu@sun.com> Fixes #45774 * gui/e-day-view.c (e_day_view_goto_start_of_work_day): implemented select the time that begins a work day. (e_day_view_goto_end_of_work_day): implemented select the time that ends a work day. svn path=/trunk/; revision=21839
* Fixes #45772Andrew Wu2003-07-163-0/+47
| | | | | | | | | | | | 2003-07-16 Andrew Wu <Yang.Wu@sun.com> Fixes #45772 * gui/gnome-cal.c(gnome_calendar_goto_date): implemented Alt+Left/Right to go to the same day of the previous/next week. * gui/gnome-cal.h:add two element in GnomeCalendarGotoDateType. svn path=/trunk/; revision=21836
* Fixes #41676Rodrigo Moya2003-07-152-3/+70
| | | | | | | | | | | | | | | | 2003-07-14 Rodrigo Moya <rodrigo@ximian.com> Fixes #41676 * gui/dialogs/alarm-options.c (palarm_options_changed_cb, repeat_spin_button_changed_cb, repeat_unit_changed_cb): new callbacks for managing modifications in the 'Run a program' alarm case. (repeat_toggle_toggled_cb): if the alarm being edited has a procedure action, call palarm_options_changed_cb. (init_widgets): connect new callbacks. (alarm_to_dialog): disable 'OK' button if a procedure alarm. svn path=/trunk/; revision=21810
* Changed the "URL:" label to "_Web Page:". Added a widget name to the URLFederico Mena Quintero2003-07-145-12/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-11 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/task-details-page.glade: Changed the "URL:" label to "_Web Page:". Added a widget name to the URL label so that we can hook up its mnemonic by hand. Added underlines to the "% Complete:" and "Date Completed:" labels. Added a widget name to the date completed label, also so that we can hook up its mnemonic. * gui/dialogs/task-details-page.c (get_widgets): Get the url_label and date_completed_label as well. (init_widgets): Set the mnemonic widgets of the url_label and the date_completed_label by hand, as their respective widgets are not created by libglade. * gui/e-calendar-table.c (tasks_popup_menu): Added an item for "Open Web Page". (e_calendar_table_show_popup_menu): Disable the aforementioned menu item if the selected task doesn't have the URL property set. (open_url_cb): New callback. * gui/e-tasks.c (write_html): Make the HTML say "Web Page:" instead of "URL:". svn path=/trunk/; revision=21805
* Fixes #46075.Harry Lu2003-07-092-2/+19
| | | | | | | | | | | | | 2003-07-10 Harry Lu <harry.lu@sun.com> Fixes #46075. * gui/e-date-time-list.c (compare_datetime): new function to compare two CalComponentDateTime instances. (e_date_time_list_append): check whether the date already exists before adding it to the list. svn path=/trunk/; revision=21767
* Fixes #45910Rodrigo Moya2003-07-073-0/+33
| | | | | | | | | | | | | | | | | 2003-07-07 Rodrigo Moya <rodrigo@ximian.com> Fixes #45910 * gui/dialogs/task-editor.c (task_editor_class_init): set up the handler for the set_cal_client virtual method. (task_editor_set_cal_client): added missing virtual method. 2003-07-07 Jack Jia <jack.jia@sun.com> * cal-client/cal-client.c (cal_client_get_static_capability): add g_return_val_if_fail to check the input param. svn path=/trunk/; revision=21743
* added a paned widget to contain the task list and a HTML widget forRodrigo Moya2003-07-045-4/+396
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-03 Rodrigo Moya <rodrigo@ximian.com> * gui/e-tasks.c (setup_widgets): added a paned widget to contain the task list and a HTML widget for displaying the task's details. Connect to "cursor_change" signal on the ETable. (table_cursor_change_cb): update the HTML view every time the selected task changes. (timet_to_str_with_zone): new function copied from alarm daemon. (url_requested_cb): callback for "url_requested" signal on the GtkHTML widget. (on_link_clicked_cb): respond to clicks linked on the HTML widget. (vpaned_resized_cb): set the configuration entry for the task vpane position. (e_tasks_destroy): free new member. (e_tasks_construct): connect to "obj_removed" signal on the CalClient. (client_obj_removed_cb): if the updated object is the one being displayed in the HTML widget, update it. * gui/calendar-config.[ch] (calendar_config_get_task_vpane_pos): (calendar_config_gset_task_vpane_pos): new functions. * gui/apps_evolution_calendar.schemas: added task vpane position. svn path=/trunk/; revision=21740
* Fixes #45767Antonio Xu2003-07-032-1/+6
| | | | | | | | | | 2003-07-03 Antonio Xu <antonio.xu@sun.com> Fixes #45767 * conduits/todo/Makefile.am: removed libwombat from the build. svn path=/trunk/; revision=21732
* Fixes #44485Harry Lu2003-07-032-1/+14
| | | | | | | | | | | | 2003-07-02 Harry Lu <harry.lu@sun.com> Fixes #44485 * gui/e-timezone-entry.c (e_timezone_entry_set_entry): pass a new allocated string to gtk_entry_set_text instead of the one that might come from gettext. svn path=/trunk/; revision=21728
* Don't leak exceptions (load_static_capabilities): free the capabilityDan Winship2003-07-024-17/+34
| | | | | | | | | | | | | | * cal-client/cal-client.c (real_open_calendar): Don't leak exceptions (load_static_capabilities): free the capability string * gui/dialogs/task-page.c (task_page_fill_component): Free the description text if it *was* set, rather than if it wasn't. * gui/dialogs/task-editor.c (task_editor_finalize): Free the priv struct. svn path=/trunk/; revision=21722
* fix a misuse of g_return_if_failBolian Yin2003-07-021-1/+1
| | | | svn path=/trunk/; revision=21720
* correct the dateBolian Yin2003-07-021-1/+1
| | | | svn path=/trunk/; revision=21719
* Fixes #45328, #45329Bolian Yin2003-07-024-3/+184
| | | | | | | | | | | | | | | | | 2003-06-30 Bolian Yin <bolian.yin@sun.com> Fixes #45328, #45329 * gui/e-day-view.c (e_day_view_do_key_press): Do not process PageUp/PageDown, .. when the Alt key is pressed (give key binding set the chance). * gui/gnome-cal.h : define new enum type, GNOME_CAL_GOTO_DATE_TYPE. * gui/gnome-cal.c (gnome_calendar_class_init): define new signal "goto_date". Add key bindings for "Alt+PageUp/PageDown", "Alt+Home/End". (gnome_calendar_goto_date): Impl. signal handler for "goto_date". svn path=/trunk/; revision=21717
* Fixes #45524Rodrigo Moya2003-07-023-32/+10
| | | | | | | | | | | | | | 2003-07-01 Rodrigo Moya <rodrigo@ximian.com> Fixes #45524 * gui/calendar-commands.c: use stock icons where approppriate. * gui/tasks-control.c: removed EPixmaps structure, since we only use stock icons now. (tasks_control_activate): no need to call e_pixmaps_update. svn path=/trunk/; revision=21715
* Fixes #45274Bolian Yin2003-07-013-4/+99
| | | | | | | | | | 2003-07-01 Bolian Yin <bolian.yin@sun.com> Fixes #45274 * gui/e-week-view.c: implemented tabbing though events in week view. svn path=/trunk/; revision=21703
* removed usage of WombatClient. (client_get_password_cb,Rodrigo Moya2003-06-306-161/+17
| | | | | | | | | | | | | | | | | | | | 2003-06-30 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.c: removed usage of WombatClient. (client_get_password_cb, client_forget_password_cb): removed. (real_open_calendar): don't create the WombatClient object. (cal_client_init, cal_client_finalize): removed WombatClient related code. (cal_client_finalize): re-enabled call to destroy_factories. * pcs/cal.c: removed usage of WombatClient interface. (cal_construct): don't get a reference to the WombatClient. (cal_get_password, cal_forget_password): removed unused functions. * conduits/calendar/Makefile.am: * cal-client/Makefile.am: removed references to libwombat. svn path=/trunk/; revision=21693
* added a GtkWindow argument for callers to specify the parent window.Rodrigo Moya2003-06-3015-42/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-27 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/send-comp.[ch] (send_component_dialog): * gui/dialogs/cancel-comp.[ch] (cancel_component_dialog): added a GtkWindow argument for callers to specify the parent window. * gui/dialogs/changed-comp.[ch] (changed_component_dialog): added 'parent' argument and use GtkMessageDialog instead of gnome_question_dialog. * gui/e-calendar-table.c (e_calendar_table_delete_selected): * gui/e-day-view.c (e_day_view_delete_event_internal, e_day_view_on_cut, e_day_view_finish_long_event_resize, e_day_view_finish_resize, e_day_view_on_editting_stopped, e_day_view_on_top_canvas_drag_data_received, selection_received): * gui/e-week-view.c (e_week_view_delete_event_internal, e_week_view_on_cut, e_week_view_on_editing_stopped, selection_received): * gui/dialogs/event-editor.c (cancel_meeting_cmd): * gui/dialogs/task-editor.c (cancel_task_cmd): * gui/dialogs/comp-editor.c (delete_cmd, obj_removed_cb): pass the parent window to the *_component_dialog() functions. * gui/dialogs/delete-comp.c (delete_component_dialog): use the 'widget' argument to get the parent window for the dialog. svn path=/trunk/; revision=21684
* Fixes #45276Bolian Yin2003-06-303-0/+13
| | | | | | | | | | | | | 2003-06-26 Bolian Yin <bolian.yin@sun.com> Fixes #45276 * gui/e-day-view.c (e_day_view_on_text_item_event): set focus to dayview when editing is canceled. * gui/e-week-view.c (e_week_view_on_text_item_event): set focus to weekview when editing is canceled svn path=/trunk/; revision=21682
* Fixes #44723Rodrigo Moya2003-06-272-0/+53
| | | | | | | | | | | | | | | 2003-06-25 Rodrigo Moya <rodrigo@ximian.com> Fixes #44723 * gui/dialogs/alarm-page.c: added a new field to the private structure to keep track of the old summary. (alarm_page_init): initialize new field. (alarm_page_finalize): free new field. (alarm_page_set_summary): iterate over the list of alarms to change their description if it was the same as the event's summary. svn path=/trunk/; revision=21561
* Fixes #44719Rodrigo Moya2003-06-271-5/+2
| | | | | | | | | | | | 2003-06-25 Rodrigo Moya <rodrigo@ximian.com> Fixes #44719 * gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog): use gtk_window_set_icon_from_file to set the window's icon and implemented the code to make the window sticky with GTK 2.x API. svn path=/trunk/; revision=21559
* Fixes #44719Rodrigo Moya2003-06-271-0/+8
| | | | | | | | | | | | 2003-06-25 Rodrigo Moya <rodrigo@ximian.com> Fixes #44719 * gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog): use gtk_window_set_icon_from_file to set the window's icon and implemented the code to make the window sticky with GTK 2.x API. svn path=/trunk/; revision=21557
* Forgot this fileRodrigo Moya2003-06-261-0/+5
| | | | svn path=/trunk/; revision=21541
* Fixes #45275Bolian Yin2003-06-262-9/+47
| | | | | | | | | | | | | 2003-06-25 Bolian Yin <bolian.yin@sun.com> Fixes #45275 * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): new function. (e_calendar_table_on_right_click_menu): call e_calendar_table_show_popup_menu. (e_calendar_table_on_popup_menu): callback for "popup_menu" signal. (e_calendar_table_init): connect to ETable's "popup_menu" signal. svn path=/trunk/; revision=21537
* 2003-06-25 Bolian Yin <bolian.yin@sun.comRodrigo Moya2003-06-252-4/+238
| | | | | | | | Fixes #45273 * gui/e-day-view.c: implemented tabbing though events in day view. svn path=/trunk/; revision=21535
* new functions. (page_summary_changed_cb): change the window title when theRodrigo Moya2003-06-242-0/+57
| | | | | | | | | | | 2003-06-23 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/comp-editor.c (make_title_from_string, set_title_from_string): new functions. (page_summary_changed_cb): change the window title when the object's summary changes. svn path=/trunk/; revision=21523
* don't use a static GList, since the value returned is freed inRodrigo Moya2003-06-242-4/+7
| | | | | | | | | | 2003-06-22 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.c (get_factories): don't use a static GList, since the value returned is freed in destroy_factories, making several clients use a buggy GList if one of them happen to be destroyed. svn path=/trunk/; revision=21522
* Remove debug output.Hans Petter Jansson2003-06-243-2/+17
| | | | | | | | | | | 2003-06-22 Hans Petter Jansson <hpj@ximian.com> * gui/print.c (get_font_for_size): Remove debug output. * gui/tasks-control.c (print_tasks): Ref and sink the printable. Use fixed (5%) margins instead of what gnome-print gives us. svn path=/trunk/; revision=21518
* don't leak the CalBackendPrivate.Dan Winship2003-06-202-0/+7
| | | | | | | * pcs/cal-backend.c (cal_backend_finalize): don't leak the CalBackendPrivate. svn path=/trunk/; revision=21496
* Plug in the defaults from the schemas file here, so that even if somethingDan Winship2003-06-202-4/+14
| | | | | | | | | | | | * gui/calendar-config.c (calendar_config_get_hpane_pos) (calendar_config_get_vpane_pos) (calendar_config_get_month_hpane_pos) (calendar_config_get_month_vpane_pos): Plug in the defaults from the schemas file here, so that even if something goes wrong with the schemas, people will still get reasonable defaults instead of "I click on the calendar and it shows me tasks". svn path=/trunk/; revision=21495
* removed unused variable.Rodrigo Moya2003-06-202-1/+6
| | | | | | | | | 2003-06-16 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/comp-editor.c (make_title_from_comp): removed unused variable. svn path=/trunk/; revision=21494
* switch the "view_only" arg to be an int. (init): ditto.Jack Jia2003-06-195-9/+27
| | | | | | | | | | | | | | | | | | | | | | 2003-06-12 Jack Jia <jack.jia@sun.com> * gui/e-itip-control.c (struct _EItipControlPrivate): switch the "view_only" arg to be an int. (init): ditto. (e_itip_control_set_view_only): ditto. (e_itip_control_get_view_only): ditto. * gui/itip-bonobo-control.c (get_prop): switch BONOBO_ARG_SET_BOOLEAN to BONOBO_ARG_SET_INT. (set_prop): switch BONOBO_ARG_GET_BOOLEAN to BONOBO_ARG_GET_INT. (itip_bonobo_control_new): switch BONOBO_ARG_BOOLEAN to BONOBO_ARG_INT. Function "bonobo_property_bag_client_set_value_gboolean" can not work on solaris. svn path=/trunk/; revision=21478
* Fixes #44682, Shift+F10 to active popup menu on day/week viewBolian Yin2003-06-193-16/+92
| | | | | | | | | | | | | | | | | | 2003-06-10 Bolian Yin <bolian.yin@sun.com> Fixes #44682, Shift+F10 to active popup menu on day/week view * gui/e-day-view.c (e_day_view_key_press, e_day_view_do_key_press): When the key press is not handled, give keybindings the chance. (e_day_view_popup_menu, e_day_view_show_popup_menu, e_day_view_on_event_right_click ): popup menu will be activated from both keyboard and mouse. * gui/e-week-view.c (e_week_view_key_press, e_week_view_do_key_press): When the key press is not handled, give keybindings the chance. (e_week_view_popup_menu): popup menu can be activated from keyboard svn path=/trunk/; revision=21473
* Put the ChangeLog.pre-1-4 in the Makefiles.Ettore Perazzoli2003-06-131-1/+4
| | | | svn path=/trunk/; revision=21426
* Fixes #41582Rodrigo Moya2003-06-122-4/+24
| | | | | | | | | | | | | 2003-06-10 Rodrigo Moya <rodrigo@ximian.com> Fixes #41582 * gui/gnome-cal.c (gnome_calendar_hpane_resized): killed warnings and added code to resize the EDayView's time column on the hpane's resizing. (gnome_calendar_vpane_resized): killed warnings. svn path=/trunk/; revision=21421
* ** For #42691.Not Zed2003-06-113-4/+15
| | | | | | | | | | | | | | | 2003-06-05 Not Zed <NotZed@Ximian.com> ** For #42691. * gui/Makefile.am (%.server.in): implicit rule for .in file. (BUILT_SOURCES): added server_DATA. * gui/alarm-notify/Makefile.am (%.server.in): added implicit rule for .in file. (BUILT_SOURCES): added server_DATA. svn path=/trunk/; revision=21403
* Roll over ChangeLogs.Ettore Perazzoli2003-06-102-21873/+21872
| | | | svn path=/trunk/; revision=21387
* adapted to changes in EComponentListener API. (query_construct): ditto.Rodrigo Moya2003-06-043-4/+12
| | | | | | | | | | | | 2003-06-04 Rodrigo Moya <rodrigo@ximian.com> * pcs/query.c (start_cached_query_cb): adapted to changes in EComponentListener API. (query_construct): ditto. * cal-client/cal-client.c (cal_opened_cb): ditto. svn path=/trunk/; revision=21384
* Fixes part of #43388Rodrigo Moya2003-06-032-14/+21
| | | | | | | | | | | | 2003-06-02 Rodrigo Moya <rodrigo@ximian.com> Fixes part of #43388 * importers/icalendar-importer.c (prepare_events): (prepare_tasks): use external iterators for removing components from the main component. svn path=/trunk/; revision=21373
* Fixes #43763Rodrigo Moya2003-06-023-7/+16
| | | | | | | | | | | | | | | | | 2003-05-29 Rodrigo Moya <rodrigo@ximian.com> Fixes #43763 * gui/e-week-view.c (e_week_view_init): use g_signal_connect_after for "button_press_event" callback. * gui/e-day-view.c (e_day_view_init): ditto. 2003-05-29 JP Rosevear <jpr@ximian.com> Fixes #43775 svn path=/trunk/; revision=21362
* Fixes #43775JP Rosevear2003-05-3111-82/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-29 JP Rosevear <jpr@ximian.com> Fixes #43775 * gui/weekday-picker.c (get_day_text): calculate the characters to display correctly (configure_items): use it (weekday_picker_style_set): ditto * gui/print.c (format_date): use e_utf8_strftime (print_week_view_background): ditto (print_month_summary): ditto (range_selector_new): ditto (print_comp_item): ditto * gui/itip-utils.c (comp_description): the translation is already utf8 * gui/e-itip-control.c (write_label_piece): the string is already in utf8 * gui/e-day-view.c (e_day_view_style_set): use e_utf8_strftime (e_day_view_recalc_cell_sizes): ditto * gui/e-day-view-top-item.c (e_day_view_top_item_draw): use e_utf8_strftime * gui/e-cell-date-edit-text.c (ecd_get_text): return the duplicated buffer (its already utf8) (show_date_warning): use e_utf8_strftime * gui/calendar-model.c (date_value_to_string): return the duplicated buffer (its already utf8) (calendar_model_value_to_string): the translations should already be in utf8 * gui/calendar-config.c (calendar_config_locale_supports_12_hour_format): use e_utf8_strftime * gui/calendar-commands.c (calendar_set_folder_bar_label): use e_utf8_strftime svn path=/trunk/; revision=21355
* Fixes #43455Rodrigo Moya2003-05-292-29/+21
| | | | | | | | | | | 2003-05-28 Rodrigo Moya <rodrigo@ximian.com> Fixes #43455 * gui/tasks-control.c (confirm_expunge): converted to a GtkMessageDialog and removed object weak's ref code, not needed anymore. svn path=/trunk/; revision=21344
* Fixes #43308JP Rosevear2003-05-232-6/+13
| | | | | | | | | | | | 2003-05-20 JP Rosevear <jpr@ximian.com> Fixes #43308 * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set): adjust row heights to reflect changes in etable row heights and set display top to align properly svn path=/trunk/; revision=21325
* unref not ref the clientJP Rosevear2003-05-232-1/+6
| | | | | | | | | 2003-05-22 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor-page.c (comp_editor_page_destroy): unref not ref the client svn path=/trunk/; revision=21323
* Fixes #41329JP Rosevear2003-05-232-0/+11
| | | | | | | | | | | | | 2003-05-22 JP Rosevear <jpr@ximian.com> Fixes #41329 * gui/e-meeting-time-sel.c (e_meeting_time_selector_on_zoomed_out_toggled): make sure the meeting time is shown afterwards (e_meeting_time_selector_on_working_hours_toggled): ditto svn path=/trunk/; revision=21322
* Fixes #41234Rodrigo Moya2003-05-222-8/+8
| | | | | | | | | | 2003-05-21 Rodrigo Moya <rodrigo@ximian.com> Fixes #41234 * gui/dialogs/e-delegate-dialog.glade: changed button ordering. svn path=/trunk/; revision=21307
* Fixes #41234Rodrigo Moya2003-05-221-0/+6
| | | | | | | | | | 2003-05-21 Rodrigo Moya <rodrigo@ximian.com> Fixes #41234 * gui/dialogs/e-delegate-dialog.glade: changed button ordering. svn path=/trunk/; revision=21306
* (gnome_calendar_setup_view_menus): RemovedEttore Perazzoli2003-05-212-29/+34
| | | | | | debugging message. svn path=/trunk/; revision=21293
* Change this dialog from using a gnome_message_box (which has beenAnna Marie Dirks2003-05-212-17/+27
| | | | | | | | | | | 2003-05-20 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/save-comp.c (save_component_dialog): Change this dialog from using a gnome_message_box (which has been deprecated), to using a gtk_message_dialog. This HIG-ifies this dialog, and fixes bug #42046. svn path=/trunk/; revision=21285
* Fixes #42056Hans Petter Jansson2003-05-202-55/+36
| | | | | | | | | | | | 2003-05-20 Hans Petter Jansson <hpj@ximian.com> Fixes #42056 * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): Don't create accel groups for menuitem mnemonics. Don't use deprecated functions where we actually need accel groups. svn path=/trunk/; revision=21281
* Don't double-free newly-added categories that the gui hasn't been toldDan Winship2003-05-202-15/+19
| | | | | | | | * pcs/cal-backend.c (cal_backend_finalize): Don't double-free newly-added categories that the gui hasn't been told about yet. #43321 svn path=/trunk/; revision=21275
* set 'initialized' to TRUE when initialization is done, or we get theRodrigo Moya2003-05-202-1/+8
| | | | | | | | | 2003-05-19 Rodrigo Moya <rodrigo@ximian.com> * gui/main.c (factory): set 'initialized' to TRUE when initialization is done, or we get the initialization code called over and over. svn path=/trunk/; revision=21274
* remove the query time out if its still alive (update_query_timeout):JP Rosevear2003-05-202-2/+30
| | | | | | | | | | | 2003-05-19 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_destroy): remove the query time out if its still alive (update_query_timeout): update the query and clear the time out (client_cal_opened_cb): add the query update timeout svn path=/trunk/; revision=21257
* Added HIG-blessed padding to (some of) the widgets in the dialog.Anna Marie Dirks2003-05-204-5/+18
| | | | | | | | | | | | | | | | 2003-05-19 Anna Marie Dirks <anna@ximian.com> * gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct): Added HIG-blessed padding to (some of) the widgets in the dialog. * gui/dialogs/meeting-page.glade: Added HIG-blessed border width and spacing to the meeting page of the event editor. * gui/dialogs/schedule-page.glade: Added HIG-blessed border width to the schedule page on the event editor. svn path=/trunk/; revision=21256
* Fixes #43103JP Rosevear2003-05-193-52/+66
| | | | | | | | | | | | | | | | | | 2003-05-19 JP Rosevear <jpr@ximian.com> Fixes #43103 * gui/e-day-view.c (e_day_view_init): connect normally instead of after so that our boolean return values afffect the action signal emmissions properly (e_day_view_on_top_canvas_drag_motion): fix proto to be a gboolean (e_day_view_on_main_canvas_drag_motion): ditto * gui/e-week-view.c (e_week_view_init): connect normally instead of after so that our boolean return values afffect the action signal emmissions properly svn path=/trunk/; revision=21250
* the title is already in UTF-8JP Rosevear2003-05-182-4/+6
| | | | | | | | | 2003-05-16 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (make_title_from_comp): the title is already in UTF-8 svn path=/trunk/; revision=21235
* Fixes #42220Rodrigo Moya2003-05-182-11/+18
| | | | | | | | | | | 2003-05-16 Rodrigo Moya <rodrigo@ximian.com> Fixes #42220 * gui/e-day-view.c (e_day_view_finish_resize): hide canvas items and update internal fields before updating the object. svn path=/trunk/; revision=21233
* unref the client and the ui componentJP Rosevear2003-05-162-2/+13
| | | | | | | | | 2003-05-15 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (comp_editor_finalize): unref the client and the ui component svn path=/trunk/; revision=21211
* Fixes #41935JP Rosevear2003-05-163-48/+85
| | | | | | | | | | | | | | | | | | | 2003-05-15 JP Rosevear <jpr@ximian.com> Fixes #41935 * gui/e-week-view.c (e_week_view_init): listen for scroll events on the canvas (e_week_view_on_button_press): don't scroll here (e_week_view_on_scroll): scroll here * gui/e-day-view.c (e_day_view_init): listen for scroll events on the time and main canvases (e_day_view_on_main_canvas_button_press): don't scroll here (e_day_view_on_main_canvas_scroll): scroll here (e_day_view_on_time_canvas_scroll): and here svn path=/trunk/; revision=21210
* Fixes #43029JP Rosevear2003-05-164-49/+75
| | | | | | | | | | | | | | | | | | | | | | | | 2003-05-15 JP Rosevear <jpr@ximian.com> Fixes #43029 * gui/e-week-view.c (e_week_view_init): don't listen for destroy signal (e_week_view_destroy): check for NULL and make invisible NULL after we destroy it, unref cursors and NULL them out as well, guard against freeing events multiple times * gui/e-day-view.c (e_day_view_destroy): check for NULL and make invisible NULL after we destroy it, unref cursors and NULL them out as well, guard against freeing events multiple times (e_day_view_init): don't listen for destroy signal * gui/e-calendar-table.c (e_calendar_table_init): don't listen for destroy signal (e_calendar_table_destroy): check for NULL and make invisible NULL after we destroy it svn path=/trunk/; revision=21208
* Fixes #41930JP Rosevear2003-05-162-2/+9
| | | | | | | | | | | 2003-05-15 JP Rosevear <jpr@ximian.com> Fixes #41930 * idl/evolution-calendar.idl: Make sure everything that can raise a NotFound exception lists it svn path=/trunk/; revision=21207
* ref ourselves the number of times we'll get called backJP Rosevear2003-05-162-1/+16
| | | | | | | | | | 2003-05-15 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_refresh_free_busy): ref ourselves the number of times we'll get called back svn path=/trunk/; revision=21196
* guard against multiple destroysJP Rosevear2003-05-159-65/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-14 JP Rosevear <jpr@ximian.com> * gui/e-tasks.c (e_tasks_destroy): guard against multiple destroys * cal-client/cal-client.c (cal_client_finalize): unref the bonobo listener * gui/gnome-cal.c (gnome_calendar_destroy): guard against multiple destroy calls * gui/e-week-view.c (e_week_view_init): connect after destroy (invisible_destroyed): don't unref, its already destroyed * gui/e-day-view.c (e_day_view_init): connect after destroy (invisible_destroyed): don't unref, its already destroyed * gui/e-calendar-table.c (e_calendar_table_class_init): make sure we set the parent class (e_calendar_table_init): connect after the destroy handler runs (e_calendar_table_destroy): guard against multiple destroys (invisible_destroyed): don't unref the invisible, its already being destroyed * gui/calendar-offline-handler.c (backend_cal_set_mode): unref the client, we are done with it now (backend_cal_opened_online): ditto (impl_dispose): unref our main client * gui/calendar-commands.c (control_util_set_folder_bar_label): release/unref the shell view once we are done with it (control_util_show_settings): ditto svn path=/trunk/; revision=21180
* fixed memory leak introduced by previous commit.Rodrigo Moya2003-05-142-0/+9
| | | | | | | | | 2003-05-13 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-queue.c (notify_dialog_cb): fixed memory leak introduced by previous commit. svn path=/trunk/; revision=21162
* Fixes #41760Rodrigo Moya2003-05-142-17/+14
| | | | | | | | | | | | | 2003-05-12 Rodrigo Moya <rodrigo@ximian.com> Fixes #41760 * gui/alarm-notify/alarm-queue.c (create_snooze): don't add a new alarm, but update the already existing one. (notify_dialog_cb): make sure we don't remove the alarm if we are snoozing. svn path=/trunk/; revision=21160
* fix button conversion problemJP Rosevear2003-05-083-17/+10
| | | | | | | | | | | | 2003-05-07 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-page.glade: fix button conversion problem * gui/dialogs/task-details-page.c (task_details_page_fill_widgets): only free the percent if its non-null svn path=/trunk/; revision=21128
* added missing assignment.Rodrigo Moya2003-05-072-0/+7
| | | | | | | | | 2003-05-07 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.c (cal_client_discard_alarm): added missing assignment. svn path=/trunk/; revision=21121
* Fixes #41811JP Rosevear2003-05-062-0/+9
| | | | | | | | | | 2003-05-05 JP Rosevear <jpr@ximian.com> Fixes #41811 * gui/alarm-notify/Makefile.am: don't dist idl generated files svn path=/trunk/; revision=21112
* unref the model again (task_editor_edit_comp): don't allow editing if theJP Rosevear2003-05-027-104/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-01 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-editor.c (task_editor_finalize): unref the model again (task_editor_edit_comp): don't allow editing if the assignee has delegated * gui/dialogs/meeting-page.c (popup_delete_cb): set the new non-delegator to be editable * gui/dialogs/event-editor.c (event_editor_edit_comp): don't allow editing if the attendee has delegated (event_editor_finalize): unref the model again * gui/e-meeting-model.c: remove e-table-without related functions (finalize): don't create without table (e_meeting_model_etable_from_model): build the table with this as model (e_meeting_model_etable_model_to_view_row): directly use the model_to_view call (e_meeting_model_etable_view_to_model_row): as above (attendee_changed_cb): make sure pre change is alwasy called * gui/e-meeting-model.h: use DECLS, remove protos for long dead functions, don't include config.h svn path=/trunk/; revision=21045
* removed unused code.Rodrigo Moya2003-04-302-18/+5
| | | | | | | | | 2003-04-30 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): removed unused code. svn path=/trunk/; revision=21032
* dittoJP Rosevear2003-04-304-2/+23
| | | | | | | | | | | | | | 2003-04-29 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-editor.c (task_editor_finalize): ditto * gui/dialogs/event-editor.c (event_editor_finalize): don't unref the model here * gui/e-meeting-time-sel.c (e_meeting_time_selector_destroy): null up the display_top and display_main for re-entrancy purposes svn path=/trunk/; revision=21018
* kill warningsJP Rosevear2003-04-302-1/+5
| | | | | | | | 2003-04-25 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (itip_send_comp): kill warnings svn path=/trunk/; revision=21000
* Added HIG-blessed padding to the alarm options dialog. Fixes bug #41221.Anna Marie Dirks2003-04-292-3/+9
| | | | | | | | | 2003-04-28 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/alarm-options.glade: Added HIG-blessed padding to the alarm options dialog. Fixes bug #41221. svn path=/trunk/; revision=20991
* Added appropriate spacing and padding to the calendar/tasks page of theAnna Marie Dirks2003-04-292-6/+14
| | | | | | | | | | 2003-04-28 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/cal-prefs-dialog.glade: Added appropriate spacing and padding to the calendar/tasks page of the settings dialog. Fixes bug #41129 svn path=/trunk/; revision=20990
* Finishes up fixing #41256 by adding appropriate spacing/padding to theAnna Marie Dirks2003-04-293-6/+17
| | | | | | | | | | | | | 2003-04-28 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/task-page.glade: Finishes up fixing #41256 by adding appropriate spacing/padding to the main task page. * gui/dialogs/task-details-page.glade: Added appropriate spacing and padding to the task-details page. Partially fixes #41256. svn path=/trunk/; revision=20989
* Added padding/spacing to this page as specified by the HIG. PartiallyAnna Marie Dirks2003-04-294-17/+30
| | | | | | | | | | | | | | | 2003-04-28 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/recurrence-page.glade: Added padding/spacing to this page as specified by the HIG. Partially fixes #41215. * gui/dialogs/alarm-page.glade: Added padding/spacing/stock buttons to the alarm page. Partially fixes #41215. * gui/dialogs/event-page.glade: Added padding/spacing to the event-page (partially fixes #41215) svn path=/trunk/; revision=20988
* Fixes #35814Rodney Dawes2003-04-292-2/+9
| | | | | | | | | | | | | 2003-04-27 Rodney Dawes <dobey@ximian.com> Fixes #35814 * calendar/gui/calendar-component.c: Change mnemonic/keybinding for New Meeting to not conflict with other items in the File->New menu * ui/evolution.xml: Changed the New Folder keybinding to C-S-f svn path=/trunk/; revision=20984
* Fixes #41661Rodrigo Moya2003-04-279-12/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-24 Rodrigo Moya <rodrigo@ximian.com> Fixes #41661 * idl/evolution-calendar.idl: added discardAlarm method to GNOME:Evolution:Calendar:Cal interface. * pcs/cal.c (cal_class_init): set new epv's method. (impl_Cal_discardAlarm): implementation of new CORBA method. * pcs/cal-backend.[ch]: added 'discard_alarm' virtual method, and CAL_BACKEND_RESULT_NOT_IMPLEMENTED to CalBackendResult enum. (cal_backend_class_init): initialize new class method. (cal_backend_discard_alarm): new method. (cal_backend_update_objects, cal_backend_remove_object): return proper CalBackendResult values. * pcs/cal-backend-file.c (cal_backend_file_class_init): initialize new class method. (cal_backend_file_discard_alarm): implementation of new method. * pcs/cal-client.[ch] (cal_client_discard_alarm): new function. * gui/alarm-notify/alarm-queue.c (remove_qeueud_alarm): don't remove the alarm directly from the component, call cal_client_discard_alarm and let the backend deal with it. svn path=/trunk/; revision=20973
* set the hpane default to 32000 so we never see a pane no matter the startJP Rosevear2003-04-252-1/+7
| | | | | | | | | | 2003-04-24 JP Rosevear <jpr@ximian.com> * gui/apps_evolution_calendar.schemas: set the hpane default to 32000 so we never see a pane no matter the start up window size unless the user changes it svn path=/trunk/; revision=20963
* Remove change that shouldn't have been committed.JP Rosevear2003-04-252-2/+2
| | | | svn path=/trunk/; revision=20962
* Fixes #37552JP Rosevear2003-04-2511-29/+187
| | | | | | | | | | | | | | | | | | | | | | | | 2003-04-24 JP Rosevear <jpr@ximian.com> Fixes #37552 * gui/dialogs/Makefile.am: build delete-error.[hc] * gui/e-tasks.c: wrap calls to cal_client_remove_object with delete_error_dialog * gui/e-itip-control.c: ditto * gui/e-calendar-table.c: ditto * gui/e-week-view.c: ditto * gui/e-day-view.c: ditto * gui/dialogs/delete-error.[hc]: gemerate an error message based on result svn path=/trunk/; revision=20961
* removed unused variable..Rodrigo Moya2003-04-252-1/+5
| | | | | | | | | 2003-04-23 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.c (e_day_view_on_delete_occurrence): removed unused variable.. svn path=/trunk/; revision=20958
* Fixed typoRodrigo Moya2003-04-241-1/+1
| | | | svn path=/trunk/; revision=20948