aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Fixes #71452JP Rosevear2005-01-291-0/+8
| | | | | | | | | | | | 2005-01-28 JP Rosevear <jpr@novell.com> Fixes #71452 * gui/dialogs/comp-editor.c (setup_widgets): listen for delete_event signal and handle it outside of the response signal so that cancel works properly svn path=/trunk/; revision=28605
* use correct key name.Rodrigo Moya2005-01-291-0/+5
| | | | | | | | | 2005-01-28 Rodrigo Moya <rodrigo@novell.com> * gui/e-tasks.c (setup_widgets): * gui/gnome-cal.c (setup_widgets): use correct key name. svn path=/trunk/; revision=28600
* Fixes #33078Rodrigo Moya2005-01-291-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-28 Rodrigo Moya <rodrigo@novell.com> Fixes #33078 * gui/gnome-cal.c: deal now with categories entirely here, no more "categories_changed" signal from the backends. (free_categories, add_categories, append_category_cb, client_categories_changed_cb, copy_categories): removed. (gnome_calendar_add_source): don't connect to removed signal. (gnome_calendar_destroy): destroy the config listener. (gnome_calendar_init): create a listener for the categories list GConf key. (config_categories_changed_cb): callback for configuration changes in category list. (setup_widgets): initialize the search bar with categories from the configuration. * gui/e-tasks.c (client_categories_changed_cb, e_tasks_add_todo_source, e_tasks_init, config_categories_changed_cb, e_tasks_destroy, setup_widgets): same as gnome-cal.c. svn path=/trunk/; revision=28599
* Fixes #71485JP Rosevear2005-01-271-0/+13
| | | | | | | | | | 2005-01-26 JP Rosevear <jpr@novell.com> Fixes #71485 * calendar-errors.xml: fix paste-o svn path=/trunk/; revision=28570
* objects returned from e_cal_get_objects_for_uid are ECalComponent's, soRodrigo Moya2005-01-261-0/+6
| | | | | | | | | | 2005-01-26 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/recurrence-page.c (sensitize_buttons): objects returned from e_cal_get_objects_for_uid are ECalComponent's, so use g_object_unref to free them, not icalcomponent_free. svn path=/trunk/; revision=28562
* use full name for the weekday checkbox.Li Yuan2005-01-261-0/+8
| | | | | | | | | | | 2005-01-26 Li Yuan <li.yuan@sun.com> * gui/dialogs/cal-prefs-dialog.glade: use full name for the weekday checkbox. Fixes #71729. svn path=/trunk/; revision=28561
* make sure we free the user listJP Rosevear2005-01-261-0/+5
| | | | | | | | | 2005-01-26 JP Rosevear <jpr@novell.com> * gui/itip-utils.c (itip_send_comp): make sure we free the user list svn path=/trunk/; revision=28559
* add a11y name to task table.Li Yuan2005-01-251-0/+5
| | | | | | | | | 2005-01-25 Li Yuan <li.yuan@sun.com> * gui/e-calendar-table.c: (e_calendar_table_init): add a11y name to task table. svn path=/trunk/; revision=28550
* if there are detached instances, disable recurrence date widgets.Rodrigo Moya2005-01-241-0/+5
| | | | | | | | | 2005-01-24 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/recurrence-page.c (sensitize_buttons): if there are detached instances, disable recurrence date widgets. svn path=/trunk/; revision=28525
* Fixes #46404JP Rosevear2005-01-221-0/+18
| | | | | | | | | | | | | | | | | | | | | | 2005-01-21 JP Rosevear <jpr@novell.com> Fixes #46404 * gui/tasks-control.c (tasks_control_print_cmd): just call print tasks, we don't do the dialog here * gui/print.h: update protos * gui/print.c (print_calendar): use e_print routines for config and dialog and make copies and range settings properly available (print_comp): ditto (print_table): bring up dialog here so that printing for calendar list view works correctly * gui/calendar-commands.c (print): pass extra params to print table svn path=/trunk/; revision=28490
* use receive_objects method instead of individually updating objects. SetRodrigo Moya2005-01-201-2/+3
| | | | | | | | | | 2005-01-19 Rodrigo Moya <rodrigo@novell.com> * importers/icalendar-importer.c (update_objects): use receive_objects method instead of individually updating objects. Set the method on the VCALENDAR object we create. svn path=/trunk/; revision=28450
* use receive_objects method instead of individually updating objects.Rodrigo Moya2005-01-191-0/+5
| | | | | | | | | 2005-01-19 Rodrigo Moya <rodrigo@novell.com> * importers/icalendar-imporer.c (update_objects): use receive_objects method instead of individually updating objects. svn path=/trunk/; revision=28449
* Added bug numberRodrigo Moya2005-01-191-0/+2
| | | | svn path=/trunk/; revision=28442
* killed warnings. (e_week_view_start_editing_event): do nothing if theRodrigo Moya2005-01-191-0/+8
| | | | | | | | | | | | 2005-01-18 Rodrigo Moya <rodrigo@novell.com> * gui/e-week-view.c (process_component): killed warnings. (e_week_view_start_editing_event): do nothing if the calendar is read only. * gui/e-day-view.c (e_day_view_start_editing_event): ditto. svn path=/trunk/; revision=28440
* handle error conditions more gracefully.Harish Krishnaswamy2005-01-181-0/+6
| | | | | | | | | 2005-01-18 Harish Krishnaswamy <kharish@novell.com> * gui/dialogs/cal-attachment-bar.c (cal_attachment_bar_get_attachment_list): handle error conditions more gracefully. svn path=/trunk/; revision=28432
* use libedataserver's e-url.Rodrigo Moya2005-01-171-0/+10
| | | | | | | | | | | | | | 2005-01-17 Rodrigo Moya <rodrigo@novell.com> * gui/calendar-component.c: * gui/calendar-offline-handler.c: * gui/comp-editor-factory.c: * gui/e-tasks.c: * gui/gnome-cal.c: * gui/misc.c: * gui/alarm-notify/alarm-notify.c: use libedataserver's e-url. svn path=/trunk/; revision=28422
* Changed the title for the free/busy publishing settings dialog toNat Friedman2005-01-171-0/+6
| | | | | | | | | | 2005-01-17 Nat Friedman <nat@novell.com> * gui/dialogs/url-editor-dialog.glade: Changed the title for the free/busy publishing settings dialog to "Free/Busy Publishing Settings" (away from "Free/Busy Editor" which made no sense). svn path=/trunk/; revision=28421
* removed the e_day_view_... prefix in warning messages.Rodrigo Moya2005-01-171-0/+5
| | | | | | | | | 2005-01-17 Rodrigo Moya <rodrigo@novell.com> * gui/e-calendar-view.c (on_unrecur_appointment): removed the e_day_view_... prefix in warning messages. svn path=/trunk/; revision=28420
* fixed a kludge.Harish Krishnaswamy2005-01-171-0/+5
| | | | | | | * gui/dialogs/cal-attachment-bar.c (destroy): fixed a kludge. svn path=/trunk/; revision=28418
* Fixes #65820JP Rosevear2005-01-131-0/+6
| | | | | | | | | | 2005-01-12 JP Rosevear <jpr@novell.com> Fixes #65820 * gui/weekday-picker.c (get_day_text): add translator comment svn path=/trunk/; revision=28385
* set last_Edited_comp_string to NULL, not test it for null.Not Zed2005-01-121-0/+5
| | | | | | | | | 2005-01-08 Not Zed <NotZed@Ximian.com> * gui/e-day-view.c (e_day_view_finish_resize): set last_Edited_comp_string to NULL, not test it for null. svn path=/trunk/; revision=28371
* Reverted the previous fix to offset the hyphen whileHarish Krishnaswamy2005-01-121-0/+6
| | | | | | forming the filename. svn path=/trunk/; revision=28368
* remove the temporary object from the view when stopping editing.Rodrigo Moya2005-01-111-0/+7
| | | | | | | | | | | 2005-01-10 Rodrigo Moya <rodrigo@novell.com> * gui/e-day-view.c (e_day_view_on_editing_stopped): remove the temporary object from the view when stopping editing. * gui/e-week-view.c (e_week_view_on_editing_stopped): ditto. svn path=/trunk/; revision=28341
* offset the file name to account for the 'hyphen'.Harish Krishnaswamy2005-01-111-0/+6
| | | | | | | | * gui/dialogs/cal-attachment-bar.c: (cal_attachment_bar_set_attachment_list): offset the file name to account for the 'hyphen'. svn path=/trunk/; revision=28337
* Missed to commit this file before.Chenthill Palanisamy2005-01-101-0/+6
| | | | | | | | | 2005-01-10 Chenthill Palanisamy <pchenthill@novell.com> * backends/groupwise/e-cal-backends-groupwise-utils.h: Missed to commit this file before. svn path=/trunk/; revision=28317
* Modified cal-attachment-bar to allow the path to the local attachmentHarish Krishnaswamy2005-01-101-0/+14
| | | | | | | | | | | | | | | | * gui/dialogs/cal-attachment-bar.[ch]: (destroy), (init), (cal_attachment_bar_set_local_attachment_store), (cal_attachment_bar_get_attachment_list), (cal_attachment_bar_get_nth_attachment_filename), (cal_attachment_bar_set_attachment_list): Modified cal-attachment-bar to allow the path to the local attachment store be set externally, thereby hiding the storage policy of different backends from it. * gui/dialogs/comp-editor.c: * (real_edit_comp): set the local attachment store after obtaining it from the calendar. svn path=/trunk/; revision=28311
* handle calendar:// urisJP Rosevear2005-01-101-0/+5
| | | | | | | | | 2005-01-09 JP Rosevear <jpr@novell.com> * gui/calendar-component.c (impl_handleURI): handle calendar:// uris svn path=/trunk/; revision=28303
* clear the attendees, somehow I remove this in an earlier commitJP Rosevear2005-01-081-0/+5
| | | | | | | | | 2005-01-07 JP Rosevear <jpr@novell.com> * gui/dialogs/event-editor.c (event_editor_edit_comp): clear the attendees, somehow I remove this in an earlier commit svn path=/trunk/; revision=28278
* put a name to the 'Send options' frame.Rodrigo Moya2005-01-081-0/+17
| | | | | | | | | | | | | | | | | | | | | 2005-01-07 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/event-page.glade: * gui/dialogs/task-page.glade: put a name to the 'Send options' frame. * gui/dialogs/event-page.c (event_page_init): initialize reference to the 'Send options' frame. (get_widgets): get the 'Send options' frame from the .glade file. (event_page_hide_options): just hide the frame. (event_page_show_options): just show the frame. * gui/dialogs/task-page.c (task_page_init): initialize reference to the 'Send options' frame. (get_widgets): get the 'Send options' frame from the .glade file. (task_page_hide_options): just hide the frame. (task_page_show_options): just show the frame. svn path=/trunk/; revision=28277
* initial import of ECalEvent targetsDavid Trowbridge2005-01-071-0/+6
| | | | | | | | | | 2005-01-06 David Trowbridge <trowbrds@cs.colorado.edu> * gui/e-cal-event[hc]: initial import of ECalEvent targets * gui/migration.c (migrate_calendars): add component.migration event svn path=/trunk/; revision=28266
* install schemas properlyJP Rosevear2005-01-071-0/+4
| | | | | | | | 2005-01-06 JP Rosevear <jpr@novell.com> * gui/Makefile.am: install schemas properly svn path=/trunk/; revision=28260
* Commiting send optionsChenthill Palanisamy2005-01-061-0/+26
| | | | | | | | 2005-01-06 Chenthill Palanisamy <pchenthill@novell.com> Commiting send options svn path=/trunk/; revision=28252
* added a new argument to pass the calendar client, since it might happen toRodrigo Moya2005-01-051-0/+13
| | | | | | | | | | | | | | | | | 2005-01-05 Rodrigo Moya <rodrigo@novell.com> * gui/e-day-view.c (e_day_view_find_event_from_uid): added a new argument to pass the calendar client, since it might happen to have events with the same UID on different calendars. (e_day_view_do_key_press, model_rows_deleted_cb): added new argument to e_day_view_find_event_from_uid. * gui/e-week-view.c (e_week_view_find_event_from_uid): same as e-day-view.c. (e_week_view_do_key_press, model_rows_deleted_cb): added new argument to e_week_view_find_event_from_uid. svn path=/trunk/; revision=28245
* use the new e-categories API in e-d-s.Rodrigo Moya2005-01-051-0/+5
| | | | | | | | | 2005-01-04 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-component-preview.c (write_html): use the new e-categories API in e-d-s. svn path=/trunk/; revision=28236
* search our internal data for the correct event.Rodrigo Moya2005-01-051-0/+5
| | | | | | | | | 2005-01-04 Rodrigo Moya <rodrigo@novell.com> * gui/e-week-view.c (model_rows_deleted_cb): search our internal data for the correct event. svn path=/trunk/; revision=28234
* add a11y name to calendar sidebar selector. add a11y name to task sidebarHarry Lu2005-01-041-0/+7
| | | | | | | | | | | 2005-01-04 Harry Lu <harry.lu@sun.com> * gui/calendar-component.c: (create_component_view): add a11y name to calendar sidebar selector. * gui/tasks-component.c: (create_component_view): add a11y name to task sidebar selector. svn path=/trunk/; revision=28231
* Fixes #69663JP Rosevear2005-01-041-0/+7
| | | | | | | | | | | 2005-01-03 JP Rosevear <jpr@novell.com> Fixes #69663 * gui/e-cal-model-tasks.c (is_complete): look at the percent complete and status properties as well for completeness clues svn path=/trunk/; revision=28221
* redo the queries after emitting the 'time_range_changed' signal, since nowRodrigo Moya2005-01-031-0/+18
| | | | | | | | | | | | | | | | | | | | | | 2005-01-03 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (e_cal_model_set_time_range): redo the queries after emitting the 'time_range_changed' signal, since now the views will only update their internal data but not redraw the events on that signal. * gui/e-day-view.c (model_changed_cb): removed, no longer needed. (e_day_view_recalc_day_starts): no need to call e_day_view_update_query. (e_day_view_init): no need to connect to 'model_changed' signal on the model, we already connect to the row/cell_changed ones. * gui/e-week-view.c (time_range_changed_cb): no need to call e_week_view_update_query. (model_changed_cb): removed, no longer needed. (e_week_view_init): no need to connect to 'model_changed' signal on the model, we already connect to the row/cell_changed ones. svn path=/trunk/; revision=28214
* add necessary includeJP Rosevear2005-01-011-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | 2004-12-31 JP Rosevear <jpr@novell.com> * gui/dialogs/schedule-page.c: add necessary include * gui/dialogs/meeting-page.c (sensitize_widgets): kill warning * gui/dialogs/cal-prefs-dialog.c (template_url_changed): kill warning * gui/dialogs/alarm-dialog.c (malarm_widgets_to_alarm): kill warnings (init_widgets): ditto * gui/main.c (initialize): no need to init the config system now * gui/e-cell-date-edit-config.h: include date edit text header * gui/e-cal-config.c (ecp_target_free): kill warning * gui/calendar-config.c: clean up includes, internally initialize the config setup to make it easier for others; kill dead functions svn path=/trunk/; revision=28209
* removed superfluous if check. (e_cal_view_objects_modified_cb): add allRodrigo Moya2004-12-271-0/+4
| | | | | | | | | | 2004-12-26 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (search_by_uid_and_client): removed superfluous if check. (e_cal_view_objects_modified_cb): add all objects at once. svn path=/trunk/; revision=28203
* set fields we free to NULL.Rodrigo Moya2004-12-271-0/+6
| | | | | | | | | 2004-12-26 Rodrigo Moya <rodrigo@novell.com> * gui/e-day-view.c (e_day_view_remove_event_cb): set fields we free to NULL. svn path=/trunk/; revision=28202
* typo correctionHarish Krishnaswamy2004-12-241-1/+1
| | | | svn path=/trunk/; revision=28197
* Check for the existence of the meet/sched pages before attempting toHarish Krishnaswamy2004-12-241-0/+5
| | | | | | | | | 2004-12-24 Harish Krishnaswamy <kharish@novell.com> * gui/dialogs/event-editor.c (event_editor_edit_comp): Check for the existence of the meet/sched pages before attempting to remove them. svn path=/trunk/; revision=28196
* Merging offline brnach with HEADSivaiah Nallagatla2004-12-241-0/+11
| | | | svn path=/trunk/; revision=28195
* get instance times using the correct timezone. (redo_queries): emitRodrigo Moya2004-12-231-0/+10
| | | | | | | | | | | | | | 2004-12-23 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (set_instance_times): get instance times using the correct timezone. (redo_queries): emit signals before clearing the array. * gui/e-day-view.c (process_component): * gui/e-week-view.c (process_component): no need to try to update, always add. svn path=/trunk/; revision=28192
* Correct bad include.Hans Petter Jansson2004-12-231-0/+8
| | | | | | | | | | | | 2004-12-23 Hans Petter Jansson <hpj@novell.com> * gui/e-select-names-editable.c: Correct bad include. * gui/dialogs/Makefile.am (IDL_GENERATED_H) (IDL_GENERATED) (BUILT_SOURCES): No longer needed, removed. svn path=/trunk/; revision=28187
* Unref the name selector. (e_contact_list_editor_save_contact): Fix aHans Petter Jansson2004-12-231-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-22 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_dispose): Unref the name selector. (e_contact_list_editor_save_contact): Fix a warning. (add_to_model): Take a list instead of a vector of destinations. (select_names_ok_cb): Adapt to new name selector. (setup_corba): Renamed to setup_name_selector () and adapted. (select_cb): Adapt to new name selector. * addressbook/gui/contact-list-editor/e-contact-list-editor.h: Adapt to new name selector and remove CORBA/Bonobo. * addressbook/gui/widgets/eab-popup.c (eabp_target_free) (eabp_popup_target_new_select_names): #ifdef out code that depended on the old name selector. 2004-12-22 Hans Petter Jansson <hpj@novell.com> * calendar/gui/Makefile.am (IDLS) (SELECT_NAMES_IDL_GENERATED_H) (SELECT_NAMES_IDL_GENERATED_C) (SELECT_NAMES_IDL_GENERATED) (IDL_GENERATED): Remove the addressbook IDL. * calendar/gui/e-meeting-list-view.c (e_meeting_list_finalize) (add_section) (e_meeting_list_view_init) (process_section) (name_selector_dialog_close_cb) (get_select_name_dialog): Adapt to new ENameSelector. * calendar/gui/e-select-names-editable.c (esne_start_editing) (esne_finalize) (esne_init) (e_select_names_editable_get_type) (entry_activate) (e_select_names_editable_construct) (e_select_names_editable_get_address) (e_select_names_editable_get_name) (e_select_names_editable_set_address): Adapt to new ENameSelector. * calendar/gui/e-select-names-renderer.c (e_select_names_renderer_editing_done) (e_select_names_renderer_activated) (e_select_names_renderer_start_editing): Adapt to new ENameSelector. * calendar/gui/dialogs/alarm-dialog.c (malarm_widgets_to_alarm) (addressbook_clicked_cb) (addressbook_response_cb) (setup_select_names) (check_custom_email) (malarm_addresses_changed_cb): Adapt to new ENameSelector. * calendar/gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_finalize) (e_delegate_dialog_construct) (addressbook_clicked_cb) (addressbook_response_cb) (e_delegate_dialog_get_delegate) (e_delegate_dialog_get_delegate_name): Adapt to new ENameSelector. 2004-12-22 Hans Petter Jansson <hpj@novell.com> * composer/e-msg-composer-hdrs.c (addressbook_dialog_response) (setup_corba) (setup_name_selector) (address_button_clicked_cb) (addressbook_entry_changed) (create_addressbook_entry) (destroy) (e_msg_composer_hdrs_new) (destinations_to_name_selector_entry) (e_msg_composer_hdrs_set_to) (e_msg_composer_hdrs_set_cc) (e_msg_composer_hdrs_set_bcc) (destination_list_to_destv) (e_msg_composer_hdrs_get_to) (e_msg_composer_hdrs_get_cc) (e_msg_composer_hdrs_get_bcc): Adapt to new ENameSelector. svn path=/trunk/; revision=28186
* prevent compare against null default_fb_uri and fix thinkoJP Rosevear2004-12-231-0/+5
| | | | | | | | | 2004-12-22 JP Rosevear <jpr@novell.com> * gui/e-meeting-store.c (freebusy_async): prevent compare against null default_fb_uri and fix thinko svn path=/trunk/; revision=28185
* Change copyright from ximian to novellJP Rosevear2004-12-221-0/+4
| | | | | | | | 2004-12-22 JP Rosevear <jpr@novell.com> * gui/e-cal-model.c: Change copyright from ximian to novell svn path=/trunk/; revision=28182
* svn path=/trunk/; revision=28177Not Zed2004-12-221-0/+16
| | | | | | | | | | | | | | | | | | | | 2004-12-17 Not Zed <NotZed@Ximian.com> * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): * gui/tasks-component.c (popup_event_cb): * gui/gnome-cal.c (gnome_calendar_view_popup_factory): * gui/e-calendar-view.c (e_calendar_view_create_popup_menu): * gui/alarm-notify/alarm-queue.c (tray_icon_clicked_cb): * gui/dialogs/meeting-page.c (button_press_event): * gui/calendar-component.c (popup_event_cb): svn path=/trunk/; revision=28177
* Fixes #61077JP Rosevear2004-12-221-0/+8
| | | | | | | | | | | | 2004-12-22 JP Rosevear <jpr@novell.com> Fixes #61077 * gui/dialogs/task-details-page.glade: remove extraneous tab * gui/dialogs/alarm-dialog.c: ditto svn path=/trunk/; revision=28174
* Fixes #61076JP Rosevear2004-12-221-0/+10
| | | | | | | | | | | | | | 2004-12-22 JP Rosevear <jpr@novell.com> Fixes #61076 * gui/comp-editor-factory.c (open_client): don't translate command line warnings * gui/calendar-offline-handler.c (backend_go_online): ditto (backend_go_offline): ditto svn path=/trunk/; revision=28173
* Fixes #41624JP Rosevear2004-12-221-0/+7
| | | | | | | | | | | 2004-12-21 JP Rosevear <jpr@novell.com> Fixes #41624 * conduits/calendar/calendar-conduit.c (local_record_from_comp): append the exceptions, don't keep overwriting the first svn path=/trunk/; revision=28168
* no need to convert times now. (add_instance_cb): no need to convert here.Rodrigo Moya2004-12-221-0/+5
| | | | | | | | | 2004-12-21 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (set_instance_times): no need to convert times now. (add_instance_cb): no need to convert here. svn path=/trunk/; revision=28167
* Merge from recurrences-work-branchRodrigo Moya2004-12-221-1/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-21 Rodrigo Moya <rodrigo@novell.com> Merge from recurrences-work-branch * gui/e-cal-model.c (free_comp_data): renamed to e_cal_model_free_component_data and made it public. (clear_objects_array, e_cal_view_objects_removed_cb, remove_client_objects): use e_cal_model_free_component_data. (get_dtstart): get the DTSTART correctly for recurrences. (add_instance_cb): initialize all members of ECalModelComponent, and use the correct icalcomponent when setting the field. (set_instance_times): new function to set the instance_* fields of the ECalModelComponent when not expanding recurrences. (e_cal_view_objects_added_cb): expand recurrences for all objects when the model is set to expand. Call set_instance_times when not expanding recurrences. (e_cal_view_objects_modified_cb): made it remove objects and re-add them. (copy_ecdv): check values before using them. (e_cal_model_copy_component_data): Added code to copy the instance_* and color fields. * gui/e-cal-model-calendar.c (get_dtend): get the DTEND correctly for recurrences. (ecmc_set_value_at): ask user which instances to modify. * gui/e-day-view.c (e_day_view_find_event_from_uid): changed to search by UID and RID if given. (process_component): changed to not expand recurrences at all, this is now done on the model. (row_deleted_check_cb, remove_uid_cb): removed these functions. (model_rows_deleted_cb): changed to just remove the rows signalled from the model, which is the responsible for the recurrence expansion. (e_day_view_new): set the model to expand recurrences. (e_day_view_remove_event_cb): check the value searched in the array. (e_day_view_do_key_press): use e_day_view_find_event_from_uid correctly. * gui/e-week-view.c (e_week_view_find_event_from_uid): changed to search by UID and RID if given. (process_component_recur_cb): removed. (process_component): changed to not expand recurrences at all, this is now done on the model. (row_deleted_check_cb, remove_uid_cb): removed these functions. (model_rows_deleted_cb): changed to just remove the rows signalled from the model, which is the responsible for the recurrence expansion. (e_week_view_new): set the model to expand recurrences. (e_week_view_remove_event_cb): check the value searched in the array. Set the ECalModelComponent field to NULL after freeing it. (e_week_view_do_key_press): use e_week_view_find_event_from_uid correctly. * gui/dialogs/recur-comp.c (recur_component_dialog): remove the RECURRENCE-ID from the object when modifying all instances. svn path=/trunk/; revision=28166
* Add schema for Free/Busy template uri.James Bowes2004-12-181-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-18 James Bowes <bowes@cs.dal.ca> * gui/apps_evolution_calendar.schemas.in.in: Add schema for Free/Busy template uri. * gui/calendar-config-keys.h: * gui/calendar-config.c: (calendar_config_get_free_busy_template), (calendar_config_set_free_busy_template), (calendar_config_add_notification_free_busy_template): * gui/calendar-config.h: Functions to get, set and monitor the Free/Busy template uri gconf setting. * gui/dialogs/cal-prefs-dialog.c: (template_url_changed), (setup_changes), (get_widgets), (show_fb_config): * gui/dialogs/cal-prefs-dialog.glade: * gui/dialogs/cal-prefs-dialog.h: Change 'Free/Busy Publish' tab to 'Free/Busy'. Add an entry for setting the default Free/Busy uri. Only change the gconf setting on 'focus out' event * gui/e-meeting-store.c: (refresh_queue_remove): Check the hash using the attendee's mailto: address, rather than the memory address of the attendee object as the key. (e_meeting_store_get_fb_uri), (e_meeting_store_set_fb_uri): Get and set the EMeetingStore's Free/Busy template string. (process_callbacks_main_thread), (process_callbacks): Process callbacks in the main thread, so that widgets can be redrawn properly. (replace_string): Utility function for replacing wildcards in the default Free/Busy uri. (ems_finalize), (ems_init), (freebusy_async), (refresh_busy_periods), (refresh_queue_add), (e_meeting_store_refresh_busy_periods): Add the ability to check for Free/Busy information from a default location, if all else fails. (start_async_read): Use gnome-vfs to read the Free/Busy information. * gui/e-meeting-store.h: Add function prototypes for get and set fb_uri * gui/e-meeting-time-sel.c: (e_meeting_time_selector_init), (e_meeting_time_selector_destroy), (free_busy_timeout_refresh), (free_busy_template_changed_cb): Watch for a change in the Free/Busy template gconf setting, and check for new Free/Busy data if it occurs. * gui/e-meeting-time-sel.h: Include variable for notification function id on changes to the Free/Busy uri in the EMeetingTimeSelector . svn path=/trunk/; revision=28151
* Add callback function for doing ngettext on the "minutes" labelRodney Dawes2004-12-181-0/+9
| | | | | | | | | | | | | 2004-12-17 Rodney Dawes <dobey@novell.com> * gui/alarm-notify/alarm-notify-dialog.c (an_minutes_update_label): Add callback function for doing ngettext on the "minutes" label (alarm_notify_dialog): Get the "minutes" label from the glade file and set the callback for its "value_changed" signal Fixes #47535 svn path=/trunk/; revision=28146
* Correct some white space ugliness in the previous commit.Harish Krishnaswamy2004-12-141-0/+5
| | | | | | | | | 2004-12-13 Harish Krishnaswamy <kharish@novell.com> * gui/dialogs/calendar-setup.c : Correct some white space ugliness in the previous commit. svn path=/trunk/; revision=28116
* +2004-12-10 Vivek Jain <jvivek@novell.com>Jain Vivek2004-12-131-0/+5
| | | | | | | * gui/dialogs/calendar-setup.c : Changed the window title based upon the source. svn path=/trunk/; revision=28112
* keep a local copy of the ECal.Rodrigo Moya2004-12-091-0/+5
| | | | | | | | | 2003-12-09 Rodrigo Moya <rodrigo@novell.com> * gui/e-calendar-view.c (on_unrecur_appointment): keep a local copy of the ECal. svn path=/trunk/; revision=28101
* addressbook/gui/component/addressbook-migrate.cHans Petter Jansson2004-12-091-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-08 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/component/addressbook-migrate.c * addressbook/gui/component/select-names/e-select-names-completion.c * addressbook/gui/component/select-names/e-select-names-manager.c * addressbook/gui/component/select-names/e-select-names-model.h * addressbook/gui/contact-list-editor/e-contact-list-editor.h * addressbook/gui/contact-list-editor/e-contact-list-model.h * addressbook/gui/widgets/e-minicard.c * addressbook/gui/widgets/eab-gui-util.c * addressbook/importers/evolution-ldif-importer.c * addressbook/importers/evolution-vcard-importer.c: Include <libebook/e-destination.h> from evolution-data-server. * addressbook/util/Makefile.am: Remove e-destination.[ch] from here. * addressbook/util/e-destination.[ch]: Removed. * plugins/shared-folder/share-folder-common.c: Include <libebook/e-destination.h> from evolution-data-server. * calendar/gui/e-meeting-list-view.c * calendar/gui/e-select-names-editable.c * calendar/gui/dialogs/alarm-dialog.c * calendar/gui/dialogs/e-delegate-dialog.c: Include <libebook/e-destination.h> from evolution-data-server. * composer/e-msg-composer-hdrs.h: Include <libebook/e-destination.h> from evolution-data-server. * mail/importers/pine-importer.c: Include <libebook/e-destination.h> from evolution-data-server. svn path=/trunk/; revision=28094
* update the query so currently held events can be cleared off.Harish Krishnaswamy2004-12-081-0/+5
| | | | | | | * gui/e-week.c (time_range_changed_cb, e_week_view_set_first_day_shown): update the query so currently held events can be cleared off. svn path=/trunk/; revision=28088
* include plugin headers to fix 64 bit problems.David Mosberger2004-12-081-0/+4
| | | | | | | | 2004-12-08 David Mosberger <davidm@napali.hpl.hp.com> * gui/main.c: include plugin headers to fix 64 bit problems. svn path=/trunk/; revision=28081
* Fixes #67403Rodrigo Moya2004-12-061-0/+12
| | | | | | | | | | | | | | | 2004-12-06 Rodrigo Moya <rodrigo@novell.com> Fixes #67403 * gui/dialogs/event-page.c (sensitize_widgets): don't unsensitize the 'Customize' button, to allow users to look at the alarm list for read only events. * gui/dialogs/alarm-list-dialog.c (sensitize_buttons): unsensitize buttons if the event is read only. svn path=/trunk/; revision=28072
* add libeabutil, since we use e-destination.Not Zed2004-12-031-0/+5
| | | | | | | | | 2004-11-15 Not Zed <NotZed@Ximian.com> * gui/dialogs/Makefile.am (libcal_dialogs_la_LIBADD): add libeabutil, since we use e-destination. svn path=/trunk/; revision=28049
* Add a boolean variable to denote assigned task and construct the meetingChenthill Palanisamy2004-12-021-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-02 Chenthill Palanisamy <pchenthill@novell.com> * gui/dialogs/task-editor.[ch] (task_editor_new), (task_editor_construct), (show_assignment): Add a boolean variable to denote assigned task and construct the meeting page only for the assigned task. Set it as a group item in component editor. (_TaskEditorPrivate): added the boolean variable (is_assigned). (task_editor_init): initialized the variable. * gui/dialogs/comp-editor.[ch]: Added functions to set and get whether comp is a group item or individual item. * gui/comp-editor.c (make_title_from_string), (make_title_from_comp): Set the Title for the appointment editor window as "Meeting" or "Assigned Task" if its a group calendar/task item. (_CompEditorPrivate): added a boolean variable (is_group_item). (comp_editor_init): initialized the same. * gui/dialogs/event-editor.c (event_editor_construct), (show_meeting): Set whether the component is a group item or not in comp editor. * gui/e-calendar-table.c (e_calendar_table_open_task), (e_calendar_table_open_selected), (open_task_by_row): Check whether the component being opened is an assigned task by checking for attendees and call open_task with proper value for boolean variable assign. * gui/comp-editor-factory.c (edit_existing): * gui/e-calendar-table.c (open_task): * gui/e-tasks.c (e_tasks_new_task): * gui/gnome-cal.c (gnome_calendar_new_task): * gui/tasks-component.c (create_new_todo): Called the function task_editor_new with a added argument. svn path=/trunk/; revision=28044
* Free the string day_view->last_edited_comp_string before changingChenthill Palanisamy2004-12-021-0/+8
| | | | | | | | | | | | 2004-12-02 Chenthill Palanisamy <pchenthill@novell.com> * gui/e-day-view.c (e_day_view_finish_resize), (e_day_view_reshape_day_event) (e_day_view_change_event_time): Free the string day_view->last_edited_comp_string before changing assigning it another value. * gui/e-week-view.c (e_week_view_change_event_time): Free the string week_view->last_edited_comp_string for the same reason above. svn path=/trunk/; revision=28042
* committed this file. Missed to commit this one.Chenthill Palanisamy2004-11-291-0/+4
| | | | | | | | 2004-11-29 Chenthill Palanisamy <pchenthill@novell.com> * calendar-errors.xml.h: committed this file. Missed to commit this one. svn path=/trunk/; revision=28010
* Moved the call for the warning dialog (send_component_prompt_subject)Chenthill Palanisamy2004-11-291-0/+6
| | | | | | | | | | 2004-11-29 Chenthill Palanisamy <pchenthill@novell.com> * gui/dialogs/comp-editor.c (response_cb): Moved the call for the warning dialog (send_component_prompt_subject) after the component is saved (save_comp_with_send). svn path=/trunk/; revision=28009
* dittoJP Rosevear2004-11-261-0/+7
| | | | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * gui/alarm-notify/alarm-queue.c (display_notification): ditto * gui/e-timezone-entry.c (e_timezone_entry_init): get the image directly from the icon factory svn path=/trunk/; revision=27996
* prevent crash if there is no descriptionJP Rosevear2004-11-261-0/+5
| | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * gui/alarm-notify/alarm-queue.c (display_notification): prevent crash if there is no description svn path=/trunk/; revision=27994
* Evo UI Hackfest : harishHarish Krishnaswamy2004-11-251-0/+15
| | | | | | | | | | | | | | | | | * gui/calendar-component.c: (new_calendar_cb), (edit_calendar_cb): Use modified_setup_edit_calendar call. (popup_event_cb): If source is null (Rt click on a source group), show the new calendar popup menu item. Else, do not show the new calendar option. * gui/dialogs/calendar-setup.[ch] (eccp_get_source_type): Compare the source_groups by their uid and not the pointers, so that the correct option is activated on the combo box. (calendar_setup_edit_calendar) : add a source_group parameter to the function. (calendar_setup_new_calendar): Use modified signature of the above function. * gui/e-calendar-view.c (on_edit_appointment): check the icalcomponent to see if it is a meeting and set the argument to e_calendar_view_edit_appointment correctly. svn path=/trunk/; revision=27991
* removed the call for comp_editor_show_page, so that the event page showsChenthill Palanisamy2004-11-251-0/+7
| | | | | | | | | | | 2004-11-25 Chenthill Palanisamy <pchenthill@novell.com> * gui/dialogs/event-deitor.c (show_meeting): removed the call for comp_editor_show_page, so that the event page shows up at first instead of meeting page when a meeting is opened. svn path=/trunk/; revision=27988
* Added two error ids to display use it when the meeting is created withoutChenthill Palanisamy2004-11-251-0/+10
| | | | | | | | | | | | | | 2004-11-25 Chenthill Palanisamy <pchenthill@novell.com> * calendar-errors.xml: Added two error ids to display use it when the meeting is created without a summary. * gui/dialogs/send-comp.[ch] (send_component_prompt_subject): Added a function to prompt for a dialog when a meeting/assigned task is sent without a summary. * gui/dialogs/comp-editor.c (response_cb): Called the above mentioned function when the summary is not present. svn path=/trunk/; revision=27987
* Add gtkimage.h to includes, and remove gtkhtml headers Add and remove someRodney Dawes2004-11-231-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-23 Rodney Dawes <dobey@novell.com> * gui/alarm-notify/alarm-notify-dialog.[ch]: Add gtkimage.h to includes, and remove gtkhtml headers Add and remove some widgets in the AlarmNotify struct (dialog_destroy_cb, delete_event_cb, close_clicked_cb): (snooze_clicked_cb, edit_clicked_cb, url_requested_cb): (make_html_display, write_times, write_html_heading): (alarm_notify_dialog_disable_buttons): Remove all these unneeded functions (no more GtkHTML in the dialog) (alarm_notify_dialog): Add description and location arguments Rename message argument to summary Update gtk-doc comment block to reflect API changes Clean up code to use gtk_dialog_run () and use a HIG compliant dialog * gui/alarm-notify/alarm-notify.glade: Update the alarm notify dialog to be HIG compliant and not use GtkHTML, and display more information that is relevant to the appointment we are alerting of * gui/alarm-notify/alarm-queue.c: Add new variables to the TrayIconData structure so we can access the description and location (on_dialog_objs_removed_cb): Remove alarm_dialog bits (notify_dialog_cb): Remove alarm_dialog bits (tray_icon_destroyed_cb): Free the description and location as well (open_alarm_dialog): alarm_notify_dialog does all the work now, we don't need to trap the dialog widget here (display_notification): Add code to get the description and location information from the cal component Avoid using an alarm component which has less useful API Fix a warning when creating the tray_icon widget svn path=/trunk/; revision=27971
* Don't try to convert the results of timet_to_str_with_zone to UTF-8, sinceRodney Dawes2004-11-091-0/+8
| | | | | | | | | | | | 2004-11-08 Rodney Dawes <dobey@novell.com> * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading): Don't try to convert the results of timet_to_str_with_zone to UTF-8, since the return value is already encoded in UTF-8 Fixes #47529 svn path=/trunk/; revision=27866
* expand the horizontal box so that it fills all available space.Rodrigo Moya2004-11-041-0/+6
| | | | | | | | | | 2004-11-04 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/event-page.glade: * gui/dialogs/task-page.glade: expand the horizontal box so that it fills all available space. svn path=/trunk/; revision=27840
* added EConfig subclass for calendars initialize plugin hooks on componentDavid Trowbridge2004-11-041-0/+7
| | | | | | | | | | | 2004-11-03 David Trowbridge <trowbrds@cs.colorado.edu> * gui/e-cal-config.c: added EConfig subclass for calendars * gui/calendar-component.c, gui/tasks-component.c: initialize plugin hooks on component startup. * gui/dialogs/calendar-setup.c: Converted to use EConfig svn path=/trunk/; revision=27832
* Fixes #6767Li Yuan2004-11-041-0/+16
| | | | | | | | | | | | | | | | | | | | 2004-11-04 Li Yuan <li.yuan@sun.com> Fixes #6767 * gui/e-day-view-main-item.c: (e_day_view_main_item_draw_day_event): use widget->style instead of hard code colors. * gui/e-day-view.c: (e_day_view_realize), (e_day_view_set_colors), (e_day_view_style_set), (e_day_view_reshape_long_event), (e_day_view_reshape_day_event): ditto. * gui/e-week-view.c: (e_week_view_realize), (e_week_view_set_colors), (e_week_view_style_set), (e_week_view_reshape_event_span): ditto. svn path=/trunk/; revision=27827
* make sure the day view times redraw themselves if we switch 24/12 hourJP Rosevear2004-11-031-0/+5
| | | | | | | | | 2004-11-02 JP Rosevear <jpr@novell.com> * gui/e-day-view-config.c (set_twentyfour_hour): make sure the day view times redraw themselves if we switch 24/12 hour modes svn path=/trunk/; revision=27801
* Fixes #68707JP Rosevear2004-11-031-0/+7
| | | | | | | | | | | 2004-11-02 JP Rosevear <jpr@novell.com> Fixes #68707 * gui/e-week-view-event-item.c (e_week_view_event_item_draw): restrict the range to 0-23 (midnight end times became '24') svn path=/trunk/; revision=27799
* added hook doco.Not Zed2004-10-281-0/+7
| | | | | | | | | | | 2004-10-28 Not Zed <NotZed@Ximian.com> * gui/tasks-component.c (popup_event_cb): * gui/e-calendar-view.c (e_calendar_view_create_popup_menu): * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): * gui/calendar-component.c (popup_event_cb): added hook doco. svn path=/trunk/; revision=27751
* don't expand recurrences for the list view.Rodrigo Moya2004-10-281-1/+6
| | | | | | | | | 2004-10-27 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-list-view.c (e_cal_list_view_new): don't expand recurrences for the list view. svn path=/trunk/; revision=27739
* Add status bits to denote if the calendar source is available offline soHarish Krishnaswamy2004-10-221-0/+7
| | | | | | | | | * gui/e-cal-popup.[ch]: (e_cal_popup_target_new_source): Add status bits to denote if the calendar source is available offline so that plugins to calendar popups can use the status qualifier to denote their visibility preferences. svn path=/trunk/; revision=27680
* use the new source selector dialog in libedataserverui.Rodrigo Moya2004-10-221-0/+5
| | | | | | | | | 2004-10-21 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/select-source-dialog.c: use the new source selector dialog in libedataserverui. svn path=/trunk/; revision=27679
* put an icon on the properties menu itemJP Rosevear2004-10-211-0/+9
| | | | | | | | | | | | | 2004-10-20 JP Rosevear <jpr@novell.com> * gui/calendar-component.c: put an icon on the properties menu item * gui/tasks-component.c: ditto * gui/main.c (initialize): register plugin hooks for tasks and calendar svn path=/trunk/; revision=27656
* correct classidJP Rosevear2004-10-201-0/+4
| | | | | | | | 2004-10-20 JP Rosevear <jpr@novell.com> * gui/e-cal-popup.c (ecalph_class_init): correct classid svn path=/trunk/; revision=27647
* convert to org.gnome hook namesJP Rosevear2004-10-201-0/+7
| | | | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * gui/calendar-component.c, gui/e-cal-menu.c, gui/e-cal-popup.c, gui/e-calendar-table.c, gui/e-calendar-view.c, gui/gnome-cal.c, gui/tasks-component.c, gui/alarm-notify/alarm-queue.c, gui/dialogs/meeting-page.c: convert to org.gnome hook names svn path=/trunk/; revision=27638
* Use e_cal_component_has_attendees to test if it is a meeting. By default,Harish Krishnaswamy2004-10-201-0/+11
| | | | | | | | | | | | | * gui/comp-editor-factory.c: (edit_existing): Use e_cal_component_has_attendees to test if it is a meeting. * gui/dialogs/event-editor.c: (event_editor_init): By default, the event is not a meeting. (event_editor_construct): Do not add the invitation, scheduling pages to the editor if it is not a meeting. * gui/e-day-view.c: (e_day_view_on_event_double_click): check the icalproperty to test if the event is a meeting. svn path=/trunk/; revision=27628
* listen to the canvas for focus events (setup_widgets): listen for listenJP Rosevear2004-10-191-0/+10
| | | | | | | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (connect_list_view_focus): listen to the canvas for focus events (setup_widgets): listen for listen view selection changes * gui/e-cal-list-view.c (setup_e_table): listen for the cursor to move (e_cal_list_view_cursor_change_cb): indicate the selection changed svn path=/trunk/; revision=27623
* gui/comp-editor-factory.c (edit_existing),Harish Krishnaswamy2004-10-191-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/calendar-component.c (create_new_event): * gui/e-calendar-view.c: (e_calendar_view_edit_appointment): * gui/comp-editor-factory.c (edit_existing), * (edit_new): * gui/dialogs/event-editor.c * (event_editor_edit_comp), (event_editor_new): updated the calls to event_editor_new with additional argument. * gui/dialogs/event-editor.h: * add parameter * is_meeting to distinguish between events and meetings. * gui/dialogs/meeting-page.c: * (sensitize_widgets): use explicit GError variable so that BUSY_ERROR conditions do not lead us to think the calendar is readonly. * gui/e-meeting-store.c: * (refresh_queue_remove), * (ems_init), (e_meeting_store_remove_attendee), (freebusy_async), (refresh_busy_periods), (refresh_queue_add): Make free-busy calls to backends async. Fixed the problem of spurious attendees getting added to the refresh_data. svn path=/trunk/; revision=27614
* dont access a NULL client.Not Zed2004-10-181-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-14 Not Zed <NotZed@Ximian.com> * gui/e-cal-menu.c (e_cal_menu_target_new_select): dont access a NULL client. * gui/gnome-cal.c (gnome_calendar_get_taskpad_menu) (gnome_calendar_get_calendar_menu): accessors to get the menu managers. (gnome_calendar_init): setup menu managers. 2004-10-13 Not Zed <NotZed@Ximian.com> * gui/calendar-commands.c (calendar_control_activate) (calendar_control_deactivate): activate and deactivate the calendar and taskpad menu handlers. (sensitize_items): helper to sensitise items based on target masks. (calendar_control_sensitize_calendar_commands): update the calendar menu manager target appropriately. (sensitize_taskpad_commands): same for the taskpad. * gui/e-cal-menu.[ch]: Targets for main menu management. * gui/e-cal-popup.c (e_cal_popup_target_new_select): fix cast. Also include the tasks stuff in the hook metadata. svn path=/trunk/; revision=27607
* remove useless ifdef'd out statement (its been unused for 3+ years)JP Rosevear2004-10-161-0/+5
| | | | | | | | | 2004-10-15 JP Rosevear <jpr@novell.com> * gui/calendar-commands.c (calendar_control_activate): remove useless ifdef'd out statement (its been unused for 3+ years) svn path=/trunk/; revision=27599
* remove prototypeJP Rosevear2004-10-161-0/+6
| | | | | | | | | | 2004-10-15 JP Rosevear <jpr@novell.com> * gui/calendar-commands.h (calendar_goto_today): remove prototype * gui/calendar-commands.c: remove dead function svn path=/trunk/; revision=27598
* convert to G_DEFINE_TYPEJP Rosevear2004-10-141-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/e-meeting-attendee.c: convert to G_DEFINE_TYPE * gui/e-meeting-list-view.c: ditto * gui/e-meeting-time-sel.c: ditto * gui/e-meeting-time-sel-item.c: ditto * gui/e-select-names-renderer.c: ditto * gui/e-timezone-entry.c: ditto * gui/e-tasks.c: ditto * gui/gnome-cal.c: ditto * gui/weekday-picker.c: ditto svn path=/trunk/; revision=27584
* convert to G_DEFINE_TYPEJP Rosevear2004-10-141-0/+12
| | | | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/e-cell-date-edit-config.c: convert to G_DEFINE_TYPE * gui/e-cell-date-edit-text.c: ditto * gui/e-comp-editor-registry.c: ditto * gui/e-date-edit-config.c: ditto * gui/e-mini-calendar-config.c: ditto svn path=/trunk/; revision=27583
* convert to G_DEFINE_TYPEJP Rosevear2004-10-141-0/+18
| | | | | | | | | | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/e-cal-list-view-config.c: convert to G_DEFINE_TYPE * gui/e-cal-list-view.c: ditto * gui/e-cal-model-calendar.c: ditto * gui/e-cal-model-tasks.c: ditto * gui/e-cal-model.c: ditto * gui/e-calendar-table-config.c: ditto * gui/e-calendar-table.c: ditto * gui/e-calendar-view.c: ditto svn path=/trunk/; revision=27580
* convert to G_DEFINE_TYPEJP Rosevear2004-10-141-0/+10
| | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/calendar-view.c: convert to G_DEFINE_TYPE * gui/calendar-view-factory.c: ditto * gui/cal-search-bar.c: ditto * gui/e-cal-component-preview.c: ditto svn path=/trunk/; revision=27579
* convert to G_DEFINE_TYPEJP Rosevear2004-10-141-0/+12
| | | | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/e-week-view-config.c: convert to G_DEFINE_TYPE * gui/e-week-view-event-item.c: ditto * gui/e-week-view-main-item.c: ditto * gui/e-week-view-titles-item.c: ditto * gui/e-week-view.c: ditto svn path=/trunk/; revision=27578
* convert to G_DEFINE_TYPEJP Rosevear2004-10-141-1/+13
| | | | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/e-day-view.c: convert to G_DEFINE_TYPE * gui/e-day-view-config.c: ditto * gui/e-day-view-main-item.c: ditto * gui/e-day-view-time-item.c: ditto * gui/e-day-view-top-item.c: ditto svn path=/trunk/; revision=27577
* conver to G_DEFINE_TYPEJP Rosevear2004-10-141-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/dialogs/comp-editor.c: conver to G_DEFINE_TYPE * gui/dialogs/meeting-page.c: ditto * gui/dialogs/recurrence-page.c: ditto * gui/dialogs/schedule-page.c: ditto * gui/dialogs/e-delegate-dialog.c: ditto * gui/dialogs/event-editor.c: ditto * gui/dialogs/task-editor.c: ditto * gui/dialogs/task-details-page.c: ditto * gui/dialogs/select-source-dialog.c (primary_selection_changed_cb): fix warning svn path=/trunk/; revision=27576
* dittoJP Rosevear2004-10-141-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-13 JP Rosevear <jpr@novell.com> * gui/dialogs/task-page.c: ditto * gui/calendar-component.h: remove e-source-selector include * gui/tasks-component.h: ditto * gui/calendar-component.c: update include to libedataserverui for source selector and option menus * gui/e-cal-popup.c: ditto * gui/dialogs/url-editor-dialog.h: ditto * gui/dialogs/select-source-dialog.c: ditto * gui/tasks-component.c: ditto * importers/icalendar-importer.c: ditto * gui/e-itip-control.c: ditto; use G_DEFINE_TYPE instead of E_MAKE_TYPE * gui/dialogs/event-page.c: ditto * gui/dialogs/task-page.c: ditto svn path=/trunk/; revision=27569
* If main_canvas has focus, do not grub it. Emit the selected_time_changedLi Yuan2004-10-131-0/+7
| | | | | | | | | | | 2004-10-12 Li Yuan <li.yuan@sun.com> * gui/e-day-view.c: (e_day_view_on_main_canvas_button_press): * gui/e-week-view.c: (e_week_view_on_button_press): If main_canvas has focus, do not grub it. Emit the selected_time_changed signal after the selection day changed. svn path=/trunk/; revision=27563
* convert menu to epopup.Not Zed2004-10-121-0/+5
| | | | | | | | | 2004-10-12 Not Zed <NotZed@Ximian.com> * gui/dialogs/meeting-page.c (button_press_event): convert menu to epopup. svn path=/trunk/; revision=27555
* removed. (e_calendar_table_show_popup_menu): convert to use e-popup forNot Zed2004-10-121-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-12 Not Zed <NotZed@Ximian.com> * gui/e-calendar-table.c (setup_popup_icons): removed. (e_calendar_table_show_popup_menu): convert to use e-popup for pluggable popup menu. (e_calendar_table_on_open_task, e_calendar_table_on_save_as) (e_calendar_table_on_print_task, e_calendar_table_on_cut) (e_calendar_table_on_copy, e_calendar_table_on_paste) (e_calendar_table_on_assign, e_calendar_table_on_forward) (delete_cb): (mark_as_complete_cb, open_url_cb): convert to epopup callbacks. Moved all of the callbacks above the table rather than maintaining forward declarations for some of them. * gui/e-cal-popup.c (e_cal_popup_target_new_select): add the task required masks, and make one vs many mutally exclusive. * gui/e-calendar-view.c (e_calendar_view_create_popup_menu): copy/setup the event list here. * gui/e-cal-popup.c (e_cal_popup_target_new_select): take model + events rather than the calendar view. svn path=/trunk/; revision=27553
* When the start year and the end year are the same, the num should beLi Yuan2004-10-121-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-12 Li Yuan <li.yuan@sun.com> * gui/calendar-commands.c: (calendar_get_text_for_folder_bar_label): When the start year and the end year are the same, the num should be displayed in start time. * gui/dialogs/alarm-dialog.glade: Add names to comboxes in alarm-dialog page. * gui/dialogs/cal-prefs-dialog.glade: Add labbled_by relation for e_date_edit. Add names to comboxes in general tab and display tab. Add shortcut keys to start_of_day_label and end_of_day_label. * gui/dialogs/event-page.c: (init_widgets): Use the default text_buffer of gtk_text_view instead of creating one. * gui/dialogs/event-page.glade: Add labbled_by relation for e_date_edit. * gui/dialogs/meeting-page.glade: Set an atk name for organizer widget. * gui/dialogs/task-page.c: (init_widgets): Use the default text_buffer of gtk_text_view instead of creating one. * gui/dialogs/task-page.glade: Add labbled_by relation for e_date_edit. Add a11y names to task description and categories. * gui/e-alarm-list.c: (e_alarm_list_iter_n_children): Remove the iter checker. The iter can't have a valid value at this time. * gui/e-date-time-list.c: (e_date_time_list_iter_n_children): Remove the iter checker. The iter can't have a valid value at this time. * gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct): Add labbled_by relation for e_date_edit. * gui/e-timezone-entry.c: (e_timezone_entry_class_init), (e_timezone_entry_init), (e_timezone_entry_mnemonic_activate), (e_timezone_entry_focus): Add a focus handler for e-timezone-entry. Set an atk name for the button. * gui/e-week-view.c: (e_week_view_do_cursor_key_up), (e_week_view_do_cursor_key_down), (e_week_view_do_cursor_key_left), (e_week_view_do_cursor_key_right), (e_month_view_do_cursor_key_up), (e_month_view_do_cursor_key_down), (e_month_view_do_cursor_key_left), (e_month_view_do_cursor_key_right): Emit the selected_time_changed signal after the selection day changed. svn path=/trunk/; revision=27550
* convert to epopup. (add_popup_menu_item): removed, now redundant.Not Zed2004-10-121-1/+7
| | | | | | | | | | 2004-10-11 Not Zed <NotZed@Ximian.com> * gui/alarm-notify/alarm-queue.c (tray_icon_clicked_cb): convert to epopup. (add_popup_menu_item): removed, now redundant. svn path=/trunk/; revision=27546
* Fixes #45951Rodrigo Moya2004-10-121-0/+12
| | | | | | | | | | | | | | | | 2004-10-08 Rodrigo Moya <rodrigo@novell.com> Fixes #45951 * gui/dialogs/event-page.glade: * gui/dialogs/task-page.glade: attach the description field correctly to the table so that it scrolls correctly instead of making the dialog bigger as you write. * gui/dialogs/comp-editor.c (setup_widgets): no need to create an extra GtkVBox, just use the GtkDialog's one. svn path=/trunk/; revision=27538
* remove useless includeJP Rosevear2004-10-081-0/+6
| | | | | | | | | | 2004-10-07 JP Rosevear <jpr@novell.com> * gui/dialogs/cal-prefs-dialog.c: remove useless include * gui/dialogs/url-editor-dialog.c: ditto svn path=/trunk/; revision=27502
* guard config.hJP Rosevear2004-10-081-0/+16
| | | | | | | | | | | | | | | | | | | | 2004-10-07 JP Rosevear <jpr@novell.com> * gui/print.c: guard config.h * gui/tasks-control.c: guard config.h, remove useless include * gui/migration.c: remove useless include * gui/main.c: remove useless include * gui/e-calendar-view.h: #define the type * gui/calendar-offline-handler.c: remove useless include * gui/calendar-config.c: tidy header svn path=/trunk/; revision=27501
* guard config.h include, kill warning and remove useless includeJP Rosevear2004-10-081-0/+5
| | | | | | | | | 2004-10-07 JP Rosevear <jpr@novell.com> * gui/calendar-commands.c: guard config.h include, kill warning and remove useless include svn path=/trunk/; revision=27500
* Fixes #65932Rodrigo Moya2004-10-071-0/+12
| | | | | | | | | | | | | | | | 2004-10-06 Rodrigo Moya <rodrigo@novell.com> Fixes #65932 * common/authentication.c: keep a hash table of all the source lists. (auth_new_cal_from_uri): do a search in the source list for the given URI, and use that ESource if we find it. Also, keep the hash table of source lists up to date. * gui/comp-editor-factory.c (cal_opened_cb): don't assert on error cases, just display an error dialog. svn path=/trunk/; revision=27498
* rename to view_popup_factory. Make it build an epopup item list directly.Not Zed2004-10-071-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-06 Not Zed <NotZed@Ximian.com> * gui/gnome-cal.c (gnome_calendar_setup_view_popup): rename to view_popup_factory. Make it build an epopup item list directly. Can't re-use the galview cruft :-/ (gnome_calendar_discard_view_popup): no longer needed. (gc_set_view, gc_save_custom_view, gc_define_views_response) (gc_define_views): implement the gal-view popup menu items. * gui/gnome-cal.h: * gui/e-week-view.h: * gui/e-day-view.h: * gui/e-cal-list-view.h: removed old e-popup-menu header. * gui/e-calendar-view.c (setup_popup_icons): removed. (e_calendar_view_create_popup_menu): converted to use e-popup. (on_paste, on_copy, on_cut, on_delete_occurrence) (on_unrecur_appointment, on_delete_appointment, on_publish) (on_forward, on_meeting, on_move_to, on_copy_to, on_print_event) (on_save_as, on_print, on_edit_appointment, on_goto_today) (on_goto_date, on_new_task, on_new_meeting, on_new_event) (on_new_appointment): convert to use e-popup stuff. * gui/tasks-component.c (popup_event_cb): e-popup api changes. * gui/e-cal-popup.c (e_cal_popup_target_new_select): implement the selection target. (ecalp_target_free): and free it. * gui/e-cal-model.h: Make the ECalModel struct non-anonymous so it can be forward-declared. * gui/calendar-component.c (popup_event_cb): e-popup api changes. svn path=/trunk/; revision=27489
* Revert fix for #60551Rodrigo Moya2004-10-071-0/+7
| | | | | | | | | | | 2004-10-06 Rodrigo Moya <rodrigo@novell.com> Revert fix for #60551 * gui/dialogs/task-page.c (task_page_fill_component): start date can be after the due date, no need to compare. svn path=/trunk/; revision=27481
* Fixes #48116Iván Frade2004-10-071-0/+7
| | | | | | | | | | | 2004-10-02 Iván Frade <frade@asturlinux.org> Fixes #48116 * gui/dialogs/task-details.page.c (task_details_page_fill_component): Validation: completed date is not a future date. svn path=/trunk/; revision=27480
* cast warning away. (create_component_view): connect to popup_event ratherNot Zed2004-10-061-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-01 Not Zed <NotZed@Ximian.com> * gui/tasks-component.c (create_component_view): cast warning away. (create_component_view): connect to popup_event rather than fill_popup_menu. * gui/calendar-component.c (create_component_view): cast a warning away. * calendar-errors.xml: add prompt-delete-task-list. * gui/tasks-component.c (fill_popup_menu_cb): renamed to popup_event_cb, make use e-cal-popup. (edit_task_list_cb, new_task_list_cb, delete_task_list_cb) (copy_task_list_cb): deja-vu. update for api. (add_popup_menu_item): killed. murdered. drawn and quatered. (delete_task_list_cb): use e-error for the delete prompt. * gui/calendar-component.c (create_component_view): hook onto popup event instead of fill_popup_menu. * calendar-errors.xml: added prompt-delete-calendar. * gui/calendar-component.c (fill_popup_menu_cb): rename to popup_event_cb, make use e-cal-popup. (edit_calendar_cb, new_calendar_cb, delete_calendar_cb) (copy_calendar_cb): fix for api changes. (add_popup_menu_item): removed. (delete_calendar_cb): use e-error for the delete thing. * gui/e-cal-popup.[ch]: calendar popup driver. svn path=/trunk/; revision=27467
* Fixes #64683Rodrigo Moya2004-09-301-0/+8
| | | | | | | | | | | | 2004-09-29 Rodrigo Moya <rodrigo@novell.com> Fixes #64683 * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): create a scrolled window for the attendees list, and synchronize it with the scrolling in the F/B area. svn path=/trunk/; revision=27425
* ** See bug #66736.Not Zed2004-09-291-0/+7
| | | | | | | | | | | 2004-09-28 Not Zed <NotZed@Ximian.com> ** See bug #66736. * gui/e-itip-control.c (e_itip_control_set_data): noop if we were destroyed (priv == null). svn path=/trunk/; revision=27418
* Fixes #61766JP Rosevear2004-09-281-0/+16
| | | | | | | | | | | | | | 2004-09-28 JP Rosevear <jpr@novell.com> Fixes #61766 * gui/migration.c (create_calendar_contact_source): set a color for the contacts (create_calendar_sources): set a color for the personal source and make in primary and default if nothing else is either (create_task_sources): ditto for tasks personal source svn path=/trunk/; revision=27414
* Fixes #65599Rodrigo Moya2004-09-271-0/+9
| | | | | | | | | | | | | 2004-09-24 Rodrigo Moya <rodrigo@novell.com> Fixes #65599 * gui/itip-utils.c (comp_fb_normalize): don't use NULL properties. * gui/e-pub-utils.c (e_pub_publish): use auth_new_cal_from_source() instead of auth_new_cal_from_uri(). svn path=/trunk/; revision=27394
* Fixes #66344JP Rosevear2004-09-241-0/+12
| | | | | | | | | | | | | | | | 2004-09-24 JP Rosevear <jpr@novell.com> Fixes #66344 * gui/e-cal-model-calendar.c (get_dtend): check for existence of property and null time instead of sending through bad data * gui/e-cal-model.c (get_dtstart): ditto * gui/e-cal-model-tasks.c (get_completed): ditto (get_due): ditto svn path=/trunk/; revision=27368
* Fixes #63513 Now the myaddress can be set to ecal address since ok will beChenthill Palanisamy2004-09-241-0/+7
| | | | | | | | | | | 2004-09-24 Chenthill Palanisamy <pchenthill@novell.com> Fixes #63513 * gui/e-itip-control.c (ok_clicked_cb): Now the myaddress can be set to ecal address since ok will be sentized only when ecal is loaded. svn path=/trunk/; revision=27362
* dittoJP Rosevear2004-09-231-0/+7
| | | | | | | | | | | 2004-09-22 JP Rosevear <jpr@novell.com> * gui/calendar-component.c (fill_popup_menu_cb): ditto * gui/tasks-component.c (fill_popup_menu_cb): don't allow a delete of the system calendar svn path=/trunk/; revision=27339
* Fixes #60904JP Rosevear2004-09-221-1/+13
| | | | | | | | | | | | | | | | 2004-09-21 JP Rosevear <jpr@novell.com> Fixes #60904 * gui/gnome-cal.c (set_week_start): update the view (get_times_for_views): mimic the work week guessing code exactly for calculating the time range needed instead of hardcoding 5 days (set_working_days): new routine to update the view (working_days_changed_cb): use above when getting config change notification (setup_config): set working days and add notification svn path=/trunk/; revision=27320
* Fixes #66158JP Rosevear2004-09-221-0/+7
| | | | | | | | | | | 2004-09-20 JP Rosevear <jpr@novell.com> Fixes #66158 * gui/e-cal-model-tasks.c (e_cal_model_tasks_mark_task_complete): notify of change so completion status updates immediately svn path=/trunk/; revision=27319
* Fixes #59194JP Rosevear2004-09-221-0/+7
| | | | | | | | | | | 2004-09-21 JP Rosevear <jpr@novell.com> Fixes #59194 * gui/e-cal-model-calendar.c (get_location): return "" instead of NULL svn path=/trunk/; revision=27317
* Fixes #65682 check the static capability before booking the deletion.Chenthill Palanisamy2004-09-211-0/+7
| | | | | | | | | | | 2004-09-21 Chenthill Palanisamy <pchenthill@novell.com> Fixes #65682 * gui/itip-utils.c (itip_send_comp): check the static capability before booking the deletion. svn path=/trunk/; revision=27313
* Fixes #55172JP Rosevear2004-09-201-0/+8
| | | | | | | | | | | | 2004-09-15 JP Rosevear <jpr@novell.com> Fixes #55172 * conduits/calendar/calendar-conduit.c (local_record_from_comp): handle -1 (last) for monthly recurrences and check both by_set_pos and by_day since either can indicate this type of recurrence svn path=/trunk/; revision=27308
* Fixes #66174Tony Tsui2004-09-201-0/+6
| | | | | | | | | | 2004-09-20 Tony Tsui <ttsui9@gmail.com> Fixes #66174 * gui/dialogs/meeting-page.c (existing_attendee): fixed memory leak. svn path=/trunk/; revision=27303
* Fixes bug #65051Hannah & Fazlu2004-09-201-0/+7
| | | | | | | | | | | 2004-09-10 Hannah & Fazlu <hannah_lins@yahoo.co.in> Fixes bug #65051 * calendar/gui/dialogs/task-page.c (task_page_fill_component): Compared the dates and time svn path=/trunk/; revision=27302
* Fixes #62374Rodrigo Moya2004-09-171-1/+15
| | | | | | | | | | | | | | | | | | 2004-09-10 Rodrigo Moya <rodrigo@novell.com> Fixes #62374 * gui/alarm-notify/alarm-queue.c (load_missed_alarms): removed this function. (cal_opened_cb): no need to call load_missed_alarms, load_alarms_for_today will do everything. (alarm_queue_add_client): ditto. (load_alarms_for_today): take into account the last saved notification time. (load_alarms): unref the previous query, this function should now only be called once per time range. svn path=/trunk/; revision=27286
* Fixes #65454JP Rosevear2004-09-101-0/+12
| | | | | | | | | | | | | | | | 2004-09-09 JP Rosevear <jpr@novell.com> Fixes #65454 * gui/e-itip-control.c (class_init): only use a destroy function, no finalize (cleanup_ecal): util function (init): use above for hash table and killed destroyed flag (weren't using it anywhere) (destroy): collapse finalize work into here and guard against multiple destroy calls svn path=/trunk/; revision=27210
* Fixes #62728JP Rosevear2004-09-091-0/+7
| | | | | | | | | | | 2004-09-08 JP Rosevear <jpr@novell.com> Fixes #62728 * gui/e-week-view.c (e_week_view_set_week_start_day): trigger a redraw when changing the start day svn path=/trunk/; revision=27187
* Check the static capability to enable or disable the assign tasks in theChenthill Palanisamy2004-09-051-0/+12
| | | | | | | | | | | | | | | | 2004-09-05 Chenthill Palanisamy <pchenthill@novell.com> * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): Check the static capability to enable or disable the assign tasks in the popup menu. * gui/dialogs/recurrence-page.c (sensitize_buttons): Check for the static capability to convert a existing appointment to recurrence appointment for enabling or diabling the recurrence widgets. svn path=/trunk/; revision=27152
* Fixes #62392Rodrigo Moya2004-09-041-0/+8
| | | | | | | | | | | | 2004-08-31 Rodrigo Moya <rodrigo@novell.com> Fixes #62392 * gui/alarm-notify/alarm-queue.c (display_notification): ref the client's query object so that it doesn't disappear on us. (tray_icon_destroyed_cb): unref the query previously ref'ed. svn path=/trunk/; revision=27132
* include missing string.h, to avoid problems in 64 bit builds.Rodrigo Moya2004-09-021-0/+5
| | | | | | | | | 2004-08-31 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model-tasks.c: include missing string.h, to avoid problems in 64 bit builds. svn path=/trunk/; revision=27111
* constify the strings to remove a warning.Not Zed2004-08-301-0/+11
| | | | | | | | | | | | | | | 2004-08-27 Not Zed <NotZed@Ximian.com> * common/authentication.c (auth_func_cb): constify the strings to remove a warning. ** See bug #64856 (workaround). * common/authentication.c (auth_func_cb): * gui/e-pub-utils.c(e_pub_publish): add ONLINE flag to password request. svn path=/trunk/; revision=27077
* get the active state (insert_rsvp): set inital rsvp stateJP Rosevear2004-08-281-0/+8
| | | | | | | | | | | | 2004-08-28 JP Rosevear <jpr@novell.com> * gui/e-itip-control.c (rsvp_clicked_cb): get the active state (insert_rsvp): set inital rsvp state * gui/alarm-notify/alarm-queue.c (alarm_queue_add_client): load immediately if they are loaded svn path=/trunk/; revision=27057
* use the new 'has-alarms-in-range' query. (alarm_queue_add_client): makeRodrigo Moya2004-08-281-0/+6
| | | | | | | | | | 2004-08-27 Rodrigo Moya <rodrigo@novell.com> * gui/alarm-notify/alarm-queue.c (load_alarms): use the new 'has-alarms-in-range' query. (alarm_queue_add_client): make sure we don't add twice the same alarm. svn path=/trunk/; revision=27044
* Fixes #62911, #54101JP Rosevear2004-08-281-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-08-27 JP Rosevear <jpr@novell.com> Fixes #62911, #54101 * gui/e-itip-control.c (set_ok_sens): util routine to set sensitivity of OK button (cal_opened_cb): cal back when calendar opens, sensitize ok button (start_calendar_server): open async and take call back arg (source_selected_cb): desensitize ok button until calendar is loaded (find_cal_opened_cb): check to see if the calendar contains the object we are looking for, if none do show the source selector option menu (find_server): search async for the server (destroy): clean up html widget (finalize): instead of here (get_publish_options): use only object tag (get_request_options): ditto (get_request_fb_options): ditto (get_reply_options): ditto (get_refresh_options): ditto (get_cancel_options): ditto (show_current_event): use new options, remove groupwise NEEDS ACTION check, handle async loading (show_current_todo): use new options, handle async loading (option_activated_cb): record action (add_option): add action item (insert_boxes): layout widgets (insert_label): insert label (rsvp_clicked_cb): record rsvp status (insert_rsvp): insert rsvp check box (insert_ok): insert ok button (publish_options_object): spit out relevant options (request_options_object): ditto (freebusy_options_object): ditto (reply_options_object): ditto (refresh_options_object): ditto (cancel_options_object): ditto (object_requested_cb): handle object requests (ok_clicked_cb): use recorded actions svn path=/trunk/; revision=27043
* update protoJP Rosevear2004-08-271-0/+14
| | | | | | | | | | | | | | | | | | 2004-08-27 JP Rosevear <jpr@novell.com> * gui/alarm-notify/alarm-notify.h: update proto * gui/alarm-notify/alarm-notify.c (list_changed_cb): use per source type client hash (alarm_notify_init): ditto (alarm_notify_finalize): ditto (cal_opened_cb): ditto (alarm_notify_add_calendar): ditto (alarm_notify_remove_calendar): ditto, take source_type arg (load_calendars_cb): don't call list_changed if the source list is NULL svn path=/trunk/; revision=27042
* Don't mark component menu accels for translation.Christian Neumair2004-08-271-0/+5
| | | | svn path=/trunk/; revision=27036
* prepare the local record correctly, should fix copy to/from problems whenJP Rosevear2004-08-261-0/+7
| | | | | | | | | | | 2004-08-25 JP Rosevear <jpr@novell.com> * conduits/todo/todo-conduit.c (for_each): prepare the local record correctly, should fix copy to/from problems when syncing * conduits/calendar/calendar-conduit.c (for_each): ditto svn path=/trunk/; revision=27026
* Don't call gtk_dialog_set_has_separator on Gtk Message DialogFrédéric Crozat2004-08-251-0/+6
| | | | | | | * gui/dialogs/recur-comp.c: (recur_component_dialog): Don't call gtk_dialog_set_has_separator on Gtk Message Dialog svn path=/trunk/; revision=27017
* Reset the Status Bar message to NUll, if the status of the Calendar isChenthill Palanisamy2004-08-251-0/+6
| | | | | | | | | | 2004-08-25 Chenthill Palanisamy <pchenthill@novell.com> * gui/e-tasks.c (default_client_cal_opened_cb): Reset the Status Bar message to NUll, if the status of the Calendar is returned OK. svn path=/trunk/; revision=27015
* Fixes #58824Rodrigo Moya2004-08-251-2/+13
| | | | | | | | | | | | | | | | 2004-08-24 Rodrigo Moya <rodrigo@novell.com> Fixes #58824 * gui/gnome-cal.c (open_ecal): Only try to open the calendar if not loaded yet. (update_query, client_cal_opened_cb, default_client_cal_opened_cb, backend_died_cb): use always the same view for status messages. (gnome_calendar_set_activity_handler): set the activity handlers on all views, not just the current one. (display_view): no need to set the activity handler here. svn path=/trunk/; revision=27007
* Make the description scrolled window scroll policy "automatic" rather thanJeffrey Stedfast2004-08-241-13/+19
| | | | | | | | | | 2004-08-13 Jeffrey Stedfast <fejj@novell.com> * gui/dialogs/event-page.glade: Make the description scrolled window scroll policy "automatic" rather than "never". Fixes bug #62063. svn path=/trunk/; revision=26998
* initialize the mutext needed to prevent concurrect accessSivaiah Nallagatla2004-08-181-0/+13
| | | | | | | | | | | | | | | | 2004-08-18 Sivaiah Nallagatla <snallagatla@novell.com> * gui/alarm-notify/alarm-notify.c (alarm-notify_init) : initialize the mutext needed to prevent concurrect access priv->uri_clients_hash. Also install a timeout handler for loading sources which requires auth later (alarm_notify_finalize) : free the new mutex (load_calendars_cb) : call back which adds sources again after one minute (alarm_notify_add_calendar) : lock ad unlock the new mutex before and after accessing uri_clients_hash svn path=/trunk/; revision=26962
* Fixes #62706JP Rosevear2004-08-171-0/+7
| | | | | | | | | | | 2004-08-16 JP Rosevear <jpr@ximian.com> Fixes #62706 * gui/e-cal-model.c (e_cal_model_set_timezone): set the default timezone on the server svn path=/trunk/; revision=26955
* change the prototype of alarm_notify_add_calendar to take Esource insteadSivaiah Nallagatla2004-08-161-0/+12
| | | | | | | | | | | | | | | | 2004-08-16 Sivaiah Nallagatla <snallagatla@novell.com> * gui/alarm-notify/alarm-notify.h : change the prototype of alarm_notify_add_calendar to take Esource instead of uri * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar) : use auth_new_cal_from_source instead of _from_uri to create cal client also do not try to load the cal backend which require auth and for which there is no password availble in e-password seesion (list_changed_cb) (load_calendars) : pass Esource insted of uri to alarm_notify_add_calendar svn path=/trunk/; revision=26947
* initialize priv->default_lcient (default_client_cal_opened_cb) : unrefSivaiah Nallagatla2004-08-161-0/+11
| | | | | | | | | | | | | | | 2004-08-14 Sivaiah Nallagatla <snallagatla@novell.com> * gui/e-tasks.c (e_tasks_init) : initialize priv->default_lcient (default_client_cal_opened_cb) : unref priv->default_client and make it NULL (client_cal_opened_cb) : don't unref client explicitly as removing from priv->clients already does that. Remove client based on uid instead of uri (backend_died_cb) : Remove client based on uid insted of uri Fixes #62869 svn path=/trunk/; revision=26943
* make the button say Add Task List instead of Add Group (matches menu item)JP Rosevear2004-08-131-0/+5
| | | | | | | | | 2004-08-12 JP Rosevear <jpr@ximian.com> * gui/dialogs/calendar-setup.glade: make the button say Add Task List instead of Add Group (matches menu item) svn path=/trunk/; revision=26910
* added the property "use_filechooser" to the GnomeFileEntryCarlos Garnacho Parro2004-08-131-0/+5
| | | | | | | | | 2004-08-12 Carlos Garnacho Parro <carlosg@gnome.org> * gui/dialogs/alarm-dialog.glade: added the property "use_filechooser" to the GnomeFileEntry svn path=/trunk/; revision=26896
* epasswords api change.Not Zed2004-08-121-0/+5
| | | | | | | | | 2004-08-10 Not Zed <NotZed@Ximian.com> * gui/e-pub-utils.c (e_pub_publish): * common/authentication.c (auth_func_cb): epasswords api change. svn path=/trunk/; revision=26882
* Fixes #61555JP Rosevear2004-08-111-0/+9
| | | | | | | | | | | | | 2004-08-11 JP Rosevear <jpr@ximian.com> Fixes #61555 * gui/dialogs/meeting-page.c (existing_attendee): check if an attendee was pre-existing (remove_attendee): only add the attendee to the cancel comp if it was pre-existing svn path=/trunk/; revision=26870
* guard against re-running the same query.Rodrigo Moya2004-08-111-0/+5
| | | | | | | | | 2004-08-10 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (e_cal_model_set_search_query): guard against re-running the same query. svn path=/trunk/; revision=26868
* disconnect from signals also when using only the system tray. Fixes aRodrigo Moya2004-08-101-0/+6
| | | | | | | | | | 2004-08-10 Rodrigo Moya <rodrigo@novell.com> * gui/alarm-notify/alarm-queue.c (tray_icon_destroyed_cb): disconnect from signals also when using only the system tray. Fixes a crash when removing an event that had an alarm popup recently. svn path=/trunk/; revision=26862
* re-added 'Make this occurrence movable' menu item, gone by mistake.Rodrigo Moya2004-08-101-18/+24
| | | | | | | | | | 2004-08-09 Rodrigo Moya <rodrigo@novell.com> * gui/e-calendar-view.c: re-added 'Make this occurrence movable' menu item, gone by mistake. (on_unrecur_appointment): new callback for the new menu item. svn path=/trunk/; revision=26861
* Fixes #62452JP Rosevear2004-08-091-0/+12
| | | | | | | | | | | | | | | | 2004-08-06 JP Rosevear <jpr@ximian.com> Fixes #62452 * gui/e-itip-control.c (find_my_address): take option to retrieve current status as well, actually look for the delegator in the list so we can retrieve status there as well (show_current_event): use find_my_address to get the status so we properly handle not finding the address in the list of attendees (show_current): pass extra param (ok_clicked_cb): ditto svn path=/trunk/; revision=26856
* Fixes #62021JP Rosevear2004-08-081-0/+16
| | | | | | | | | | | | | | | | | | | | 004-08-06 JP Rosevear <jpr@ximian.com> Fixes #62021 * gui/dialogs/event-page.c (source_changed_cb): set the default timezone * gui/e-itip-control.c (start_calendar_server): set the default timezone * gui/calendar-component.c (setup_create_ecal): set the default timezone, as the component view is not alive and hence has not set it * gui/tasks-component.c (setup_create_ecal): ditto svn path=/trunk/; revision=26849
* Fix for bug #61673. The function takes two arguments now, instead of one.Parthasarathi S A2004-08-061-0/+15
| | | | | | | | | | | | | | | | | | | 2004-08-05 Parthasarathi S A <sparthasarathi@novell.com> Fix for bug #61673. * calendar/gui/dialogs/save_comp.c(save_component_dialog): The function takes two arguments now, instead of one. The second argument is the pointer to the ECalComponent from which the component type can be determined. Based on the component type the corresponding error message is displayed. * calendar/gui/dialogs/save_comp.h: Function definition updated for save_component_dialog. * calendar/gui/dialogs/comp_editor.c(prompt_to_save_changes): passing the ECalComponent pointer to the 'save_component_dialog' function * calendar/calendar-errors.xml: New error message string for task included * calendar/calendar-errors.xml.h svn path=/trunk/; revision=26839
* Fixes #62030Rodrigo Moya2004-08-061-4/+19
| | | | | | | | | | | | | | | | | | | 2004-08-05 Rodrigo Moya <rodrigo@novell.com> Fixes #62030 * gui/alarm-notify/alarm-queue.c (tray_icon_destroyed_cb): only remove the tray icon blinking timeout if we installed it. (display_notification): only install the tray icon blinking timeout if using the system tray. (tray_icon_blink_cb): use g_object_unref instead of the deprecated gdk_pixbuf_unref. * gui/alarm-notify/alarm.c (alarm_add): added missing argument documentation. svn path=/trunk/; revision=26838
* clean up all the default clients (default_client_cal_opened_cb): changeJP Rosevear2004-08-051-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 2004-08-03 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (gnome_calendar_destroy): clean up all the default clients (default_client_cal_opened_cb): change the if statement to a switch to be consistent with the other code bits and set the default client for the source type (gnome_calendar_add_source): look at the default based on the source type (gnome_calendar_set_default_source): set the default for the source type (gnome_calendar_new_task): bail out if we have no ecal * gui/gnome-cal.c (set_timezone): set the timezone for all the default clients * gui/calendar-component.c (update_primary_task_selection): look in the task source list, not the plain source list svn path=/trunk/; revision=26828
* kill warning by checking if there is a default client first (can happenJP Rosevear2004-08-051-0/+6
| | | | | | | | | | 2004-08-05 JP Rosevear <jpr@novell.com> * gui/tasks-control.c (tasks_control_sensitize_commands): kill warning by checking if there is a default client first (can happen when first starting up) svn path=/trunk/; revision=26827
* Fixes #62363JP Rosevear2004-08-051-0/+7
| | | | | | | | | | | 004-08-05 JP Rosevear <jpr@novell.com> Fixes #62363 * gui/calendar-component.c (create_new_event): commit the sequence svn path=/trunk/; revision=26826
* Handle decline request by using update_item rather than remove_item, soHarish Krishnaswamy2004-08-041-0/+7
| | | | | | | | | * gui/e-itip-control.c: (ok_clicked_cb): Handle decline request by using update_item rather than remove_item, so the backend receives the notification and can handle it. Also, do not rsvp if the backend has the 'save_schedule' capability. svn path=/trunk/; revision=26818
* get source list and source (todoconduit_dupe_configuration): copy sourceJP Rosevear2004-08-031-0/+17
| | | | | | | | | | | | | | | | | | | | | 2004-08-01 JP Rosevear <jpr@novell.com> * conduits/todo/todo-conduit.c (todoconduit_load_configuration): get source list and source (todoconduit_dupe_configuration): copy source list and source (todoconduit_destroy_configuration): unref source list and source (start_calendar_server): open the source that was set earlier (fill_widgets): set the source option menu value (create_settings_window): pass source list to pilot settings (save_settings): mark source with pilot-sync property * conduits/calendar/calendar-conduit.c: as above * conduits/todo/Makefile.am: link to and include misc. widgets * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=26798
* Fixes #57622Rodrigo Moya2004-08-021-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-30 Rodrigo Moya <rodrigo@novell.com> Fixes #57622 * gui/e-cal-model.h: added ECalModelFlags enum type. * gui/e-cal-model.c (e_cal_model_set_flags, e_cal_model_get_flags): new functions. (e_cal_model_init): initialize the new internal field to keep the flags. (e_cal_view_objects_added_cb): expand recurrences if the model flags contain the EXPAND_RECUR bit. (e_cal_view_objects_modified_cb): if EXPAND_RECUR is on, remove all recurrences and regenerate them. (e_cal_view_objects_removed_cb): remove all instances for given UIDs. (add_new_client): killed warning. (get_dtstart): use the instance_start time when dealing with recurrences. * gui/e-cal-model-calendar.c (get_dtend): use the instance_end time when dealing with recurrences. * gui/e-cal-list-view.c (e_cal_list_view_new): set the EXPAND_RECUR flag on the model for the list view. * gui/e-week-view.c (e_week_view_add_event): * gui/e-day-view.c (e_day_view_add_event): fill in the instance's start and end times in the ECalModelComponent struct. * gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence): use the instance_start field to retrieve the RECUR-ID, now that all the views fill it in. svn path=/trunk/; revision=26790
* creating new items no longer needs to be disabled since the user canJP Rosevear2004-08-011-0/+6
| | | | | | | | | | 2004-07-29 JP Rosevear <jpr@novell.com> * gui/e-calendar-view.c: creating new items no longer needs to be disabled since the user can switch to a writable calendar and the editor ui is disabled properly svn path=/trunk/; revision=26786
* use Invitations not Meetings (event_editor_edit_comp): dittoJP Rosevear2004-08-011-0/+6
| | | | | | | | | | 2004-07-31 JP Rosevear <jpr@novell.com> * gui/dialogs/event-editor.c (show_meeting): use Invitations not Meetings (event_editor_edit_comp): ditto svn path=/trunk/; revision=26785
* guard with is_instance instead of has_recurrences because most of theJP Rosevear2004-08-011-0/+14
| | | | | | | | | | | | | | | | | | 2004-07-31 JP Rosevear <jpr@novell.com> * gui/e-day-view.c (e_day_view_finish_long_event_resize): guard with is_instance instead of has_recurrences because most of the backends don't support this yet (e_day_view_finish_resize): ditto (e_day_view_change_event_time): ditto (e_day_view_on_editing_stopped): ditto (e_day_view_on_top_canvas_drag_data_received): ditto (e_day_view_on_main_canvas_drag_data_received): ditto * gui/e-week-view.c (e_week_view_change_event_time): ditto (e_week_view_on_editing_stopped): ditto svn path=/trunk/; revision=26784
* Handle E_CALENDAR_STATUS_BUSY conditions and do notHarish Krishnaswamy2004-07-301-0/+10
| | | | | | remove the source from the gnome-calendar. svn path=/trunk/; revision=26774
* hide dialog items that don't apply when editing properties.Larry Ewing2004-07-301-0/+7
| | | | | | | | | | | 004-07-28 Larry Ewing <lewing@novell.com> * gui/dialogs/calendar-setup.c (dialog_hide_unused_options): hide dialog items that don't apply when editing properties. (general_update_dialog): check to make sure we have a source before checking its state. svn path=/trunk/; revision=26773
* Fixes #62006JP Rosevear2004-07-291-0/+7
| | | | | | | | | | | 2004-07-27 JP Rosevear <jpr@novell.com> Fixes #62006 * gui/e-cal-model.c (add_new_client): don't load the events if we are already doing the query svn path=/trunk/; revision=26760
* Fixes #61058JP Rosevear2004-07-271-0/+14
| | | | | | | | | | | | | | | | | | 2004-07-25 JP Rosevear <jpr@ximian.com> Fixes #61058 * gui/e-week-view.c (process_component_recur_cb): add but don't prepend (process_component): use above as call back so we can pass the prepend bool (e_week_view_add_event): take a prepend bool and prepend to the events array if asked so the event will be shown first when drawn (e_week_view_do_key_press): If the event can't be fit on the screen, ie not even one event can be shown in the day, don't try to edit it svn path=/trunk/; revision=26741
* Fix mnemonic for "Location" to not be duplicated with "OK"Rodney Dawes2004-07-271-0/+15
| | | | | | | | | | | | | | | | | | | 2004-07-26 Rodney Dawes <dobey@novell.com> * gui/dialogs/event-page.glade: Fix mnemonic for "Location" to not be duplicated with "OK" * gui/dialogs/meeting-page.c (get_widgets): Get the "Attendees" label (meeting_page_construct): Fix padding of GtkScrolledWindow widget Set the mnemonic widget for the "Attendees" label * gui/dialogs/meeting-page.glade: Fix HIG spacing to be correct Fix the mnemonic for "Organizer" to not conflict Add mnemonic for "Attendees" * gui/dialogs/task-page.glade: Add mnemonic for "Description" svn path=/trunk/; revision=26737
* set a different title if we are editing; de-sensitize option menu if weJP Rosevear2004-07-261-0/+16
| | | | | | | | | | | | | | | | | | | | 2004-07-26 JP Rosevear <jpr@novell.com> * gui/dialogs/calendar-setup.c (calendar_setup_edit_calendar): set a different title if we are editing; de-sensitize option menu if we are editing (calendar_setup_edit_task_list): set a different title if we are editing * gui/dialogs/calendar-setup.glade: use task list instead of tasks group * gui/tasks-component.c (impl__get_userCreatableItems): add assigned task as an item, use task list instead of tasks group * gui/calendar--component.c (impl__get_userCreatableItems): fiddle with shortcuts svn path=/trunk/; revision=26735
* Fixes #59983 If the ecal component is already loaded, check for thepchenthill2004-07-261-1/+8
| | | | | | | | | | | 2004-07-25 pchenthill <pchenthill@novell.com> Fixes #59983 If the ecal component is already loaded, check for the participation status of the attendee and display the menu for selecting the calendar. svn path=/trunk/; revision=26732
* Fixes #61571JP Rosevear2004-07-241-1443/+9
| | | | | | | | | | | | 2004-07-23 JP Rosevear <jpr@ximian.com> Fixes #61571 * gui/e-week-view.c (e_week_view_start_editing_event): if the event moves, find it again using the model data as the invariant and then find the span again svn path=/trunk/; revision=26721
* Fixes #61760JP Rosevear2004-07-241-1/+8
| | | | | | | | | | | 2004-07-23 JP Rosevear <jpr@novell.com> Fixes #61760 * gui/e-cal-model.c (add_new_client): don't check against the URI, just against the client svn path=/trunk/; revision=26720
* Retracting the commit made below for #59983 as it has results in crashpchenthill2004-07-231-0/+5
| | | | | | | | | 2004-07-23 pchenthill <pchenthill@novell.com> * Retracting the commit made below for #59983 as it has results in crash some cases svn path=/trunk/; revision=26713
* Fixes #59983 If the ecal component is already loaded, check for thepchenthill2004-07-231-0/+8
| | | | | | | | | | | | 2004-07-23 pchenthill <pchenthill@novell.com> Fixes #59983 * gui/e-itip-control.c (show_current_event): If the ecal component is already loaded, check for the participation status of the attendee and display the menu for selecting the calendar. svn path=/trunk/; revision=26712
* fix the row heights and tweek the offsets so that things come out OK.Larry Ewing2004-07-231-0/+12
| | | | | | | | | | 2004-07-16 Larry Ewing <lewing@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set): fix the row heights and tweek the offsets so that things come out OK. svn path=/trunk/; revision=26706
* Fixes #61776JP Rosevear2004-07-221-0/+7
| | | | | | | | | | | 2004-07-21 JP Rosevear <jpr@novell.com> Fixes #61776 * gui/e-calendar-table.c (clipboard_get_text_cb): make sure the text is not NULL svn path=/trunk/; revision=26702
* Fixes #61738JP Rosevear2004-07-221-0/+10
| | | | | | | | | | | | | | 2004-07-21 JP Rosevear <jpr@novell.com> Fixes #61738 * gui/dialogs/meeting-page.c (clear_widgets): by default we have a user as organizer (sensitize_widgets): use user_org to determine widget sensitivity (meeting_page_fill_widgets): set user_org value appropriately (change_clicked_cb): set user_org to TRUE svn path=/trunk/; revision=26701
* Fixes #61779JP Rosevear2004-07-221-0/+10
| | | | | | | | | | | | | | 2004-07-21 JP Rosevear <jpr@novell.com> Fixes #61779 * gui/dialogs/task-page.c (init_widgets): listen for changes on start and due dates * gui/dialogs/task-details-page.c (init_widgets): listen for changes on completion date svn path=/trunk/; revision=26700
* include config.h. See #61395.Not Zed2004-07-221-0/+10
| | | | | | | | | | | | | | 2004-07-20 Not Zed <NotZed@Ximian.com> * gui/e-cal-model.c: * importers/icalendar-importer.c: * gui/dialogs/select-source-dialog.c: * gui/dialogs/copy-source-dialog.c: * gui/alarm-notify/util.c: * common/authentication.c: * gui/migration.c: include config.h. See #61395. svn path=/trunk/; revision=26694
* Fixes #61451JP Rosevear2004-07-201-0/+9
| | | | | | | | | | | | | 2004-07-16 JP Rosevear <jpr@novell.com> Fixes #61451 * gui/e-itip-control.c (get_cancel_options): don't give a cancel option if the event is no where to be found (show_current_event): pass in kind (show_current_todo): ditto svn path=/trunk/; revision=26678
* use short month forms to limit the maximum width of the label.Larry Ewing2004-07-201-1/+6
| | | | | | | | | 2004-07-16 Larry Ewing <lewing@ximian.com> * gui/calendar-component.c (set_info): use short month forms to limit the maximum width of the label. svn path=/trunk/; revision=26673
* Fixes #57142Rodrigo Moya2004-07-161-0/+15
| | | | | | | | | | | | | | | | | | | 2004-07-15 Rodrigo Moya <rodrigo@novell.com> Fixes #57142 * gui/e-day-view.c (e_day_view_on_editing_stopped): commit the sequence on the object before sending it to the backend. (e_day_view_add_event): s/abort_sequence/commit_sequence. * gui/e-week-view.c (e_week_view_on_editing_stopped): commit the sequence here also. (e_week_view_add_event): s/abort_sequence/commit_sequence. * gui/comp-util.c (cal_comp_event_new_with_current_time): don't commit the sequence here. svn path=/trunk/; revision=26665
* Fixes #61572JP Rosevear2004-07-161-341/+12
| | | | | | | | | | | | | | | 2004-07-14 JP Rosevear <jpr@novell.com> Fixes #61572 * gui/dialogs/schedule-page.c (times_changed_cb): call notify changed * gui/dialogs/comp-editor.c (page_summary_changed_cb): no need to mark the editor changed here, it doesn't do the right thing anyhow (page_dates_changed_cb): ditto svn path=/trunk/; revision=26659
* Fixes #60678JP Rosevear2004-07-151-0/+8
| | | | | | | | | | | | 2004-07-14 JP Rosevear <jpr@novell.com> Fixes #60678 * gui/dialogs/cancel-comp.c (cancel_component_dialog): flip the messages around, the "deleting" flag means something else is doing the deleting svn path=/trunk/; revision=26658
* Fixes #57287, 58748JP Rosevear2004-07-141-0/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-12 JP Rosevear <jpr@novell.com> Fixes #57287, 58748 * gui/tasks-component.c (source_added_cb): if the source was added in the main calendar, select it because the user caused this to happen by creating a task (create_component_view): listen for source_added signal on the tasks * gui/gnome-cal.c (view_selection_changed_cb): if the user created a task, make sure we are displaying the relevant event list (set_timezone): set the default zone of the default client (setup_widgets): listen for the user_created signal (gnome_calendar_destroy): clean up default client (client_cal_opened_cb): disconnect from the open signal (default_client_cal_opened_cb): set the default client on the models (open_ecal): make the callback function a param (gnome_calendar_add_source): include the default client when searching for an existing client (gnome_calendar_set_default_source): make the default client independent of the rest of the clients * gui/e-week-view.c (e_week_view_on_editing_stopped): emit user_created signal * gui/e-tasks.c (user_created_cb): if the user created a task, make sure we are displaying the relevant task list (set_timezone): set the timezone on the client (setup_widgets): listen for user_created signal (e_tasks_destroy): unref default client (default_client_cal_opened_cb): set the default on the model when it opens (open_ecal): open a task list (e_tasks_add_todo_source): include the default client when searching for an existing client (e_tasks_set_default_source): make the default client independent of the rest of the clients * gui/e-day-view.c (e_day_view_on_editing_stopped): emit user_created signal * gui/e-calendar-view.h: add signal proto * gui/e-calendar-view.c (e_calendar_view_class_init): add user_created signal * gui/e-calendar-table.h: add signal proto * gui/e-calendar-table.c (e_calendar_table_class_init): add user_created signal (row_appended_cb): if row is appended, emit user_created signal (e_calendar_table_init): listen for row_appended signal * gui/e-cal-model.h: add signal proto * gui/e-cal-model.c (e_cal_model_class_init): add row_appended signal (ecm_append_row): don't leak, emit row appended signal (e_cal_model_set_default_client): remove the existing default if it was only used as the default (update_e_cal_view_for_client): short circuit query create (add_new_client): look for an existing client and update its record if found, handle opening things here (e_cal_model_add_client): just call add_new_client (remove_client_objects): just remove a client's objects (remove_client): use above, handle removal of client if its default * gui/calendar-component.c (source_added_cb): if the source was added in the main calendar, select it because the user caused this to happen by creating an appointment (create_component_view): listen for source_added signal on the calendar svn path=/trunk/; revision=26644
* as belowRadek Doulik2004-07-131-0/+14
| | | | | | | | | | | | | | | | | | 2004-07-08 Radek Doulik <rodo@ximian.com> * gui/e-cal-model.c (e_cal_model_date_value_to_string): as below * gui/e-cal-model-calendar.c (ecmc_value_to_string): as below * gui/e-cal-model.c (ecm_value_to_string): as below * gui/e-cal-model-tasks.c (ecmt_value_to_string): dup the string value, it's free-ed later. instead of returning NULL return g_strdup ("") as gal does Fixes #56271 svn path=/trunk/; revision=26634
* Add this callback so we can set the paned position on realizeRodney Dawes2004-07-131-0/+10
| | | | | | | | | | | | | | 2004-07-12 Rodney Dawes <dobey#novell.com> * gui/e-tasks.c (pane_realized): Add this callback so we can set the paned position on realize (setup_widgets): Move the paned widget to the priv structure so that we can access it elsewhere (display_view_cb): Set the paned position when the view gets displayed Fixes #55653 svn path=/trunk/; revision=26624
* Update the layout of the dialog to be more usableRodney Dawes2004-07-131-0/+7
| | | | | | | | | | | 2004-07-12 Rodney Dawes <dobey@novell.com> * gui/dialogs/recur-comp.c (recur_component_dialog): Update the layout of the dialog to be more usable Partially fixes #56171 svn path=/trunk/; revision=26623
* busy should be opaque, not transparentJürg Billeter2004-07-121-0/+5
| | | | | | | | | 2004-07-11 Jürg Billeter <j@bitron.ch> * gui/dialogs/event-page.c (event_page_fill_component): busy should be opaque, not transparent svn path=/trunk/; revision=26619
* Revert my patches from July 5th and 6th.Rodrigo Moya2004-07-101-1/+11
| | | | | | | | | | | | | | 2004-07-09 Rodrigo Moya <rodrigo@novell.com> Revert my patches from July 5th and 6th. * gui/gnome-cal.c (gnome_calendar_init): call setup_config/widgets in the previous order. (setup_widgets): set the timezone on the views when creating them. (set_timezone): no need to set the timezone on the views here. (client_cal_opened_cb): removed call to set_timezone(). svn path=/trunk/; revision=26613
* Add an argument for the event_num so we can get the event object Draw theRodney Dawes2004-07-101-0/+11
| | | | | | | | | | | | | | | 2004-07-09 Rodney Dawes <dobey@novell.com> * gui/e-day-view-top-item.c (e_day_view_top_item_draw_triangle): Add an argument for the event_num so we can get the event object Draw the left/right triangles with the right color for the event Fix a small alignment bug with the triangle points * gui/e-week-view-event-item.c (e_week_view_event_item_draw_triangle): Draw the left/right triangles with the right color for the event Fix a small alignment bug with the triangle points svn path=/trunk/; revision=26609
* Fixes #60289Rodrigo Moya2004-07-101-0/+12
| | | | | | | | | | | | | | | | 2004-07-09 Rodrigo Moya <rodrigo@novell.com> Fixes #60289 * gui/dialogs/select-source-dialog.c (select_source_dialog): set the absolute URI on the selected source, so that the ESource we keep around has a valid URI. * gui/e-calendar-view.c (transfer_item_to): when copying appointments, change the UID. (transfer_selected_items): don't pass hardcoded values to transfer_item_to. svn path=/trunk/; revision=26608
* tarball should ship .schemas.in.in files, not generated files.Frédéric Crozat2004-07-091-0/+5
| | | | | | | * gui/Makefile.am: tarball should ship .schemas.in.in files, not generated files. svn path=/trunk/; revision=26605
* setup the widgets before the configuration.Rodrigo Moya2004-07-061-0/+5
| | | | | | | | | 2004-07-06 Rodrigo Moya <rodrigo@novell.com> * gui/gnome-cal.c (gnome_calendar_init): setup the widgets before the configuration. svn path=/trunk/; revision=26587
* Fixes #60645JP Rosevear2004-07-061-0/+7
| | | | | | | | | | | 2004-07-06 JP Rosevear <jpr@novell.com> Fixes #60645 * gui/e-calendar-view.c (e_calendar_view_new_appointment_full): guess when an item should be all day based on the selection time svn path=/trunk/; revision=26586
* don't set the timezone on the views here. (set_timezone): do it here.Rodrigo Moya2004-07-061-0/+7
| | | | | | | | | | | 2004-07-05 Rodrigo Moya <rodrigo@novell.com> * gui/gnome-cal.c (setup_widgets): don't set the timezone on the views here. (set_timezone): do it here. (client_cal_opened_cb): call set_timezone() here. svn path=/trunk/; revision=26585
* update the internal current_view_type field and focus the newly selectedRodrigo Moya2004-07-051-0/+5
| | | | | | | | | 2004-07-02 Rodrigo Moya <rodrigo@novell.com> * gui/gnome-cal.c (set_view): update the internal current_view_type field and focus the newly selected view. svn path=/trunk/; revision=26582
* Get the label for the calendar list header also (init_widgets): Set theRodney Dawes2004-07-031-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 2004-07-02 Rodney Dawes <dobey@novell.com> * gui/dialogs/url-editor-dialog.c (get_widgets): Get the label for the calendar list header also (init_widgets): Set the border widths for the dialog's vbox and action area to be more compliant with the HIG Set the mnemonic widget for the calendar label, to the Source Selector Remove the unneeded settings for the scrolled window, these are in the glade xml for the widget Set the icon list on the correct dialog widget, not the settings dialog * gui/dialogs/url-editor-dialog.h: Add the calendar_list_label widget here so we can access it * gui/dialogs/url-editor-dialog.glade: Change the dialog's layout to be HIG compliant and fix some strings to do the same Add mnemonics to all the labels that are associated with widgets svn path=/trunk/; revision=26564
* store and lookup clients based on ESource uid instead of uri inSivaiah Nallagatla2004-06-291-0/+6
| | | | | | | | | | 2004-06-29 Sivaiah Nallagatla <snallagatla@novell.com> * gui/e-tasks.c (e_tasks_add_todo_source) (e_tasks_remove_todo_source) : store and lookup clients based on ESource uid instead of uri in priv->clients svn path=/trunk/; revision=26545
* same.Not Zed2004-06-281-0/+7
| | | | | | | | | | | 2004-06-28 Not Zed <NotZed@Ximian.com> * gui/tasks-component.c (impl__get_userCreatableItems): same. * gui/calendar-component.c (impl__get_userCreatableItems): fix up shortcuts. #56746. svn path=/trunk/; revision=26540
* don't show option tabsJP Rosevear2004-06-261-1/+5
| | | | | | | | 2004-06-25 JP Rosevear <jpr@novell.com> * gui/dialogs/alarm-dialog.glade: don't show option tabs svn path=/trunk/; revision=26519
* use "Task" instead of "Basic"JP Rosevear2004-06-261-0/+8
| | | | | | | | | | | | 2004-06-25 JP Rosevear <jpr@novell.com> * gui/dialogs/task-editor.c (task_editor_construct): use "Task" instead of "Basic" * gui/dialogs/event-editor.c (event_editor_construct): use "Invitations" instead of "Meeting" svn path=/trunk/; revision=26518
* use "Contacts..."JP Rosevear2004-06-261-1/+16
| | | | | | | | | | | | | | | | | | 2004-06-25 JP Rosevear <jpr@novell.com> * gui/dialogs/e-delegate-dialog.glade: use "Contacts..." * gui/dialogs/alarm-dialog.glade: add custom message email toggle * gui/dialogs/alarm-dialog.c (get_widgets): get custom email message toggle (check_custom_email): check the custom message when setting sensitivity of OK button (malarm_message_toggled_cb): check custom email (malarm_description_changed_cb): ditto (action_selection_done_cb): ditto svn path=/trunk/; revision=26517
* set the default address here if possible (dialog_to_alarm): don't set itJP Rosevear2004-06-261-0/+11
| | | | | | | | | | | | | | | 2004-06-25 JP Rosevear <jpr@novell.com> * gui/dialogs/alarm-dialog.c (alarm_to_dialog): set the default address here if possible (dialog_to_alarm): don't set it here (check_custom_email): check for To: entries (malarm_addresses_changed_cb): update when the text in the to entry changes (action_selection_done_cb): for the custom email settings (init_widgets): listen for email To: changes (alarm_dialog_run): only save the alarm if the response was "OK" svn path=/trunk/; revision=26516
* init alarm interval to -1 (clear_widgets): give the alarm time option menuJP Rosevear2004-06-251-0/+15
| | | | | | | | | | | | | | | | | | | 2004-06-25 JP Rosevear <jpr@novell.com> * gui/dialogs/event-page.c (event_page_init): init alarm interval to -1 (clear_widgets): give the alarm time option menu a sensible default (is_custom_alarm): account for the user defined alarm time if it doesn't match the default set (event_page_fill_widgets): default the option menu to the 15 minute or user define alarm if no alarm is currently set (event_page_fill_component): account for the user defined alarm tme (init_widgets): add in the user defined alarm time if it doesn't match the default set svn path=/trunk/; revision=26515
* the args are optional, don't store them if they aren't thereJP Rosevaer2004-06-251-0/+16
| | | | | | | | | | | | | | | | | | | | 2004-06-25 JP Rosevaer <jpr@novell.com> * gui/dialogs/alarm-dialog.c (palarm_widgets_to_alarm): the args are optional, don't store them if they aren't there (check_custom_sound): sensitize the ok button based on whether or not there needs to be input (check_custom_message): ditto (check_custom_program): ditto (dalarm_message_toggled_cb): check custom message (dalarm_description_changed_cb): ditto (aalarm_sound_toggled_cb): check custom sound (aalarm_attach_changed_cb): ditto (palarm_program_changed_cb): check custom program (action_selection_done_cb): use above checks as appropriate (init_widgets): listen for changed signals svn path=/trunk/; revision=26512
* free old_summary (is_custom_alarm): take description into account whenJP Rosevear2004-06-251-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 004-06-25 JP Rosevear <jpr@novell.com> * gui/dialogs/event-page.c (event_page_finalize): free old_summary (is_custom_alarm): take description into account when checking for custom alarm (is_custom_alarm_uid_list): pass old_summary (is_custom_alarm_store): ditto (is_custom_alarm_store): ditto (sensitize_widgets): ditto (event_page_fill_component): ditto (event_page_fill_widgets): store the initial summary (alarm_changed_cb): make sure the needs description property gets set on the default alarm (alarm_custom_clicked_cb): copy the current store in case the user hits cancel, if all the alarms are erased uncheck the alarm toggle * gui/dialogs/alarm-dialog.glade: add toggles for custom messages and sound * gui/dialogs/alarm-dialog.c (aalarm_widgets_to_alarm): store custom sound only if the toggle is checked (dalarm_widgets_to_alarm): store custom message only if toggle is checked (get_widgets): load new widgets (aalarm_sound_toggled_cb): sensitize sound entry (dalarm_message_toggled_cb): sensitize message entry (init_widgets): listen for toggle signals svn path=/trunk/; revision=26511
* sensitize the buttons (init_widgets): listen for selection changes so weJP Rosevear2004-06-251-0/+7
| | | | | | | | | | | 2004-06-24 JP Rosevear <jpr@novell.com> * gui/dialogs/alarm-list-dialog.c (selection_changed_cb): sensitize the buttons (init_widgets): listen for selection changes so we can delete alarms svn path=/trunk/; revision=26502
* store all the custom alarms (alarm_custom_clicked_cb): emit changed signalJP Rosevear2004-06-251-0/+16
| | | | | | | | | | | | | | | | | | | | 2004-06-24 JP Rosevear <jpr@novell.com> * gui/dialogs/event-page.c (event_page_fill_component): store all the custom alarms (alarm_custom_clicked_cb): emit changed signal if necessary * gui/dialogs/alarm-list-dialog.c (alarm_list_dialog_run): return true/false based on button pushed * gui/dialogs/alarm-dialog.c: move repeat options and per alarm type options here * gui/dialogs/alarm-dialog.glade: ditto * gui/dialogs/Makefile.am: remove alarm options dialog svn path=/trunk/; revision=26500
* Add a call to e_source_selector_set_select_new here so that we can selectRodney Dawes2004-06-251-0/+7
| | | | | | | | | | | | | | | | | | | | | 2004-06-24 Rodney Dawes <dobey@novell.com> * gui/calendar-component.c (create_component_view): * gui/tasks-component.c (create_component_view): Add a call to e_source_selector_set_select_new here so that we can select new sources when we create them 2004-06-24 Rodney Dawes <dobey@novell.com> * e-source-selector.[ch]: Add new "select_new" property to private structure of the ESourceSelector (rebuild_cb): Add code to select the new source, and cause the selection_changed signal to get emitted, if we select new sources (init): Don't select new sources by default (e_source_selector_set_select_new): Add function to set whether or not we want to select new sources when we add them svn path=/trunk/; revision=26498
* Bump the version to 0.1.5 to help track down bug #59726.Jeffrey Stedfast2004-06-241-0/+5
| | | | | | | | | 2004-06-23 Jeffrey Stedfast <fejj@novell.com> * conduits/todo/todo-conduit.c: Bump the version to 0.1.5 to help track down bug #59726. svn path=/trunk/; revision=26481
* set the window type hint to normal so it can go below the shell windowJP Rosevear2004-06-241-0/+5
| | | | | | | | | 2004-06-23 JP Rosevear <jpr@novell.com> * gui/dialogs/comp-editor.c (comp_editor_init): set the window type hint to normal so it can go below the shell window svn path=/trunk/; revision=26480
* fixed gtk-doc comments and made it enable/disable the dialog's OK buttonRodrigo Moya2004-06-241-0/+6
| | | | | | | | | | 2004-06-23 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/comp-editor.c (comp_editor_notify_client_changed): fixed gtk-doc comments and made it enable/disable the dialog's OK button depending on the selected source. svn path=/trunk/; revision=26479
* Revert previous change to add the callbacks for notification of calendarRodney Dawes2004-06-241-0/+7
| | | | | | | | | | | 2004-06-23 Rodney Dawes <dobey@novell.com> * gui/calendar-component.c: Revert previous change to add the callbacks for notification of calendar selection changes (create_new_view): Update the comment for watching notification on the tasks selection to state it is for the mini tasks view svn path=/trunk/; revision=26478
* Fixes #57862JP Rosevear2004-06-231-0/+7
| | | | | | | | | | | 2004-06-23 JP Rosevear <jpr@novell.com> Fixes #57862 * gui/gnome-cal.c (connect_day_view_focus): connect after the focus events happen so the day view knows what is selected svn path=/trunk/; revision=26477
* Fixed ChangeLog... ran cvs commit in subdir last night which didn't grab ↵Rodney Dawes2004-06-231-1/+12
| | | | | | ChangeLog svn path=/trunk/; revision=26475
* tidy up to work again (ok_clicked_cb): use above when replyingJP Rosevear2004-06-231-1/+6
| | | | | | | | | | 2004-06-23 JP Rosevear <jpr@novell.com> * gui/e-itip-control.c (update_attendee_status): tidy up to work again (ok_clicked_cb): use above when replying svn path=/trunk/; revision=26474
* util function to do the actual removal (remove_attendee_at_row): dittoJP Rosevear2004-06-231-0/+10
| | | | | | | | | | | | | 2004-06-23 JP Rosevear <jpr@novell.com> * gui/dialogs/meeting-page.c (remove_attendee): util function to do the actual removal (remove_attendee_at_row): ditto based on row number (remove_clicked_cb): make the remove button work (popup_delete_cb): use utility routines to do removal (button_press_event): do the icon properly svn path=/trunk/; revision=26473
* clean up mnemonic handling and put the proper icon in the contacts buttonJP Rosevear2004-06-231-1/+7
| | | | | | | | | | 2004-06-22 JP Rosevear <jpr@novell.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): clean up mnemonic handling and put the proper icon in the contacts button svn path=/trunk/; revision=26469
* fix mnemonicsJP Rosevear2004-06-231-0/+6
| | | | | | | | | | 2004-06-22 JP Rosevear <jpr@novell.com> * gui/dialogs/recurrence-page.glade: fix mnemonics * gui/dialogs/event-page.glade: ditto svn path=/trunk/; revision=26468
* kill warningsJP Rosevear2004-06-231-0/+4
| | | | | | | | 2004-06-22 JP Rosevear <jpr@novell.com> * gui/dialogs/comp-editor.c: kill warnings svn path=/trunk/; revision=26467
* kill warningJP Rosevear2004-06-231-0/+4
| | | | | | | | 2004-06-22 JP Rosevear <jpr@novell.com> * gui/calendar-component.c (create_new_event): kill warning svn path=/trunk/; revision=26466
* removed alarm-page.*.Rodrigo Moya2004-06-231-0/+4
| | | | | | | | 2004-06-22 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/Makefile.am: removed alarm-page.*. svn path=/trunk/; revision=26465
* HIGify and newer design; alarm page is gone, Cancel/OK buttons for theJP Rosevear2004-06-231-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-22 JP Rosevear <jpr@novell.com> * gui/dialogs/Makefile.am, gui/dialogs/alarm-dialog.c, gui/dialogs/alarm-dialog.glade, gui/dialogs/alarm-dialog.h, gui/dialogs/alarm-list-dialog.c, gui/dialogs/alarm-list-dialog.glade, gui/dialogs/alarm-list-dialog.h, gui/dialogs/alarm-options.c, gui/dialogs/alarm-options.h, gui/dialogs/alarm-page.c, gui/dialogs/alarm-page.glade, gui/dialogs/alarm-page.h, gui/dialogs/comp-editor.c, gui/dialogs/comp-editor.h, gui/dialogs/event-editor.c, gui/dialogs/event-page.c, gui/dialogs/event-page.glade, gui/dialogs/meeting-page.c, gui/dialogs/meeting-page.glade, gui/dialogs/recurrence-page.c, gui/dialogs/recurrence-page.glade, gui/dialogs/task-details-page.c, gui/dialogs/task-details-page.glade, gui/dialogs/task-editor.c, gui/dialogs/task-page.c, gui/dialogs/task-page.glade: HIGify and newer design; alarm page is gone, Cancel/OK buttons for the dialog, no more menus; slightly improve read-only workings for entry areas svn path=/trunk/; revision=26463
* rename widgets to be consistent with those else whereJP Rosevear2004-06-231-0/+8
| | | | | | | | | | | | 2004-06-22 JP Rosevear <jpr@novell.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): rename widgets to be consistent with those else where (e_meeting_time_selector_set_read_only): cast properly (e_meeting_time_selector_on_invite_others_button_expose): remove, the widget sensitization is taken care of elsewhere svn path=/trunk/; revision=26462
* Fixes #59824Larry Ewing2004-06-231-0/+8
| | | | | | | | | | | | 2004-06-22 Larry Ewing <lewing@ximian.com> Fixes #59824 * gui/e-week-view.h: increase some of the passing so that the text does not appear to run together. Ideally this would be based on the font size but this will work for now. svn path=/trunk/; revision=26452
* Fixes #56892Rodney Dawes2004-06-221-0/+13
| | | | | | | | | | | | | | | | | 2004-06-21 Rodney Dawes <dobey@novell.com> Fixes #56892 * gui/dialogs/select-source-dialog.c (row_activated_cb): Add this callback to activate the OK button when we double-click or press the Enter key on a row (select_source_dialog): Change the default size to be reasonable Use ensure_style instead of realize on the dialog Set the default response for the dialog to OK Fix the packing of the group label to not have extraneous padding Connect up the callback for row_activated svn path=/trunk/; revision=26444
* Fixes bug #57592Jeffrey Stedfast2004-06-191-0/+9
| | | | | | | | | | | | | 2004-06-18 Jeffrey Stedfast <fejj@novell.com> Fixes bug #57592 * conduits/calendar/calendar-conduit.c (pre_sync): Same as below. * conduits/todo/todo-conduit.c (pre_sync): s/wombat/evolution-data-server/g svn path=/trunk/; revision=26428
* Fixes #58747Rodrigo Moya2004-06-191-0/+7
| | | | | | | | | | | 2004-06-18 Rodrigo Moya <rodrigo@novell.com> Fixes #58747 * gui/dialogs/comp-editor.c (prompt_to_save_changes): if the source is read only, don't prompt the user. svn path=/trunk/; revision=26420
* Fixes #56323Rodrigo Moya2004-06-181-0/+10
| | | | | | | | | | | | | | 2004-06-18 Rodrigo Moya <rodrigo@novell.com> Fixes #56323 * gui/calendar-component.c (create_new_event): removed read-only check, just call the editor with the currently selected client and let it do the job. * gui/tasks-component.c (create_new_todo): ditto. svn path=/trunk/; revision=26419
* Fixes #60293Rodrigo Moya2004-06-181-0/+7
| | | | | | | | | | | 2004-06-18 Rodrigo Moya <rodrigo@novell.com> Fixes #60293 * gui/dialogs/recurrence-page.c (type_toggled_cb): make sure we enable/disable correctly the 'Add' button. svn path=/trunk/; revision=26417
* check for host being non-NULL in soup uri. host can be null for uri's ofSivaiah Nallagatla2004-06-171-0/+6
| | | | | | | | | | 2004-06-17 Sivaiah Nallagatla <snallagatla@novell.com> * gui/itip-utils.c (itip_publish_comp) : check for host being non-NULL in soup uri. host can be null for uri's of the form file:/foo or http:/foo etc svn path=/trunk/; revision=26390
* Fixes #60309Rodrigo Moya2004-06-171-0/+7
| | | | | | | | | | | 2004-06-17 Rodrigo Moya <rodrigo@novell.com> Fixes #60309 * gui/meeting-page.c (sensitize_widgets): moved up in the file, to be declared before any use. svn path=/trunk/; revision=26385
* use e-util's HTML conversion function, instead of camel's. (write_html):Rodrigo Moya2004-06-171-0/+6
| | | | | | | | | | 2004-06-16 Rodrigo Moya <rodrigo@novell.com> * gui/e-itip-control.c: use e-util's HTML conversion function, instead of camel's. (write_html): use e_text_to_html_full(). svn path=/trunk/; revision=26368
* Fixes #56197JP Rosevear2004-06-161-0/+8
| | | | | | | | | | | | 2004-06-15 JP Rosevear <jpr@novell.com> Fixes #56197 * gui/e-cal-list-view.etspec: add back categories * gui/e-calendar-table.etspec: ditto svn path=/trunk/; revision=26355
* Fixes #59401JP Rosevear2004-06-161-0/+8
| | | | | | | | | | | | 2004-06-15 JP Rosevear <jpr@novell.com> Fixes #59401 * gui/e-week-view.c (e_week_view_on_text_item_event): if we are editing the event, don't ignore the right click, stop editing the event and continue on svn path=/trunk/; revision=26353
* Fixes #57393JP Rosevear2004-06-161-0/+7
| | | | | | | | | | | 2004-06-15 JP Rosevear <jpr@novell.com> Fixes #57393 * gui/e-week-view.c (e_week_view_set_compress_weekend): redraw the titles as well since the spacing is different svn path=/trunk/; revision=26351
* connect to "client_changed" signal on the page. (client_changed_cb): newRodrigo Moya2004-06-151-0/+6
| | | | | | | | | | | | 2004-06-15 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/meeting-page.c (meeting_page_construct): connect to "client_changed" signal on the page. (client_changed_cb): new callback. (sensitize_widgets): new function. (meeting_page_fill_widgets): call sensitize_widgets(). svn path=/trunk/; revision=26345
* new function. (e_meeting_time_selector_construct): store some missingRodrigo Moya2004-06-151-0/+13
| | | | | | | | | | | | | | | | | 2004-06-15 Rodrigo Moya <rodrigo@novell.com> * gui/e-meeting-time-sel.[ch] (e_meeting_time_selector_set_read_only): new function. (e_meeting_time_selector_construct): store some missing buttons in the EMeetingTimeSelector structure. * gui/dialogs/schedule-page.c (schedule_page_construct): connect to "client_changed" signal on the page. (client_changed_cb): new callback. (sensitize_widgets): new function. (schedule_page_fill_widgets): call sensitize_widgets(). svn path=/trunk/; revision=26344
* removed g_assert call, since we shouldn't crash when getting wrongRodrigo Moya2004-06-111-0/+6
| | | | | | | | | | 2004-06-10 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (e_cal_view_objects_modified_cb): removed g_assert call, since we shouldn't crash when getting wrong notifications from a backend. svn path=/trunk/; revision=26312
* only do the range selected hack in one caseJP Rosevear2004-06-111-0/+6
| | | | | | | | | | 2004-06-10 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed): only do the range selected hack in one case svn path=/trunk/; revision=26290
* set 6 weeks shown (display_view): dittoJP Rosevear2004-06-111-0/+7
| | | | | | | | | 2004-06-10 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (setup_widgets): set 6 weeks shown (display_view): ditto svn path=/trunk/; revision=26287