aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixes #69663JP Rosevear2005-01-041-1/+11
| | | | | | | | | | | 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-033-24/+1
| | | | | | | | | | | | | | | | | | | | | | 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-019-57/+94
| | | | | | | | | | | | | | | | | | | | | | | | 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-6/+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/+1
| | | | | | | | | 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
* Check for the existence of the meet/sched pages before attempting toHarish Krishnaswamy2004-12-241-2/+4
| | | | | | | | | 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/+39
| | | | svn path=/trunk/; revision=28195
* get instance times using the correct timezone. (redo_queries): emitRodrigo Moya2004-12-231-39/+0
| | | | | | | | | | | | | | 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=28193
* get instance times using the correct timezone. (redo_queries): emitRodrigo Moya2004-12-233-97/+46
| | | | | | | | | | | | | | 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-232-14/+1
| | | | | | | | | | | | 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-237-297/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | 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-1/+1
| | | | | | | | 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-227-8/+8
| | | | | | | | | | | | | | | | | | | | 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-222-2/+2
| | | | | | | | | | | | 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-222-3/+3
| | | | | | | | | | | | | | 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
* no need to convert times now. (add_instance_cb): no need to convert here.Rodrigo Moya2004-12-221-29/+18
| | | | | | | | | 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-225-242/+254
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1811-204/+675
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+20
| | | | | | | | | | | | | 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/+1
| | | | | | | | | 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-3/+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-3/+18
| | | | | | | | | 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-094-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+3
| | | | | | | * 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/+2
| | | | | | | | 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-062-4/+11
| | | | | | | | | | | | | | | 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/+3
| | | | | | | | | 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-0210-35/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-022-0/+19
| | | | | | | | | | | | 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
* Moved the call for the warning dialog (send_component_prompt_subject)Chenthill Palanisamy2004-11-291-6/+8
| | | | | | | | | | 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-262-9/+2
| | | | | | | | | | | 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-5/+9
| | | | | | | | | 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-254-9/+23
| | | | | | | | | | | | | | | | | * 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-2/+0
| | | | | | | | | | | 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-253-1/+41
| | | | | | | | | | | | | | 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-234-385/+430
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-8/+2
| | | | | | | | | | | | 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-042-5/+5
| | | | | | | | | | 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-047-777/+652
| | | | | | | | | | | 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-043-113/+102
| | | | | | | | | | | | | | | | | | | | 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/+3
| | | | | | | | | 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-1/+3
| | | | | | | | | | | 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-284-0/+29
| | | | | | | | | | | 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/+0
| | | | | | | | | 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
* Quieter.Nat Friedman2004-10-221-0/+1
| | | | svn path=/trunk/; revision=27691
* Add status bits to denote if the calendar source is available offline soHarish Krishnaswamy2004-10-222-0/+18
| | | | | | | | | * 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-101/+7
| | | | | | | | | 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-213-2/+7
| | | | | | | | | | | | | 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-1/+1
| | | | | | | | 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-209-16/+16
| | | | | | | | | | | 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-203-19/+21
| | | | | | | | | | | | | * 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-192-2/+19
| | | | | | | | | | | | | | 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-197-55/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-1810-89/+576
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-7/+0
| | | | | | | | | 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-162-105/+0
| | | | | | | | | | 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-149-152/+88
| | | | | | | | | | | | | | | | | | | | | | | | 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-145-70/+37
| | | | | | | | | | | | | | | | 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-148-119/+79
| | | | | | | | | | | | | | | | | | | | | | 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-144-50/+12
| | | | | | | | | | | | | | 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-145-70/+35
| | | | | | | | | | | | | | | | 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-145-63/+35
| | | | | | | | | | | | | | | | 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-149-173/+54
| | | | | | | | | | | | | | | | | | | | | | | | | 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-1410-67/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-132-2/+4
| | | | | | | | | | | 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-122-23/+24
| | | | | | | | | 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-124-265/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1213-26/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-44/+31
| | | | | | | | | | 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-123-14/+6
| | | | | | | | | | | | | | | | 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-082-2/+0
| | | | | | | | | | 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-087-8/+8
| | | | | | | | | | | | | | | | | | | | 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-2/+4
| | | | | | | | | 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-7/+11
| | | | | | | | | | | | | | | | 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-0714-294/+338
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-9/+0
| | | | | | | | | | | 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-11/+23
| | | | | | | | | | | 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
* pass the variable in correctlyJP Rosevear2004-10-061-4/+1
| | | | | | | | | 2004-10-06 JP Rosevear <jpr@novell.com> * gui/itip-utils.c (comp_server_send): pass the variable in correctly svn path=/trunk/; revision=27476
* cast warning away. (create_component_view): connect to popup_event ratherNot Zed2004-10-065-187/+531
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-3/+13
| | | | | | | | | | | | 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/+2
| | | | | | | | | | | 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/+24
| | | | | | | | | | | | | | 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-272-5/+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-243-8/+20
| | | | | | | | | | | | | | | | 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/+3
| | | | | | | | | | | 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-232-9/+21
| | | | | | | | | | | 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-12/+63
| | | | | | | | | | | | | | | | 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-1/+6
| | | | | | | | | | | 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-1/+1
| | | | | | | | | | | 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-1/+1
| | | | | | | | | | | 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 #66174Tony Tsui2004-09-201-1/+3
| | | | | | | | | | 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/+9
| | | | | | | | | | | 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-56/+44
| | | | | | | | | | | | | | | | | | 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-44/+32
| | | | | | | | | | | | | | | | 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/+3
| | | | | | | | | | | 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-052-0/+14
| | | | | | | | | | | | | | | | 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-2/+2
| | | | | | | | | | | | 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/+1
| | | | | | | | | 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-1/+1
| | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | | | 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
* bump version, requirementsJP Rosevear2004-08-281-1/+5
| | | | | | | | 2004-08-27 JP Rosevear <jpr@novell.com> * configure.in: bump version, requirements svn path=/trunk/; revision=27050
* use the new 'has-alarms-in-range' query. (alarm_queue_add_client): makeRodrigo Moya2004-08-281-15/+32
| | | | | | | | | | 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-257/+564
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-272-19/+29
| | | | | | | | | | | | | | | | | | 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-2/+2
| | | | svn path=/trunk/; revision=27036
* Don't call gtk_dialog_set_has_separator on Gtk Message DialogFrédéric Crozat2004-08-251-0/+2
| | | | | | | * 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/+1
| | | | | | | | | | 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-13/+11
| | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | 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-16/+30
| | | | | | | | | | | | | | | | 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-1/+5
| | | | | | | | | | | 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-162-9/+19
| | | | | | | | | | | | | | | | 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-6/+6
| | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | 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/+1
| | | | | | | | | 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-4/+4
| | | | | | | | | 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-6/+35
| | | | | | | | | | | | | 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/+3
| | | | | | | | | 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/+3
| | | | | | | | | | 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-0/+72
| | | | | | | | | | 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-56/+64
| | | | | | | | | | | | | | | | 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-084-0/+20
| | | | | | | | | | | | | | | | | | | | 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-063-6/+17
| | | | | | | | | | | | | | | | | | | 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-062-8/+11
| | | | | | | | | | | | | | | | | | | 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-052-28/+39
| | | | | | | | | | | | | | | | | | | | | | | 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-1/+4
| | | | | | | | | | 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/+1
| | | | | | | | | | | 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-1/+3
| | | | | | | | | * 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
* Fixes #57622Rodrigo Moya2004-08-027-69/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-4/+4
| | | | | | | | | | 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-2/+2
| | | | | | | | | | 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-012-8/+8
| | | | | | | | | | | | | | | | | | 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-302-0/+9
| | | | | | 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-3/+22
| | | | | | | | | | | 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-1/+3
| | | | | | | | | | | 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-5/+34
| | | | | | | | | | | | | | | | | | 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-274-225/+161
| | | | | | | | | | | | | | | | | | | 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-264-19/+37
| | | | | | | | | | | | | | | | | | | | 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/+31
| | | | | | | | | | | 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-5/+23
| | | | | | | | | | | | 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-6/+3
| | | | | | | | | | | 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-31/+2
| | | | | | | | | 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-2/+31
| | | | | | | | | | | | 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-11/+27
| | | | | | | | | | 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-3/+4
| | | | | | | | | | | 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-4/+9
| | | | | | | | | | | | | | 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-222-0/+6
| | | | | | | | | | | | | | 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-225-0/+20
| | | | | | | | | | | | | | 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-4/+16
| | | | | | | | | | | | | 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-6/+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-163-4/+4
| | | | | | | | | | | | | | | | | | | 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-162-9/+3
| | | | | | | | | | | | | | | 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-8/+7
| | | | | | | | | | | | 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-1412-99/+424
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* reverted unwanted changeRadek Doulik2004-07-131-4/+0
| | | | svn path=/trunk/; revision=26637
* reverted unwanted changeRadek Doulik2004-07-131-0/+4
| | | | svn path=/trunk/; revision=26636
* reverted unwanted changeRadek Doulik2004-07-132-6/+0
| | | | svn path=/trunk/; revision=26635
* as belowRadek Doulik2004-07-135-14/+20
| | | | | | | | | | | | | | | | | | 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-8/+19
| | | | | | | | | | | | | | 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-6/+23
| | | | | | | | | | | 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-1/+1
| | | | | | | | | 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-5/+6
| | | | | | | | | | | | | | 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-102-8/+45
| | | | | | | | | | | | | | | 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-102-3/+27
| | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | * 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-1/+1
| | | | | | | | | 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/+4
| | | | | | | | | | | 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-6/+4
| | | | | | | | | | | 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/+2
| | | | | | | | | 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-033-181/+236
| | | | | | | | | | | | | | | | | | | | | | | 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-14/+14
| | | | | | | | | | 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-282-4/+4
| | | | | | | | | | | 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-2/+1
| | | | | | | | 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-262-2/+2
| | | | | | | | | | | | 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-263-45/+139
| | | | | | | | | | | | | | | | | | 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-21/+59
| | | | | | | | | | | | | | | 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-17/+127
| | | | | | | | | | | | | | | | | | | 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-23/+130
| | | | | | | | | | | | | | | | | | | | 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-253-83/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+11
| | | | | | | | | | | 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-259-1661/+1394
| | | | | | | | | | | | | | | | | | | | 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-252-0/+2
| | | | | | | | | | | | | | | | | | | | | 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
* set the window type hint to normal so it can go below the shell windowJP Rosevear2004-06-241-0/+2
| | | | | | | | | 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-4/+9
| | | | | | | | | | 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-22/+2
| | | | | | | | | | | 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-6/+6
| | | | | | | | | | | 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
* tidy up to work again (ok_clicked_cb): use above when replyingJP Rosevear2004-06-231-42/+8
| | | | | | | | | | 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-39/+95
| | | | | | | | | | | | | 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
* Add these two callbacks so that we can update the selection in theRodney Dawes2004-06-232-4/+57
| | | | | | | | | | | | | | 2004-06-22 Rodney Dawes <dobey@novell.com> * gui/calendar-component.c (config_calendars_selection_changed_cb): (config_primary_calendar_selection_changed_cb): Add these two callbacks so that we can update the selection in the calendar when the gconf key changes, like we do for tasks (create_component_view): Register the two callbacks that we created for updating the selection in the view, and their notification IDs svn path=/trunk/; revision=26470
* clean up mnemonic handling and put the proper icon in the contacts buttonJP Rosevear2004-06-231-22/+15
| | | | | | | | | | 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-232-4/+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-10/+0
| | | | | | | | 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-1/+0
| | | | | | | | 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-3/+0
| | | | | | | | 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-2325-4042/+4079
| | | | | | | | | | | | | | | | | | | | | | | | | 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-21/+4
| | | | | | | | | | | | 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-2/+2
| | | | | | | | | | | | 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-3/+15
| | | | | | | | | | | | | | | | | 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 #58747Rodrigo Moya2004-06-191-0/+4
| | | | | | | | | | | 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-182-22/+0
| | | | | | | | | | | | | | 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/+14
| | | | | | | | | | | 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-1/+1
| | | | | | | | | | 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-16/+16
| | | | | | | | | | | 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-4/+4
| | | | | | | | | | 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-162-0/+2
| | | | | | | | | | | | 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-1/+4
| | | | | | | | | | | | 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/+1
| | | | | | | | | | | 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-152-8/+37
| | | | | | | | | | | | 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-153-24/+72
| | | | | | | | | | | | | | | | | 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-1/+2
| | | | | | | | | | 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-3/+3
| | | | | | | | | | 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-2/+2
| | | | | | | | | 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
* Fixes #58748Rodrigo Moya2004-06-101-0/+5
| | | | | | | | | | | 2004-06-10 Rodrigo Moya <rodrigo@novell.com> Fixes #58748 * gui/gnome-cal.c (setup_widgets): set the timezone on all views when creating them. svn path=/trunk/; revision=26283
* don't set the "bg_color_column" property on the ECellToggle class.Rodrigo Moya2004-06-101-3/+0
| | | | | | | | | 2004-06-10 Rodrigo Moya <rodrigo@novell.com> * gui/e-calendar-table.c (e_calendar_table_init): don't set the "bg_color_column" property on the ECellToggle class. svn path=/trunk/; revision=26282
* Fixes #58799Rodrigo Moya2004-06-101-2/+16
| | | | | | | | | | | | | 2004-06-10 Rodrigo Moya <rodrigo@novell.com> Fixes #58799 * gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence): Use the timezone for getting the RECUR-ID from the instance start date if available. Also, use dates only as the recurrence ID, and do nothing if not a recurrent appointment. svn path=/trunk/; revision=26281
* calculate the work week, week, and month views more exactlyJP Rosevear2004-06-103-166/+187
| | | | | | | | | | | | | | | | | | | | | | | | 2004-06-09 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (get_times_for_views): calculate the work week, week, and month views more exactly (update_adjustment): update the view based on week view scrolling (setup_widgets): listen for the scroll bar moving on the week views (gnome_calendar_update_date_navigator): adjust for compressed weekends in the month view (gnome_calendar_on_date_navigator_selection_changed): ditto * gui/e-week-view.h: add protos * gui/e-week-view.c (time_range_changed_cb): calculate the base_date and first_day_shown more simply, allows multi-week selection to work better; update the base date when told to do so (e_week_view_init): init update_base_value var (e_week_view_get_update_base_date): accessor (e_week_view_set_update_base_date): ditto svn path=/trunk/; revision=26276
* Fixes #57578Rodrigo Moya2004-06-091-22/+55
| | | | | | | | | | | | | | | 2004-06-08 Rodrigo Moya <rodrigo@novell.com> Fixes #57578 * gui/e-calendar-view.c (on_move_to, on_copy_to): simplified to just call transfer_selected_items() with the approppriate arguments. (transfer_selected_items): new function to transfer all selected items to another calendar. (transfer_item_to): added missing implementation. svn path=/trunk/; revision=26257
* Fixes #57579Rodrigo Moya2004-06-091-2/+10
| | | | | | | | | | | | | 2004-06-08 Rodrigo Moya <rodrigo@novell.com> Fixes #57579 * gui/dialogs/select-source-dialog.c (select_source_dialog): start with the OK button disabled. (primary_selection_changed_cb): enable/disable the OK button depending on the selection on the ESourceSelector. svn path=/trunk/; revision=26256
* new function for notifying all pages of the client change.Rodrigo Moya2004-06-095-17/+35
| | | | | | | | | | | | | | | | | | | | | | 2004-06-08 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/comp-editor.[ch] (comp_editor_notify_client_changed): new function for notifying all pages of the client change. (page_client_changed_cb): no need for this callback. (comp_editor_append_page): no need to connect to "client_changed" signal on the pages. * gui/dialogs/comp-editor-page.c (comp_editor_page_notify_client_changed): re-added the call to comp_editor_page_set_e_cal(), the client was not being set anywhere. * gui/dialogs/event-page.c (source_changed_cb): use comp_editor_notify_client_changed() so that all pages get informed of the client change. * gui/dialogs/task-page.c (source_changed_cb): ditto. svn path=/trunk/; revision=26255
* do not set the private client here, it is set in comp-editor.c.Rodrigo Moya2004-06-084-15/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-08 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/comp-editor-page.c (comp_editor_page_notify_client_changed): do not set the private client here, it is set in comp-editor.c. * gui/dialogs/event-page.c (sensitize_widgets): new function. (source_changed_cb): call sensitize_buttons(). * gui/dialogs/recurrence-page.c (sensitize_buttons): new function, to deal correctly with the sensitivity of all widgets in the page. (recurrence_page_fill_widgets, type_toggled_cb, client_changed_cb): call sensitize_buttons() instead of sensitize_recur_widgets(). (recurrence_page_construct): g_signal_connect_after for "client_changed", to get notifications after CompEditorPage gets his. * gui/dialogs/alarm-page.c (sensitize_buttons): sensitize the missing widgets in the page. (alarm_page_construct): g_signal_connect_after for "client_changed", to get notifications after CompEditorPage gets his. svn path=/trunk/; revision=26254
* cast week view correctlyJP Rosevear2004-06-081-1/+1
| | | | | | | | | 2004-06-08 JP Rosevear <jpr@novell.com> * gui/e-week-view.c (e_week_view_do_key_press): cast week view correctly svn path=/trunk/; revision=26253
* connect to "client_changed" signal on the page. (client_changed_cb): newRodrigo Moya2004-06-082-1/+16
| | | | | | | | | | | | | 2004-06-08 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/recurrence-page.c (recurrence_page_construct): connect to "client_changed" signal on the page. (client_changed_cb): new callback. * gui/dialogs/alarm-page.c (sensitize_buttons): fixed missing stuff in last commit. svn path=/trunk/; revision=26252
* Fixes #59650Rodrigo Moya2004-06-081-4/+22
| | | | | | | | | | | | | | 2004-06-08 Rodrigo Moya <rodrigo@novell.com> Fixes #59650 * gui/dialogs/alarm-page.c (alarm_page_construct): connect to "client_changed" signal on the page. (client_changed_cb): new callback. (sensitize_buttons): added code for dealing with read only calendars and disable/enable buttons approppriately. svn path=/trunk/; revision=26251
* fix the name of "stock_save-as" everywhereDan Winship2004-06-071-1/+1
| | | | svn path=/trunk/; revision=26237
* open task lists asynchronously. (client_cal_opened_cb): callback from theRodrigo Moya2004-06-072-45/+70
| | | | | | | | | | | | | | | | | | | 2004-06-07 Rodrigo Moya <rodrigo@novell.com> * gui/e-tasks.c (e_tasks_add_todo_source): open task lists asynchronously. (client_cal_opened_cb): callback from the client when opened. * gui/gnome-cal.c (client_cal_opened_cb): disconnect from all signals of the client when opening it fails. Clean up the status messages correctly, based on source type. (open_ecal): for tasks, use e_calendar_table_set_status_message not e_calendar_view_set_status_message. (gnome_calendar_remove_source_by_uid): call update_query only when removing calendars, not tasks lists. (update_query): set meaningful status messages. svn path=/trunk/; revision=26236
* Bug #36247 Changes to improve the performance of _(str) function call onVardhman Jain2004-06-071-5/+18
| | | | | | | | | | | 2004-06-06 Vardhman Jain <vardhman@students.iiit.net> * Bug #36247 * gui/e-itip-control.c (write_html, set_date_label): Changes to improve the performance of _(str) function call on strings str of the type <tar>str</tag> to avoid translation of tag. svn path=/trunk/; revision=26235
* define G_MAXINT32 if it isn't alreadyJP Rosevear2004-06-051-0/+5
| | | | | | | | 2004-06-04 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c: define G_MAXINT32 if it isn't already svn path=/trunk/; revision=26216
* make purging actually workJP Rosevear2004-06-041-10/+6
| | | | | | | | | 2004-06-04 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (gnome_calendar_purge): make purging actually work svn path=/trunk/; revision=26213
* guard against the text value being NULLJP Rosevear2004-06-042-5/+9
| | | | | | | | | | | | 2004-06-04 JP Rosevear <jpr@novell.com> * gui/dialogs/task-page.c (task_page_fill_widgets): guard against the text value being NULL * gui/dialogs/event-page.c (event_page_fill_widgets): add guards here as well svn path=/trunk/; revision=26211
* Merge from release branch.JP Rosevear2004-06-041-5/+12
| | | | svn path=/trunk/; revision=26178
* don't use vsprintf with NULL strings, crashes on FreeBSD.Rodrigo Moya2004-06-041-6/+9
| | | | | | | | | 2004-06-03 Rodrigo Moya <rodrigo@novell.com> * gui/e-tasks.c (set_status_message): don't use vsprintf with NULL strings, crashes on FreeBSD. svn path=/trunk/; revision=26176
* update the internal client when it changes.Rodrigo Moya2004-06-041-0/+1
| | | | | | | | | | 2004-06-03 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/comp-editor-page.c (comp_editor_page_notify_client_changed): update the internal client when it changes. svn path=/trunk/; revision=26174
* Fixes #56875Rodrigo Moya2004-06-042-0/+16
| | | | | | | | | | | | | | | | 2004-06-03 Rodrigo Moya <rodrigo@novell.com> Fixes #56875 * gui/dialogs/event-editor.c (event_editor_construct): connect to "client_changed" signal on the EventPage. (client_changed_cb): set menu sensibility when the client changes. * gui/dialogs/task-editor.c (task_editor_construct): connect to "client_changed signal on the TaskPage. (client_changed_cb): set menu sensibility when the client changes. svn path=/trunk/; revision=26173
* remove absolute_uri from ESource's. (migrate_tasks): same.Chris Toshok2004-06-031-0/+39
| | | | | | | | | | 2004-06-02 Chris Toshok <toshok@ximian.com> * gui/migration.c (migrate_calendars): remove absolute_uri from ESource's. (migrate_tasks): same. svn path=/trunk/; revision=26159
* removed pre-completion code, not needed anymore. (emlv_finalize): no needRodrigo Moya2004-06-031-24/+1
| | | | | | | | | | | | | | 2004-06-02 Rodrigo Moya <rodrigo@novell.com> * gui/e-meeting-list-view.c (start_addressbook_server): removed pre-completion code, not needed anymore. (emlv_finalize): no need to unref the book anymore. (emlv_init): don't call start_addressbook_server. * gui/e-meeting-store.c (start_addressbook_server): removed. (ems_finalize): no need to unref the book anymore. svn path=/trunk/; revision=26156
* fixed leak and pass the correct icalcomponent to e_cal_modify_object.Rodrigo Moya2004-06-033-6/+6
| | | | | | | | | 2004-06-02 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/copy-source-dialog.c (copy_source): fixed leak and pass the correct icalcomponent to e_cal_modify_object. svn path=/trunk/; revision=26154
* Fixes #59333Rodrigo Moya2004-06-021-1/+1
| | | | | | | | | | | 2004-06-02 Rodrigo Moya <rodrigo@novell.com> Fixes #59333 * gui/dialogs/task-page.c (task_page_fill_widgets): guard against list items being NULL. svn path=/trunk/; revision=26152
* add a drag delete handler. (table_drag_data_get): support text/vcardLarry Ewing2004-06-022-0/+357
| | | | | | | | | | | | 2004-06-02 Larry Ewing <lewing@ximian.com> * gui/e-tasks.c (table_drag_data_delete): add a drag delete handler. (table_drag_data_get): support text/vcard drags. (setup_widgets): setup the etable as a drag source. * gui/tasks-component.c: add source selector Drag & Drop handlers. svn path=/trunk/; revision=26151
* rename can_add to is_mutable, add sensitivity logic for both readonly andLarry Ewing2004-06-022-746/+43
| | | | | | | | | | | | | 2004-06-01 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c: rename can_add to is_mutable, add sensitivity logic for both readonly and mutable cases. The esource attributes are a complete mess and need discussion. * gui/dialogs/calendar-setup.glade: remove edit dialogs and name the tables. svn path=/trunk/; revision=26149
* Fixes #59369Rodrigo Moya2004-06-011-0/+3
| | | | | | | | | | | 2004-06-01 Rodrigo Moya <rodrigo@novell.com> Fixes #59369 * gui/e-calendar-view.c (clipboard_get_text_cb): don't pass NULL strings to libical functions. svn path=/trunk/; revision=26142
* *Bug #51968 "Invite others.." button confusing in Appointment editorPriyanshu Raj2004-06-013-5/+5
| | | | | | | | | 2004-05-31 Priyanshu Raj <Priyanshu@students.iiit.net> *Bug #51968 "Invite others.." button confusing in Appointment editor dialog(Fixed)" svn path=/trunk/; revision=26133
* Menu items in Scheduling tab should have sentence capitalization (Fixed)Priyanshu Raj2004-05-301-7/+7
| | | | | | | | | 2004-05-29 Priyanshu Raj <priyanshu@students.iiit.net> * Bug #48134: Menu items in Scheduling tab should have sentence capitalization (Fixed) svn path=/trunk/; revision=26131
* a more straightforward way to calculate the offset of a day within theKidd Wang2004-05-281-9/+9
| | | | | | | | * gui/e-week-view.c: (e_week_view_event_move), (e_week_view_get_day_offset_of_event): a more straightforward way to calculate the offset of a day within the week. svn path=/trunk/; revision=26118
* Fix for bug #57818.Jeffrey Stedfast2004-05-274-16/+43
| | | | | | | | | | | | | | | | | | | | | | 2004-05-26 Jeffrey Stedfast <fejj@novell.com> Fix for bug #57818. * gui/e-tasks.c (setup_widgets): Same. * gui/gnome-cal.c (setup_widgets): Updated to pass a set of bitflags to cal_search_bar_new(). * gui/cal-search-bar.c (cal_search_bar_new): Now takes a bit flag argument specifying which search options to present. (cal_search_bar_construct): Same as above. Construct the search menu to use based on the bit flags. * gui/apps_evolution_calendar.schemas.in.in: Changed the default "Tasks due today" colour to be a light-blue (one of the default colour values in the colour picker dialog). Fixes bug #53412. svn path=/trunk/; revision=26112
* Changed the default "Tasks due today" colour to be a light-blue (one ofJeffrey Stedfast2004-05-271-2/+2
| | | | | | | | | | 2004-05-26 Jeffrey Stedfast <fejj@novell.com> * gui/apps_evolution_calendar.schemas.in.in: Changed the default "Tasks due today" colour to be a light-blue (one of the default colour values in the colour picker dialog). Fixes bug #53412. svn path=/trunk/; revision=26105
* Fixes #57759Rodrigo Moya2004-05-271-0/+16
| | | | | | | | | | | 2004-05-26 Rodrigo Moya <rodrigo@ximian.com> Fixes #57759 * gui/gnome-cal.c (gnome_calendar_remove_source_by_uid): remove all queries we've got for the removed source. svn path=/trunk/; revision=26104
* In week view all-day events should keep all-dayness when moved around.Kidd Wang2004-05-261-9/+17
| | | | | | | | * gui/e-week-view.c: (e_week_view_event_move), (e_week_view_change_event_time): In week view all-day events should keep all-dayness when moved around. svn path=/trunk/; revision=26097
* remove now unused functions. (source_group_can_add): fix can add logic,Larry Ewing2004-05-261-207/+25
| | | | | | | | | | 2004-05-25 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c: remove now unused functions. (source_group_can_add): fix can add logic, remove more unused functions. svn path=/trunk/; revision=26095
* i2004-05-25 Larry Ewing <lewing@ximian.com>Larry Ewing2004-05-261-40/+0
| | | | | | * gui/dialogs/calendar-setup.c: remove now unused functions. svn path=/trunk/; revision=26094