| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
* gui/alarm-notify/alarm-notify-dialog.c:
(add_alarm_to_notified_alarms_dialog):
* gui/alarm-notify/alarm-queue.c: (remove_queued_alarm),
(open_alarm_dialog), (menu_item_toggle_callback), (populate):
* gui/alarm-notify/alarm.c: (pop_alarm), (alarm_remove):
* gui/alarm-notify/config-data.c:
(config_data_replace_string_list):
* gui/cal-search-bar.c: (regen_query):
* gui/calendar-view-factory.c:
* gui/calendar-view.c:
* gui/comp-editor-factory.c: (edit_existing),
(resolve_pending_requests), (impl_editExisting), (impl_editNew):
* gui/control-factory.c:
* gui/dialogs/cal-attachment-select-file.c:
(comp_editor_select_file_attachments):
* gui/dialogs/calendar-setup.c: (eccp_get_source_type):
* gui/dialogs/comp-editor.c: (comp_editor_class_init),
(commit_all_fields), (delete_event_cb), (editor_key_press_event),
(menu_file_save_cb), (menu_file_close_cb), (make_icon_from_comp),
(comp_editor_focus), (needs_send_cb):
* gui/dialogs/delete-comp.c: (delete_component_dialog):
* gui/dialogs/e-delegate-dialog.c:
* gui/dialogs/event-editor.c:
* gui/dialogs/event-page.c: (event_page_fill_widgets),
(popup_delete_cb), (list_key_press):
* gui/dialogs/meeting-page.c: (remove_clicked_cb),
(popup_delete_cb), (button_press_event), (list_key_press),
(meeting_page_construct):
* gui/dialogs/memo-editor.c: (init_widgets),
(memo_editor_set_e_cal), (memo_editor_edit_comp),
(memo_editor_send_comp):
* gui/dialogs/memo-page.c:
* gui/dialogs/recurrence-page.c: (fill_exception_widgets),
(exception_add_cb):
* gui/dialogs/schedule-page.c: (clear_widgets),
(schedule_page_fill_component):
* gui/dialogs/task-details-page.c:
(task_details_page_fill_timezones), (complete_date_changed):
* gui/dialogs/task-editor.c:
* gui/dialogs/task-page.c: (task_page_fill_widgets),
(popup_delete_cb), (list_key_press):
* gui/e-alarm-list.c: (get_alarm_string):
* gui/e-cal-component-memo-preview.c: (write_html):
* gui/e-cal-component-preview.c: (write_html):
* gui/e-cal-list-view-config.c:
(e_cal_list_view_config_set_property),
(e_cal_list_view_config_get_property),
(e_cal_list_view_config_dispose):
* gui/e-cal-list-view.c:
* gui/e-cal-model-calendar.c: (ecmc_value_at):
* gui/e-cal-model-memos.c: (ecmm_value_at):
* gui/e-cal-model-tasks.c: (get_due_status), (ecmt_value_at),
(ecmt_set_value_at), (ecmt_is_cell_editable),
(ecmt_value_is_empty), (e_cal_model_tasks_mark_task_complete),
(e_cal_model_tasks_update_due_tasks):
* gui/e-cal-model.c: (get_classification),
(ecm_get_color_for_component), (e_cal_model_set_default_client),
(e_cal_view_objects_modified_cb), (e_cal_model_add_client),
(e_cal_model_remove_client), (e_cal_model_set_instance_times):
* gui/e-cal-popup.c: (ecalp_part_popup_saveas):
* gui/e-calendar-table-config.c:
(e_calendar_table_config_set_property),
(e_calendar_table_config_get_property),
(e_calendar_table_config_dispose):
* gui/e-calendar-table.c: (e_calendar_table_class_init):
* gui/e-calendar-table.h:
* gui/e-calendar-view.c: (e_calendar_view_set_property),
(e_calendar_view_get_property), (open_event_with_flags),
(e_calendar_view_get_tooltips):
* gui/e-cell-date-edit-config.c:
(e_cell_date_edit_config_set_property),
(e_cell_date_edit_config_get_property),
(e_cell_date_edit_config_dispose):
* gui/e-cell-date-edit-text.c:
* gui/e-comp-editor-registry.c:
* gui/e-date-edit-config.c: (e_date_edit_config_set_property),
(e_date_edit_config_get_property), (e_date_edit_config_dispose):
* gui/e-day-view-config.c: (e_day_view_config_set_property),
(e_day_view_config_get_property), (e_day_view_config_dispose):
* gui/e-day-view-main-item.c: (e_day_view_main_item_set_arg),
(e_day_view_main_item_draw_day_event),
(e_day_view_main_item_event):
* gui/e-day-view-time-item.c: (e_day_view_time_item_set_arg),
(e_day_view_time_item_get_column_width):
* gui/e-day-view-top-item.c: (e_day_view_top_item_set_arg),
(e_day_view_top_item_draw_long_event),
(e_day_view_top_item_draw_triangle), (e_day_view_top_item_event):
* gui/e-day-view.c: (process_component), (e_day_view_style_set),
(e_day_view_recalc_cell_sizes), (e_day_view_foreach_event),
(e_day_view_reshape_resize_long_event_rect_item),
(e_day_view_update_long_event_resize), (e_day_view_update_resize),
(e_day_view_reshape_long_event), (e_day_view_reshape_day_event),
(e_day_view_change_duration_to_start_of_work_day),
(tooltip_destroy), (e_day_view_on_text_item_event),
(e_day_view_on_editing_stopped):
* gui/e-itip-control.c: (e_itip_control_class_init),
(find_cal_opened_cb), (find_server), (set_date_label),
(ok_clicked_cb):
* gui/e-meeting-attendee.c:
* gui/e-meeting-list-view.c:
(e_meeting_list_view_remove_attendee_from_name_selector):
* gui/e-meeting-store.c: (role_to_text), (partstat_to_text),
(e_meeting_store_set_value):
* gui/e-meeting-time-sel-item.c:
(e_meeting_time_selector_item_set_arg),
(e_meeting_time_selector_item_paint_all_attendees_busy_periods):
* gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct),
(e_meeting_time_selector_recalc_date_format):
* gui/e-memo-table-config.c: (e_memo_table_config_set_property),
(e_memo_table_config_get_property), (e_memo_table_config_dispose):
* gui/e-memo-table.c: (e_memo_table_class_init), (task_compare_cb):
* gui/e-memos.c: (update_view), (backend_error_cb), (open_ecal):
* gui/e-mini-calendar-config.c:
(e_mini_calendar_config_set_property),
(e_mini_calendar_config_get_property),
(e_mini_calendar_config_dispose):
* gui/e-pub-utils.c: (is_publish_time), (e_pub_publish):
* gui/e-tasks.c: (process_completed_tasks), (backend_error_cb):
* gui/e-timezone-entry.c: (e_timezone_entry_destroy):
* gui/e-week-view-config.c: (e_week_view_config_set_property),
(e_week_view_config_get_property), (e_week_view_config_dispose):
* gui/e-week-view-event-item.c: (e_week_view_event_item_draw),
(e_week_view_event_item_draw_icons):
* gui/e-week-view-main-item.c: (e_week_view_main_item_set_arg):
* gui/e-week-view-titles-item.c: (e_week_view_titles_item_set_arg),
(e_week_view_titles_item_draw):
* gui/e-week-view.c: (process_component), (tooltip_destroy),
(tooltip_event_cb), (e_week_view_reshape_event_span),
(e_week_view_on_text_item_event), (e_week_view_event_move),
(e_week_view_on_editing_stopped), (e_week_view_do_key_press):
* gui/gnome-cal.c: (dn_e_cal_view_objects_modified_cb),
(dn_e_cal_view_done_cb), (table_selection_change_cb),
(gnome_calendar_goto), (focus_current_view), (backend_error_cb),
(gnome_calendar_set_selected_time_range),
(gnome_calendar_get_current_time_range),
(gnome_calendar_get_visible_time_range),
(gnome_calendar_delete_selected_occurrence):
* gui/goto.c: (goto_dialog):
* gui/itip-utils.c: (comp_fb_normalize):
* gui/memos-component.c: (create_new_memo),
(impl_requestCreateItem):
* gui/migration.c: (migrate_memos):
* gui/print.c: (print_month_small), (print_day_details),
(print_todo_details), (print_comp_item):
* gui/tasks-component.c: (create_new_todo),
(impl_requestCreateItem):
* gui/weekday-picker.c: Cleanups:
- remove unused vars
- remove extraneous semi-colons
- add some comments where assignments were done without using
the results later
- remove break; statements after return foo;
- add casts in some places to be more type correct
- rename variables with name clashes
- s/if/ifdef in some cases
- mark some code static
- remove some unused functions
- use guint for 1-bit bitfields
svn path=/trunk/; revision=31451
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-17 Kaushal Kumar <kakumar@novell.com>
* Retired GAL from Head. The relevant files have moved inside
evolution. Thanks to JP Rosevear for performing the cvs surgery. The
files have been moved in the following order.
evolution/e-util <- gal/gal/util
evolution/a11y <- gal/gal/a11y
evolution/a11y/e-table <- gal/gal/a11y/e-table
evolution/a11y/e-text <- gal/gal/a11y/e-text
evolution/widgets/table <- gal/gal/e-table
evolution/widgets/text <- gal/gal/e-text
evolution/widgets/misc <- gal/gal/widgets
evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps
evolution/widgets/menus <- gal/gal/menus
Following is the summary of changes done to fix the build:-
- New files added to cvs repository,
- a11y/e-table/Makefile.am
- a11y/e-text/Makefile.am
- widgets/table/Makefile.am
- widgets/text/Makefile.am
- widgets/misc/pixmaps/Makefile.am
- iconv-detect.h
- iconv-detect.c
- Updated configure.in.
- Updated all the relevant Makefile.am files.
- Updated the include paths to replace all gal references.
- Updated the marshal list to suit gal files requirements.
svn path=/trunk/; revision=29522
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-06 Rodrigo Moya <rodrigo@novell.com>
Fixes #271679
* gui/dialogs/comp-editor.c (save_comp):
* gui/e-week-view.c (e_week_view_on_editing_stopped,
e_week_view_change_event_time): set correct start/end times for
individual instances and remove all rules and exceptions.
(e_week_view_reshape_event_span): show recurrence icons for
detached instances also.
* gui/e-day-view.c (e_day_view_finish_resize,
e_day_view_finish_long_event_resize, e_day_view_on_editing_stopped,
e_day_view_on_top_canvas_drag_data_received,
e_day_view_on_main_canvas_drag_data_received,
e_day_view_change_event_time): set the correct start/end times when
modifying individual instances and remove all rules and exceptions.
(e_day_view_on_top_canvas_motion, e_day_view_on_main_canvas_motion):
disable D&D for recurring events.
(e_day_view_reshape_long_event, e_day_view_reshape_day_event):
check for detached instances and show recurrence icons for them also.
* gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons):
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
* gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
check for detached instances and show recurrence icons for them also.
* gui/e-cal-model.c (set_instance_times): don't use the RECURRENCE-ID
to get the datetime.
* gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence):
exceptions need to be date only.
(e_calendar_view_copy_clipboard): remove RECURRENCE-IDs from components
we copy to the clipboard.
(e_calendar_view_cut_clipboard): when cutting instances, remove only
the selected instances.
(on_unrecur_appointment): use MOD_ALL to modify the master object and
remove recurrence-id from detached event.
* gui/dialogs/recur-comp.c (recur_component_dialog): re-enabled.
svn path=/trunk/; revision=29276
|
|
|
|
|
|
|
|
|
|
| |
2005-03-09 Not Zed <NotZed@Ximian.com>
* gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons):
* gui/e-day-view.c (e_day_view_reshape_day_event): free the ecalcomponent
after using it.
svn path=/trunk/; revision=28998
|
|
|
|
|
|
|
| |
2005-01-08 Harish Krishnaswamy <kharish@novell.com>
Added support for attachments support to calendar items.
svn path=/trunk/; revision=28287
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
2004-05-13 Not Zed <NotZed@Ximian.com>
* gui/e-week-view-event-item.c (e_week_view_event_item_draw): add
some array bounds checking as an attempt to isolate the crash in
#57644.
svn path=/trunk/; revision=25896
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-19 Michael Terry <mike@mterry.name>
* gui/GNOME_Evolution_Calendar.server.in.in:
* gui/calendar-commands.c:
* gui/calendar-component.c:
* gui/e-calendar-table.c:
* gui/e-calendar-view.c:
* gui/e-day-view-main-item.c:
* gui/e-day-view-top-item.c:
* gui/e-day-view.c:
* gui/e-day-view.h:
* gui/e-itip-control.c:
* gui/e-timezone-entry.c:
* gui/e-week-view-event-item.c:
* gui/e-week-view.c:
* gui/e-week-view.h:
* gui/tasks-component.c:
* gui/alarm-notify/alarm-notify-dialog.c:
* gui/alarm-notify/alarm-queue.c:
* gui/dialogs/comp-editor.c:
* gui/dialogs/event-editor.c: Update the calendar to use the icon theme
through the EIconFactory object in e-util
svn path=/trunk/; revision=25515
|
|
|
|
| |
svn path=/trunk/; revision=23206
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-29 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-component.c (fill_popup_menu_callback): fixed
typo in menu item label.
* gui/e-cal-model.[ch] (e_cal_model_get_use_24_hour_format): new
function.
* gui/e-cal-view.[ch]: no need to keep the 'use_24_hour' setting,
it's already in the model.
(e_cal_view_get_use_24_hour_format,
e_cal_view_set_use_24_hour_format): new functions.
* gui/e-day-view.[ch] (e_day_view_get_24_hour_format,
(e_day_view_set_24_hour_format): removed.
(e_day_view_convert_time_to_display, e_day_view_update_event_label,
e_day_view_get_time_string_width): use the ECalView's function to
get the 24 hour format.
* gui/e-week-view.[ch] (e_week_view_get_24_hour_format,
e_week_view_set_24_hour_format): removed.
(e_week_view_convert_time_to_display,
e_week_view_get_time_string_width): use the ECalView's function
to get the 24 hour format.
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
* gui/e-day-view-time-item.c (e_day_view_time_item_draw):
* gui/e-week-view-event-item.c (e_week_view_draw_time):
don't use the view's use_24_hour_format, but the ECalView method.
svn path=/trunk/; revision=23113
|
|
|
|
| |
svn path=/trunk/; revision=22965
|
|
|
|
| |
svn path=/trunk/; revision=22308
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-24 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-day-view.c (e_day_view_delete_event,
e_day_view_delete_event_internal):
* gui/e-week-view.c (e_week_view_delete_event,
e_week_view_delete_event_internal): removed.
* gui/e-cal-view.[ch] (e_cal_view_delete_selected_event): renamed
from e_cal_view_delete_event_internal.
(e_cal_view_delete_selected_events): new function.
* gui/gnome-cal.c (gnome_calendar_delete_selection): call
e_cal_view_delete_selected_events().
* gui/e-week-view-event-item.c (e_week_view_event_item_get_position,
e_week_view_event_item_button_press):
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
* gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
adapted to changes in E*ViewPosition.
svn path=/trunk/; revision=21943
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-18 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-day-view.[ch]:
* gui/e-week-view.[ch]: moved duplicated code to...
* gui/e-cal-view.[ch]: ...here.
(e_cal_view_get_calendar, e_cal_view_set_calendar): new functions.
* gui/e-week-view-event-item.c (e_week_event_item_double_click):
* gui/gnome-cal.c (setup_widgets): adapted to changes in views.
svn path=/trunk/; revision=21865
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-01 Hans Petter Jansson <hpj@ximian.com>
* gui/e-day-view-main-item.c (e_day_view_main_item_draw):
Nuke GdkFont and use Pango's font measuring.
* gui/e-day-view-time-itme.c (e_day_view_time_item_get_column_width)
(e_day_view_time_item_draw): Ditto.
* gui/e-day-view-top-item.c (e_day_view_top_item_draw)
(e_day_view_top_item_draw_long_event): Ditto.
* gui/e-day-view.c (e_day_view_style_set)
(e_day_view_recalc_cell_sizes)
(e_day_view_reshape_long_event)
(e_day_view_update_top_canvas_drag)
(e_day_view_update_main_canvas_drag): Ditto.
* gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set)
(e_meeting_time_selector_recalc_date_form): Ditto.
* gui/e-week-view-event-item.c (e_week_view_draw_time): Ditto.
* gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
Ditto.
* gui/e-week-view-titles-item.c (e_week_view_titles_item_draw):
Ditto.
* gui/e-week-view.c (e_week_view_style_set)
(e_week_view_recalc_cell_sizes)
(e_week_view_reshape_event_span): Ditto.
* gui/weekday-picker.c (weekday_picker_style_set): Ditto.
svn path=/trunk/; revision=20627
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-01-25 Hans Petter Jansson <hpj@ximian.com>
Mainly making all views use PangoLayouts for text. When drawing a
PangoLayout, the draw offset is the top left corner of the layout,
not the text's baseline. Keep this in mind when viewing the
changes. I'll be brief about the exact changes, since they speak
better for themselves.
* gui/e-day-view-time-item.c (e_day_view_time_item_get_column_width):
Use Pango.
(e_day_view_time_item_draw): Use Pango.
* gui/e-day-view-top-item.c (e_day_view_top_item_draw): Use Pango.
(e_day_view_top_item_draw_long_event): Add some FIXME text so we can
see when this is being used. Is it in use at all?
* gui/e-day-view.c: No longer specify an explicit X font string for
the large font. Use the main font, and change the point size.
(e_day_view_init): Use Pango.
(e_day_view_style_set): Use Pango. Comment out the gdk_font setting
for the drag text items for now.
* gui/e-day-view.h: Use Pango.
* gui/e-week-view-event-item.c (e_week_view_draw_time): Use Pango.
* gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
Use Pango.
* gui/e-week-view-titles-item.c (e_week_view_titles_item_draw):
Use Pango.
* gui/e-week-view.c: No longer specify an explicit X font string for
the small font. Use the main font, and change the point size.
(e_week_view_init): Use Pango.
(e_week_view_destroy): Use Pango.
(get_string_width): Implemented for convenience.
(get_digit_width): Implemented for convenience.
(e_week_view_style_set): Use Pango.
(e_week_view_recalc_cell_sizes): Use Pango.
(e_week_view_get_time_string_width): Use Pango.
* gui/e-week-view.h: Use Pango.
Following are some random UTF-8 fixes and a crash fix.
* gui/itip-utils.c (comp_description): Use g_locale_to_utf8 ().
* gui/dialogs/comp-editor.c (make_title_from_comp): Return a
UTF-8 string.
* gui/dialogs/alarm-page.c (alarm_page_set_summary): Pass UTF-8
directly to GTK.
* gui/dialogs/delete-comp.c (delete_component_dialog): Ditto.
* gui/dialogs/meeting-page.c (meeting_page_fill_widgets): Ditto.
(meeting_page_construct): Ditto.
* gui/dialogs/recurrence-page.c (recurrence_page_set_summary): Ditto.
* gui/dialogs/event-editor.c (event_editor_finalize): Fix crash caused
by gtk_object_destroy()-ing a non-GtkObject.
svn path=/trunk/; revision=19628
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-06 Hans Petter Jansson <hpj@ximian.com>
* cal-client/cal-client.c (cal_client_open_status_enum_get_type):
Create a non-abstract enumeration type derived from GEnum.
(cal_client_set_mode_status_enum_get_type): Ditto.
(cal_mode_enum_get_type): Ditto.
(cal_client_class_init): Use our enumerations and not the abstract
one.
(cal_client_finalize): Don't destroy factories, since the CalClient
doesn't own them anymore. They're shared between CalClients now.
(get_factories): Implement. Move the factory setup code here from
cal_client_construct (), and cache the factories. This is hopefully
temporary, until wombat goes away or is fixed.
(cal_client_construct): Most of the code moved to get_factories ().
* cal-client/cal-client.h: Add enumeration type macros and protos.
* gui/cal-search-bar.c (cal_search_bar_get_type): Removed in favour
of E_MAKE_TYPE, which uses GObject calls.
(cal_search_bar_class_init): Use g_type_class_peek_parent ().
* gui/calendar-model.c (calendar_model_get_type):
(calendar_model_class_init): Ditto, like above file.
* gui/calendar-view.c (calendar_view_get_type):
(calendar_view_class_init): Ditto.
* gui/e-calendar-table.c (e_calendar_table_get_type):
(e_calendar_table_class_init): Ditto.
* gui/e-comp-editor-registry.c (e_comp_editor_registry_get_type):
(class_init): Ditto.
* gui/e-day-view-main-item.c (e_day_view_main_item_get_type):
(e_day_view_main_item_class_init): Ditto.
* gui/e-day-view-time-item.c (e_day_view_time_item_get_type):
(e_day_view_time_item_class_init): Ditto.
* gui/e-day-view-top-item.c (e_day_view_top_item_get_type):
(e_day_view_top_item_class_init): Ditto.
* gui/e-day-view.c (e_day_view_get_type):
(e_day_view_class_init): Ditto.
* gui/e-itip-control.c (e_itip_control_get_type):
(class_init): Ditto.
* gui/e-meeting-attendee.c (e_meeting_attendee_get_type):
(class_init): Ditto.
* gui/e-meeting-model.c (e_meeting_model_get_type):
(class_init): Ditto.
* gui/e-meeting-time-sel-item.c
(e_meeting_time_selector_item_get_type):
(e_meeting_time_selector_item_class_init): Ditto.
* gui/e-meeting-time-sel.c
(e_meeting_time_selector_get_type):
(e_meeting_time_selector_class_init): Ditto.
* gui/e-timezone-entry.c (e_timezone_entry_get_type):
(e_timezone_entry_class_init): Ditto.
* gui/e-week-view-event-item.c (e_week_view_event_item_get_type):
(e_week_view_event_item_class_init): Ditto.
* gui/e-week-view-main-item.c (e_week_view_main_item_get_type):
(e_week_view_main_item_class_init): Ditto.
* gui/e-week-view-titles-item.c (e_week_view_titles_item_get_type):
(e_week_view_titles_item_class_init): Ditto.
* gui/gnome-cal.c (gnome_calendar_get_type):
(gnome_calendar_class_init): Ditto.
* gui/weekday-picker.c (weekday_picker_get_type):
(weekday_picker_class_init): Ditto.
* gui/e-week-view.c (e_week_view_get_type):
(e_week_view_class_init): Ditto, but parent_class init was moved
from get_type() to class_init().
* gui/calendar-view-factory.c (calendar_view_factory_get_type):
(calendar_view_factory_class_init): Ditto, and set up finalize
callback instead of destroy.
(calendar_view_factory_finalize): It's a GObject, so implement this.
(celendar_view_factory_destroy): Move code to _finalize() and remove.
* gui/main.c (init_bonobo): Remove extraneous bonobo_activation_init().
svn path=/trunk/; revision=19043
|
|
|
|
|
|
|
|
| |
2002-11-07 JP Rosevear <jpr@ximian.com>
* Initial port of gui/ subdir to GNOME 2
svn path=/trunk/; revision=18648
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-06 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (gnome_calendar_edit_object): kill warning
* gui/e-week-view.h: new proto
* gui/e-week-view.c (e_week_view_set_selected_time_range_visible):
select a range of time in the currently visible area, if out side
the visible area, select as much as possible
(e_week_view_on_text_item_event): call above
* gui/e-week-view-event-item.c
(e_week_view_event_item_button_press): call above
* gui/e-day-view.c
(e_day_view_set_selected_time_range_in_top_visible): select a
range of time in the currently visible area, if out side the
visible area, select as much as possible
(e_day_view_set_selected_time_range_visible): the same for the
main canvas
(e_day_view_on_long_event_button_press): call above
(e_day_view_on_event_button_press): ditto
svn path=/trunk/; revision=18010
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
002-08-29 JP Rosevear <jpr@ximian.com>
* gui/e-day-view.c (e_day_view_on_top_canvas_button_press): select
the top canvas if the user right-clicks on it
(e_day_view_on_main_canvas_button_press): select the row the user
is right-clicking on
(e_day_view_on_long_event_button_press): select the top canvas if
the user right-clicks on an event there
(e_day_view_on_event_button_press): select the relevant rows if
the user right-clicks on an event
(e_day_view_set_selected_time_range_in_top): select a number of
days in the top canvas
* gui/e-week-view.c (e_week_view_on_button_press): select the day
the user is right-clicking on
(e_week_view_on_text_item_event): select the corresponding time
range when showing the contextual menu for an event
* gui/e-week-view-event-item.c
(e_week_view_event_item_button_press): select the corresponding
time range when showing the contextual menu for an event
Fixes #14660
svn path=/trunk/; revision=17924
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-02 Rodrigo Moya <rodrigo@ximian.com>
Fixes #16034
* gui/e-day-view.c (e_day_view_reshape_long_event):
(e_day_view_reshape_day_event):
* gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
* gui/e-week-view.c (e_week_view_reshape_event_span):
* gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons):
Don't assume all categories have icons when allocating space for
the icons.
svn path=/trunk/; revision=17357
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-07 JP Rosevear <jpr@ximian.com>
* gui/e-day-view.c: pass meeting boolean for
gnome_calendar_edit_object and gnome_calendar_new_appointment_for
* gui/e-week-view-event-item.c: ditto
* gui/e-week-view.c: ditto
* gui/tasks-control.c (confirm_expunge): kill warning
* gui/calendar-commands.c (new_meeting_cb): show a new meeting
dialog
(new_event_cb): pass new param
* gui/gnome-cal.c (gnome_calendar_edit_object): take meeting
boolean and show meeting page if true
(gnome_calendar_new_appointment_for): takeing meeting param and
pass to above
(gnome_calendar_new_appointment): add new param
* gui/gnome-cal.h: update proto
* gui/component-factory.c (create_component): take a comp editor
mode, determine vtype
(sc_user_create_new_item_cb): check for meeting user creatable
item
(create_object): add meeting as user creatable item
* gui/comp-editor-factory.c (edit_new): get a comp editor mode
now, determine vtype and show meeting page if required
(queue_edit_new): get comp editor mode
(impl_editNew): ditto, plus queue the mode directly instead of
determining the vtype
* gui/dialogs/event-editor.c (show_meeting): new internal util
function to show meeting page
(event_editor_show_meeting): show the meeting
(schedule_meeting_cmd): use show_meeting
* gui/dialogs/event-editor.h: new proto
* idl/evolution-calendar.idl: editNew takes a mode rather than a
type now
* cal-util/Makefile.am: fix includes
svn path=/trunk/; revision=15595
|
|
|
|
| |
svn path=/trunk/; revision=14211
|
|
|
|
|
|
| |
(instead of version 2 or any later version).
svn path=/trunk/; revision=14190
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-26 Damon Chaplin <damon@ximian.com>
* gui/e-itip-control.c (write_label_piece): convert the formatted
date to UTF-8.
* cal-util/cal-recur.c (CAL_OBJ_DEBUG): turn off debug functions.
* gui/dialogs/comp-editor-util.c (parse_contact_string): handle UTF8
correctly. Bug #4450. Good enough for 1.0.
* gui/e-week-view-event-item.c (e_week_view_draw_time): set the gc
color before drawing. Should fix bug #11469.
* gui/dialogs/task-editor.c (task_editor_edit_comp): show or hide the
meeting page as appropriate. Note this may be called more than once,
if the task gets updated somewhere else and the user clicks 'Update
the object'. Hopefully fixes bug #12930.
* gui/print.c (print_comp_item): printed more fields and made a little
prettier. Fixes bug #9352.
(print_date_label): used the correct timezones for each date field.
* *.c: removed several debug messages.
svn path=/trunk/; revision=14187
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-21 Damon Chaplin <damon@ximian.com>
* pcs/query.c (func_is_completed): added new e-sexp operator. We
don't currently use it though.
* gui/dialogs/cal-prefs-dialog.glade: Changed '_Overdue' to 'O_verdue'
since we have an '_Other' notebook tab. Added '_Hide' accel.
* gui/dialogs/cal-prefs-dialog.c: hooked up config options to dialog.
* gui/calendar-config.c: added config options for hiding completed
tasks.
* gui/e-week-view-event-item.c (e_week_view_event_item_draw):
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
* gui/e-day-view.c (e_day_view_reshape_long_event): added 2 pixels
extra space between icons and text for long events, and 1 pixel space
between icons in all events.
(e_day_view_realize): changed the background color to match the
EGrayBar in the shell.
svn path=/trunk/; revision=12347
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-14 Damon Chaplin <damon@ximian.com>
* gui/dialogs/task-page.c:
* gui/dialogs/event-page.c: added support for the Contacts field.
Note that I'm not sure what we should put in the iCalendar CONTACT
properties. Currently we put "name <email>", but it isn't recognized
as a contact when we reopen the dialog, so we may need more info here.
Also we currently use a simple parser to parse the above format, and
we should maybe use some camel function.
* gui/dialogs/task-page.glade:
* gui/dialogs/event-page.glade: replaced the GtkEntry fields for the
Contacts with a GtkEventBox which we put the BonoboControl in at
runtime.
* gui/dialogs/meeting-page.c (invite_entry_changed): added FIXMEs
since it doesn't seem to be freeing the EDestination stuff. JP?
* gui/dialogs/comp-editor-util.c: added bunch of utility functions to
handle the Contacts field in the main Event and Task pages.
* gui/gnome-cal.c: added visible_start and visible_end fields, so we
only emit the 'dates-shown-changed' signal when really necessary.
Currently changing the folder title bar label results in a complete
redraw of the Evolution window (silly GtkLabel queueing a resize),
so we want to avoid that as much as possible.
(gnome_calendar_new_appointment_for): only move the event's end time
to the end of the day if it is not already 00:00:00.
* gui/e-week-view-event-item.c:
* gui/e-week-view.c:
* gui/e-day-view.c: added support for double-clicking on an event to
open it, and for double-clicking on the background to create a new
event. There is still a minor problem to sort out, but it basically
works.
* cal-util/cal-component.c: added support for CONTACT properties,
mainly by copying the code for COMMENT properties which are exactly
the same type.
* gui/e-day-view.c (e_day_view_realize): use the same color for the
top canvas background as the shortcut bar, to make it look a little
nicer (I think). Although we still have the theme problem with
hard-coded colors.
svn path=/trunk/; revision=12039
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-09 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
* gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
* gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons):
unref the GdkPixmap and GdkBitmap returned by the function
e_categories_config_get_icon_for ()
svn path=/trunk/; revision=11859
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-08 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons):
don't use a NULL mask in the call to gdk_gc_set_clip_mask
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): ditto
* gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): ditto
svn path=/trunk/; revision=11801
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-06 Damon Chaplin <damon@ximian.com>
* gui/e-week-view.h:
* gui/e-day-view.h: added 'different_timezone' fields to EDayViewEvent
and EWeekViewEvent, to note that the event is in a different timezone.
We now compute this once when we add the event to the array, rather
than each time we draw the event. If it is set, we will draw the
timezone icon next to the event.
* gui/e-day-view-main-item.c: take transparency into account when
drawing the blue vertical bars to represent busy time.
* gui/tag-calendar.c: take transparency into account when tagging
the mini calendar.
* gui/e-calendar-table.c (e_calendar_table_init): removed the "None"
options for transparency and classification, since these properties
have defaults anyway, so we may as well use those to keep it simple.
Also use "Free" and "Busy" for transparency, rather than "Transparent"
and "Opaque".
* gui/calendar-model.c: updated classification & transparency code
as above.
* gui/e-calendar-table.etspec: changed "Transparency" to "Show Time As"
since people have a chance of understanding that.
* gui/e-week-view.c:
* gui/e-day-view.c:
* gui/gnome-cal.c: added functions to get the visible time range.
* gui/calendar-commands.c: finished stuff to set the folder bar
label to the dates currently displayed.
* gui/control-factory.c (control_factory_new_control): connected
signal to update the folder title bar label when the dates shown
are changed. I had to connect it here since we need the BonoboControl
in the callback, and I don't know how to get the control from the
widget.
* gui/tasks-control.c (tasks_control_activate): clear the folder bar
label. We could display something here at some point.
* gui/dialogs/recurrence-page.glade: changed "_Add" to "A_dd", since
we have an "_Actions" menu. (These also use Alt+key, right?)
* gui/dialogs/event-page.glade:
* gui/dialogs/event-page.c: added 'Show Time As' field, which is
really the TRANSP property but with a better name!
Also changed one of the "_Confidential" to "Con_fidential" since we
already have "_Contacts" using the same 'C' key.
* pcs/cal-backend-file.c (cal_backend_file_get_free_busy): skip
events that are TRANSPARENT. Also added comment as this code looks
inefficient.
* cal-util/cal-component.c: removed stuff for comparing timezones.
* gui/comp-util.c (cal_comp_util_compare_event_timezones): moved the
above function here, and updated it to compare the UTC offsets of the
times as well as the TZIDs.
svn path=/trunk/; revision=11717
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-27 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
* gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons):
initialize to NULL some pointers
* e-calendar-table.c (selection_received): deal correctly with
VCALENDAR objects
(e_calendar_table_copy_clipboard): g_strdup the value returned by
icalcomponent_get_as_ical_string
svn path=/trunk/; revision=11459
|
|
|
|
|
|
|
|
|
| |
2001-07-21 Damon Chaplin <damon@ximian.com>
* gui/e-week-view-event-item.c (e_week_view_event_item_draw): fixed
the test to see whether we should draw the icons.
svn path=/trunk/; revision=11330
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-11 Damon Chaplin <damon@ximian.com>
* idl/evolution-calendar.idl: renamed updateObject to updateObjects
and removed the UID argument, since it can add/update multiple objects
at once. (It can't yet, but it will!)
* pcs/cal.c:
* pcs/cal-backend.[hc]:
* pcs/cal-backend-file.c: renamed update_object to update_objects and
got rid of the UID arg.
* cal-client/cal-client.c (cal_client_update_objects): new function to
add/update multiple objects in one go, i.e for iTIP and for importing
calendars.
* gui/print.c (print_date_label): fixed type bug.
* gui/e-week-view.[hc]:
* gui/e-week-view-event-item.c: draw the timezone icons if the event's
DTSTART or DTEND is in a different timezone to the current one.
Note that we may want to change this so it compares the UTC offsets
rather than the TZIDs, since currently it will draw the icons for all
events coming from iTIP requests from other clients.
svn path=/trunk/; revision=11027
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-02 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/task-page.c (categories_clicked_cb):
* gui/dialogs/event-page.c (categories_clicked_cb): use the new
self-contained e_categories_config_open_dialog_for_entry() function
* gui/e-week-view-event-item.c (e_week_view_item_draw_icons):
* gui/e-day-view-top-item.c (e_day_view_reshape_long_event):
(e_day_view_reshape_day_event): ditto
* gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
use e_categories_config_get_icon_for() to retrieve the icon
associated with each category
svn path=/trunk/; revision=10699
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-01 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-day-view-main-item.c
(e_day_view_main_item_draw_day_event): draw icons per category
* gui/e-day-view-top-item.c
(e_day_view_top_item_draw_long_event): draw icons per category
* gui/e-day-view.c
(e_day_view_reshape_long_event):
(e_day_view_reshape_day_event): calculate space for category icons
* gui/e-week-view-event-item.c
(e_week_view_event_item_draw_icons): draw icons per category
* gui/e-week-view.c
(e_week_view_reshape_event_span): calculate space for category icons
svn path=/trunk/; revision=10646
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-30 Federico Mena Quintero <federico@ximian.com>
* gui/e-week-view-event-item.c
(e_week_view_event_item_button_press): Only set the
pressed_event_num and pressed_span_num if button 1 was pressed.
Fix up return values a bit. This fixes bug #3780.
svn path=/trunk/; revision=10637
|
|
|
|
|
|
| |
helixcode.com with ximian.com all over the place.
svn path=/trunk/; revision=10440
|
|
|
|
| |
svn path=/trunk/; revision=9191
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-17 Damon Chaplin <damon@helixcode.com>
* gui/e-week-view*.c
* gui/e-day-view*.c: don't use the theme colors at all within
the graphical parts of the widgets, since they may clash with
our colors. May make them configurable in future so people can tweak
them to go with their theme. At least the calendars are usable in any
theme now, even though the colors may not go well with the theme.
Also set the font of all the EText items in style_set.
* gui/e-week-view-event-item.c (e_week_view_event_item_draw): don't
draw the icons if we are editing the event.
* gui/e-day-view.c:
* gui/e-week-view.c: reinstated the optimizations so we don't do a
complete relayout if the event's dates haven't been changed.
(Though we still do a re-layout when recurring events change, since
comparing all the RDATES/RRULES/EXDATES/EXRULES is too much hassle.)
A side-effect of this change is that the EWeekView won't crash so
often - only recurring events will be a problem.
* cal-util/cal-component.[hc]: added function to check if the start
and end dates of a component match. Used for optimizing the updating
of the EDayView & EWeekView.
svn path=/trunk/; revision=7593
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-17 Federico Mena Quintero <federico@ximian.com>
* */*: Ximianified email addresses and copyrights.
* idl/evolution-calendar.idl (CalFactory::open): Renamed from
::load(), and added an only_if_exists argument.
(CalFactory::create): Removed method.
(Listener::OpenStatus): Removed the IN_USE error and replaced it
with a NOT_FOUND one; renamed the enum from LoadStatus.
(Listener::notifyCalOpened): Renamed from notifyCalLoaded().
* pcs/cal-backend.h (CalBackend): Removed the uri field.
(CalBackendOpenStatus): Renamed from CalBackendLoadStatus and
added a NOT_FOUND value.
(CalBackendClass::open): Put in a slot for the open method.
* pcs/cal-backend.c (cal_backend_create): Removed function.
* pcs/cal-backend-file.c (cal_backend_file_open): Return the
appropriate value when only_if_exists is TRUE.
(create_cal): We are Ximian now, so set the PRODID property to
the appropriate foo.
* pcs/cal-factory.c (CalFactory_open): implemented, replacing
CalFactory_load() and CalFactory_create().
(CalFactory_open): Moved the queue_load_create_job() stuff to
here, since we now only need to contemplate the open case instead
of load/create ones.
(open_backend): Do everything here; replaces load_backend() and
create_backend().
* cal-client/cal-listener.h (CalListenerClass::cal_opened):
Renamed from cal_loaded.
(CalListenerClass): Replaced the silly signals, which are
gratuitous abstraction, by a set of function pointers in the
instance structure.
* cal-client/cal-listener.c (cal_listener_get_calendar): Removed
unused function.
(cal_listener_construct): Added the listener notification functions.
(cal_listener_new): Ditto.
(Listener_notifyCalOpened): Renamed to our new naming convention
for servant implementations.
(Listener_notifyObjUpdated): Ditto.
(Listener_notifyObjRemoved): Ditto.
* cal-client/cal-client.h (CalClientOpenStatus): Renamed from
CalClientLoadStatus.
(CalClientClass::cal_opened): Renamed from ::cal_loaded().
(CalClientLoadState): New enum; basically make LoadState public so
that users of this code do not have to maintain their own states.
* cal-client/cal-client.c (cal_client_create_calendar): Removed
function.
(cal_client_open_calendar): Moved the functionality over from
load_or_create(); now we do everything here.
(*): Use the CalClientLoadState enum values instead of the old
LoadState values.
(cal_client_get_load_state): Renamed from cal_client_is_loaded(),
and return the appropriate value.
(CalClientPrivate): Added an uri field.
(cal_client_init): Initialize priv->uri.
(cal_client_destroy): Free the priv->uri.
(cal_opened_cb): Maintain the priv->uri.
(cal_client_open_calendar): Fill in the priv->uri.
(cal_client_get_uri): New function.
* gui/calendar-model.c (calendar_model_set_new_comp_vtype): New
function to configure the type of calendar components to create
when doing click-to-add. This makes the model usable for
something other than task lists.
(calendar_model_get_new_comp_vtype): New function.
* gui/e-calendar-table.c (e_calendar_table_get_model): New function.
(e_calendar_table_destroy): Unref the subset_model.
* gui/gnome-cal.h (GnomeCalendarOpenMode): Removed enum.
* gui/gnome-cal.c (LoadState): Removed enum; we now use the
CalClientLoadState from the client objects.
(GnomeCalendarPrivate): Removed the loading_uri and
task_pad_loading_uri fields as well as the load_state and
task_pad_load_state fields, as we can now query them directly from
the CalClient.
(open_error): Renamed from load_error().
(create_error): Removed function.
(gnome_calendar_open): Do not take in the mode parameter.
(cal_opened_cb): Get rid of our beautifully-crafted state machine
and replace it with simple code; all the loading smarts are in the
Wombat now.
(setup_widgets): Set the new component vtype of the table model to
CAL_COMPONENT_TODO.
* gui/Makefile.am (evolution_calendar_SOURCES): Removed
gnome-month-item.[ch] from the list of sources.
* gui/calendar-summary.c (CalSummary): Removed unused cal_loaded
field.
(create_summary_view): Do not check if the file exists; this is
the job of the Wombat.
(generate_html_summary): Fixed prototype.
(alarm_fn): Fixed prototype.
(property_dialog): Fixed prototype. Wonder if/how this ever
worked.
(create_summary_view): Cast the component and view as
appropriate. Removed unused html variable.
[Iain dude, are you compiling with -Wall?]
* gui/e-itip-control.c (cal_opened_cb): Sigh, this function
signature was *very* wrong. It was using CalClientGetStatus
instead of CalClientOpenStatus.
* gui/e-tasks.h (ETasksOpenMode): Removed enum.
* gui/e-tasks.c (setup_widgets): Set the new component vtype of
the table model to CAL_COMPONENT_TODO.
(LoadState): Removed the state machine foo.
(e_tasks_open): Removed the mode parameter.
(initial_load): Removed function.
(create_error): Removed function.
(ETasksPrivate): Removed folder_uri field.
(cal_opened_cb): Remove the state machine.
* gui/component-factory.c: #include "tasks-control.h"
* conduits/calendar/calendar-conduit.h (ECalConduitContext):
Removed calendar_load_tried field.
* conduits/calendar/calendar-conduit.c (start_calendar_server_cb):
Sigh, fixed function prototype.
* conduits/todo/todo-conduit.h (EToDoConduitContext): Removed
calendar_load_tried field.
* conduits/todo/todo-conduit.c (start_calendar_server_cb): Fixed
function prototype.
svn path=/trunk/; revision=7571
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-13 Christopher James Lahey <clahey@helixcode.com>
* cal-util/cal-recur.c: #if 0ed cal_obj_date_only_compare_func.
(cal_object_get_rdate_end): Changed this function to get rid of a
possible uninitialized error on the rdate function.
* gui/calendar-model.c: Fixed some warnings involving the #define
_XOPEN_SOURCE lines here.
* gui/component-factory.c: #ifdef WANT_THE_EXECUTIVE_SUMMARYed out
the summary_factory object since it's unused if
WANT_THE_EXCUTIVE_SUMMARY is not defined.
* gui/e-day-view.c: #if 0ed out e_day_view_remove_event_cb.
(obj_updated_cb): #ifndef NO_WARNINGSed out a #warning.
* gui/e-week-view-event-item.c (e_week_view_event_item_draw): Made
it so that
* gui/e-week-view.c (obj_updated_cb): #ifndef NO_WARNINGSed out a
#warning.
svn path=/trunk/; revision=6982
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-28 Damon Chaplin <damon@helixcode.com>
* gui/e-day-view*.[hc]:
* gui/e-week-view*.[hc]: finished 12-hour support and tried to tidy
up & comment the drawing code in places. Also fixed a couple of bugs I
spotted. All the options on the 'Calendar' page should now work.
svn path=/trunk/; revision=6706
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-20 Damon Chaplin <damon@helixcode.com>
* gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): added
_click-to-add-message, though I'm not sure if i18n will work.
* cal-util/cal-recur.c (cal_obj_time_add_hours):
(cal_obj_time_add_minutes):
(cal_obj_time_add_seconds): updated to handle -ve args.
* cal-util/timeutil.c (time_add_day): set tm_isdst to -1 before calling
mktime().
* cal-util/cal-recur.c (generate_instances_for_chunk): don't call the
callback if the event ends exactly on the interval start time.
* gui/e-week-view.c (e_week_view_reshape_event_span):
* gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons):
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
* gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
* gui/e-day-view.c (e_day_view_reshape_long_event):
(e_day_view_reshape_day_event): use cal_component_has_alarms().
* cal-util/cal-component.[hc]: added cal_component_has_alarms().
2000-10-16 Damon Chaplin <damon@helixcode.com>
* gui/calendar-config.c (config_read): set default MonthVPanePosition
to 1 rather than 0, so if you move the hpane you'll see the date
navigator.
svn path=/trunk/; revision=6063
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* configure.in: Added check for gnome-app-lib. Removed
directories that have been moved to gal.
From addressbook/ChangeLog:
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/Makefile.am, contact-editor/Makefile.am,
ename/Makefile.am, gui/component/Makefile.am,
gui/widgets/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
$(EXTRA_GNOME_LIBS). Removed unneeded libraries.
* backend/ebook/e-card.c, backend/pas/pas-backend-file.c,
contact-editor/e-contact-editor-address.c,
contact-editor/e-contact-editor-categories.c,
contact-editor/e-contact-editor-categories.h,
contact-editor/e-contact-editor-fullname.c,
contact-editor/e-contact-editor.c,
contact-editor/e-contact-save-as.c, ename/e-address-western.c,
ename/test-ename-western-gtk.c,
gui/component/addressbook-factory.c, gui/component/addressbook.c,
gui/component/e-cardlist-model.h, gui/component/e-ldap-storage.c,
gui/component/select-names/e-select-names-bonobo.c,
gui/component/select-names/e-select-names-manager.c,
gui/component/select-names/e-select-names-model.c,
gui/component/select-names/e-select-names-table-model.c,
gui/component/select-names/e-select-names-table-model.h,
gui/component/select-names/e-select-names-text-model.h,
gui/component/select-names/e-select-names.c,
gui/component/select-names/e-select-names.h,
gui/search/e-addressbook-search-dialog.c,
gui/widgets/e-addressbook-model.h,
gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-label.c,
gui/widgets/e-minicard-view-widget.c,
gui/widgets/e-minicard-view-widget.h,
gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h,
gui/widgets/e-minicard-widget.h, gui/widgets/e-minicard.c,
gui/widgets/test-minicard-label.c, gui/widgets/test-reflow.c,
printing/e-contact-print.c: Fixed the #include lines to deal
properly with gal.
From calendar/ChangeLog:
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* gui/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
$(EXTRA_GNOME_LIBS). Removed unneeded libraries.
* gui/calendar-model.h, gui/e-calendar-table.c, gui/e-day-view.c,
gui/e-week-view-event-item.c, gui/e-week-view.c,
gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/main.c,
gui/print.c, gui/dialogs/task-editor.c: Fixed the #include lines
to deal properly with gal.
* gui/check-filled.xpm: New file since we can't include it from
e-table anymore.
From camel/ChangeLog:
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* camel-folder-search.c, camel-folder-search.h,
camel-remote-store.c, providers/imap/camel-imap-folder.c,
providers/imap/camel-imap-store.c: Fixed the #include lines to
deal properly with gal.
From composer/ChangeLog:
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
$(EXTRA_GNOME_LIBS). Removed unneeded libraries.
* e-msg-composer-address-dialog.c, e-msg-composer-address-entry.c,
e-msg-composer-attachment.c, e-msg-composer-hdrs.c,
e-msg-composer.c: Fixed the #include lines to deal properly with
gal.
From e-util/ChangeLog:
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Removed all the files moved to gal.
* e-dialog-widgets.c: Fixed the #include lines to deal properly
with gal.
* e-gui-utils.c, e-gui-utils.h: Removed all of the functionality
that was moved to gal.
* e-canvas-utils.c, e-canvas-utils.h, e-canvas-vbox.c,
e-canvas-vbox.h, e-canvas.c, e-canvas.h, e-cursors.c, e-cursors.h,
e-font.c, e-font.h, e-popup-menu.c, e-popup-menu.h, e-printable.c,
e-printable.h, e-unicode.c, e-unicode.h, e-util.c, e-util.h,
e-xml-utils.c, e-xml-utils.h: Moved to gal.
From filter/ChangeLog:
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* filter-editor.c, filter-filter.c, filter-folder.c,
filter-input.c, filter-message-search.c, filter-option.c,
filter-rule.c, score-editor.c, vfolder-editor.c, vfolder-rule.c:
Fixed the #include lines to deal properly with gal.
From mail/ChangeLog:
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
$(EXTRA_GNOME_LIBS). Removed unneeded libraries.
* component-factory.c, folder-browser-factory.c, folder-browser.c,
mail-callbacks.c, mail-config-gui.c, mail-display.c,
mail-display.h, main.c, message-list.c, message-list.h: Fixed the
#include lines to deal properly with gal.
From po/ChangeLog:
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* POTFILES.in: Removed files that have been moved to gal.
From shell/ChangeLog:
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
$(EXTRA_GNOME_LIBS). Removed unneeded libraries.
* e-component-registry.c, e-corba-storage-registry.c,
e-corba-storage.c, e-folder-type-registry.c, e-folder.c,
e-local-folder.c, e-local-storage.c,
e-shell-folder-creation-dialog.c,
e-shell-folder-selection-dialog.c, e-shell-folder-title-bar.c,
e-shell-view.c, e-shell.c, e-shortcuts-view.c, e-shortcuts.c,
e-storage-set-view.c, e-storage-set-view.h, e-storage-set.c,
e-storage.c, evolution-local-storage.c, evolution-session.c,
evolution-shell-client.c, evolution-shell-component-client.c,
evolution-shell-component.c, evolution-shell-view.c,
evolution-storage-listener.c, evolution-storage.c, main.c: Fixed
the #include lines to deal properly with gal.
From widgets/meeting-time-sel/ChangeLog:
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
$(EXTRA_GNOME_LIBS). Removed unneeded libraries.
* e-meeting-time-sel-list-item.c, e-meeting-time-sel.c,
e-meeting-time-sel.h: Fixed the #include lines to deal properly
with gal.
If you've read this far, you deserve a prize. The first email in my
mailbox with the subject "What a commit message!" (and your physical
mailing address somewhere in the message) will receive a free Helix
Code T-shirt mailed to anywhere within the continental United States.
I cannot be held responsible for problems with email systems anywhere.
This is supposed to be for fun, so please don't make a fuss if
something goes wrong and your mail doesn't reach me. Find my email
elsewhere in this message, and if it's been more than a few days,
you're probably too late.
From widgets/misc/ChangeLog:
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
$(EXTRA_GNOME_LIBS). Removed unneeded libraries.
* e-calendar-item.c, e-calendar.c, e-calendar.h, e-title-bar.c:
Fixed the #include lines to deal properly with gal.
* e-scroll-frame.c, e-scroll-frame.h: Moved to gal.
From widgets/shortcut-bar/ChangeLog:
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
$(EXTRA_GNOME_LIBS). Removed unneeded libraries.
* e-icon-bar.c, e-icon-bar.h, e-shortcut-bar.c,
e-shortcut-model.c, test-shortcut-bar.c: Fixed the #include lines
to deal properly with gal.
From widgets/ChangeLog:
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Removed directories that have been moved to gal.
* e-paned/.cvsignore, e-paned/Makefile.am, e-paned/e-hpaned.c,
e-paned/e-hpaned.h, e-paned/e-paned.c, e-paned/e-paned.h,
e-paned/e-vpaned.c, e-paned/e-vpaned.h: Moved to gal.
* e-reflow/.cvsignore, e-reflow/Makefile.am,
e-reflow/e-reflow-sorted.c, e-reflow/e-reflow-sorted.h,
e-reflow/e-reflow.c, e-reflow/e-reflow.h: Moved to gal.
* e-table/.cvsignore, e-table/ChangeLog, e-table/LICENSE,
e-table/Makefile.am, e-table/ROADMAP.e-table, e-table/TODO,
e-table/add-col.xpm, e-table/arrow-down.xpm, e-table/arrow-up.xpm,
e-table/check-empty.xpm, e-table/check-filled.xpm,
e-table/clip.png, e-table/e-cell-checkbox.c,
e-table/e-cell-checkbox.h, e-table/e-cell-string.c,
e-table/e-cell-text.c, e-table/e-cell-text.h,
e-table/e-cell-toggle.c, e-table/e-cell-toggle.h,
e-table/e-cell-tree.c, e-table/e-cell-tree.h, e-table/e-cell.c,
e-table/e-cell.h, e-table/e-table-click-to-add.c,
e-table/e-table-click-to-add.h, e-table/e-table-col-dnd.h,
e-table/e-table-col.c, e-table/e-table-col.h,
e-table/e-table-column-model.h, e-table/e-table-column.c,
e-table/e-table-config.c, e-table/e-table-config.glade,
e-table/e-table-config.glade.h, e-table/e-table-config.h,
e-table/e-table-defines.h, e-table/e-table-example-1.c,
e-table/e-table-example-2.c,
e-table/e-table-field-chooser-dialog.c,
e-table/e-table-field-chooser-dialog.h,
e-table/e-table-field-chooser-item.c,
e-table/e-table-field-chooser-item.h,
e-table/e-table-field-chooser.c,
e-table/e-table-field-chooser.glade,
e-table/e-table-field-chooser.glade.h,
e-table/e-table-field-chooser.h,
e-table/e-table-group-container.c,
e-table/e-table-group-container.h, e-table/e-table-group-leaf.c,
e-table/e-table-group-leaf.h, e-table/e-table-group.c,
e-table/e-table-group.glade, e-table/e-table-group.glade.h,
e-table/e-table-group.h, e-table/e-table-header-item.c,
e-table/e-table-header-item.h, e-table/e-table-header.c,
e-table/e-table-header.h, e-table/e-table-item.c,
e-table/e-table-item.h, e-table/e-table-model.c,
e-table/e-table-model.h, e-table/e-table-one.c,
e-table/e-table-one.h, e-table/e-table-scrolled.c,
e-table/e-table-scrolled.h, e-table/e-table-selection-model.c,
e-table/e-table-selection-model.h, e-table/e-table-simple.c,
e-table/e-table-simple.h, e-table/e-table-size-test.c,
e-table/e-table-sort-info.c, e-table/e-table-sort-info.h,
e-table/e-table-sorted-variable.c,
e-table/e-table-sorted-variable.h, e-table/e-table-sorted.c,
e-table/e-table-sorted.h, e-table/e-table-sorter.c,
e-table/e-table-sorter.h, e-table/e-table-subset-variable.c,
e-table/e-table-subset-variable.h, e-table/e-table-subset.c,
e-table/e-table-subset.h, e-table/e-table-text-model.c,
e-table/e-table-text-model.h, e-table/e-table-tooltip.h,
e-table/e-table-tree.h, e-table/e-table.c, e-table/e-table.h,
e-table/e-tree-example-1.c, e-table/e-tree-example-2.c,
e-table/e-tree-model.c, e-table/e-tree-model.h,
e-table/e-tree-simple.c, e-table/e-tree-simple.h,
e-table/image1.png, e-table/image2.png, e-table/image3.png,
e-table/remove-col.xpm, e-table/sample.table,
e-table/table-test.c, e-table/table-test.h, e-table/test-check.c,
e-table/test-cols.c, e-table/test-table.c: Moved to gal.
* e-text/.cvsignore, e-text/Makefile.am, e-text/e-entry-test.c,
e-text/e-entry.c, e-text/e-entry.h,
e-text/e-text-event-processor-emacs-like.c,
e-text/e-text-event-processor-emacs-like.h,
e-text/e-text-event-processor-types.h,
e-text/e-text-event-processor.c, e-text/e-text-event-processor.h,
e-text/e-text-model.c, e-text/e-text-model.h,
e-text/e-text-test.c, e-text/e-text.c, e-text/e-text.h: Moved to
gal.
i.e.,
...
changed evolution to work with gal.
svn path=/trunk/; revision=5490
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-06 JP Rosevear <jpr@helixcode.com>
* gui/e-day-view-main-item.c
(e_day_view_main_item_draw_day_event):
Use new cal_component_has_recurrences convenience function
* gui/e-week-view.c (e_week_view_show_popup_menu): ditto
* gui/e-week-view-event-item.c
(e_week_view_event_item_draw_icons):
ditto
* gui/calendar-model.c (calendar_model_value_at): ditto
(calendar_model_value_at): ditto
* gui/e-day-view.c (e_day_view_on_event_click): ditto
(e_day_view_on_event_right_click): ditto
(e_day_view_on_top_canvas_motion): ditto
(e_day_view_on_top_canvas_motion): ditto
(e_day_view_on_main_canvas_motion): ditto
(e_day_view_on_main_canvas_motion): ditto
(e_day_view_reshape_day_event): ditto
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
ditto
* gui/e-day-view.c (e_day_view_on_long_event_click): ditto
svn path=/trunk/; revision=5220
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-23 Federico Mena Quintero <federico@helixcode.com>
* gui/main.c: #include <e-util/e-cursors.h>
* gui/e-day-view-time-item.c (e_day_view_time_item_draw):
Initialize time_min_x1 and hour_r to keep gcc happy.
* gui/e-day-view.c (e_day_view_update_event_label): Warning fix.
(e_day_view_update_main_canvas_drag): Initialize start_row.
* gui/e-week-view-event-item.c (e_week_view_event_item_draw):
Initialize time_y_small_min, icon_x.
* Makefile.am (SUBDIRS): Re-enable the gui directory.
* gui/prop.c (prop_store_alarm_default_values): Temporarily #if 0
out.
svn path=/trunk/; revision=4993
|
|
|
|
|
|
|
|
|
|
| |
2000-08-20 JP Rosevear <jpr@helixcode.com>
* gui/e-week-view-event-item.c
(e_week_view_event_item_draw_icons):
Use CalComponent instead of iCalObject. #if some alarm stuff
svn path=/trunk/; revision=4896
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-06-05 Damon Chaplin <damon@helixcode.com>
* gui/e-week-view-event-item.c (e_week_view_event_item_button_press):
allow the right button to popup the menu, even when the event is
being edited.
* gui/e-week-view.c:
* gui/e-day-view.c: Set the keyboard focus to the EDayView/EWeekView
when the right button is clicked, so that any event being edited is
saved before any action (e.g. opening the Event Editor dialog) is
started. Note that this won't work if we switch to asynchronous
notification.
svn path=/trunk/; revision=3427
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-05-08 Damon Chaplin <damon@helixcode.com>
* gui/e-week-view.c (e_week_view_remove_event_cb):
* gui/e-day-view.c (e_day_view_remove_event_cb): don't set the ico->uid
to NULL or we won't find any other occurrences of the event. Set the
editing_event_day/num to -1 instead.
* gui/e-week-view-event-item.c (e_week_view_event_item_draw): fixed the
positioning of the icons for long events.
* cal-util/calobj.c (ical_object_normalize_summary): forgot to
terminate the string.
svn path=/trunk/; revision=2920
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-05-06 Damon Chaplin <damon@helixcode.com>
* gui/e-day-view.c:
* gui/e-week-view.c: finish editing event when user hits Return key.
(e_week_view_on_text_item_event): stop event signals after doing any
other calls, since otherwise it will also stop any other resulting
event signals.
* gui/e-week-view-event-item.c (e_week_view_event_item_draw): don't
draw the start/end times while editing.
* gui/eventedit.c: changed the Summary field to a GtkEntry, since we
now only want a single line of text.
* cal-util/calobj.c (ical_object_normalize_summary): new function to
convert the summary field to a single line of text, by converting any
sequence of CR & LF characters to a single space.
(ical_object_create_from_vobject): call the above function. I think
all functions that load iCalObjects go through this.
(ical_new): called it here as well just in case.
svn path=/trunk/; revision=2827
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-05-04 Damon Chaplin <damon@helixcode.com>
* gui/e-day-view.c (e_day_view_foreach_event_with_uid): for the long
events pass E_DAY_VIEW_LONG_EVENT as the day. Fixes SEGV.
* gui/calendar-commands.c: when we switch views, grab the focus.
* gui/gnome-cal.c (gnome_calendar_tag_calendar):
(gnome_calendar_mark_gtk_calendar_day): changed this so it uses
cal_client_get_events_in_range(), and doesn't load any objects.
Also just return if it isn't visible.
* gui/calendar-commands.c (calendar_get_events_in_range): call
g_list_sort() to sort the list rather than g_list_insert_sorted() for
each element. It is much more efficient.
Also changed it so that the co->ev_start/end fields are copied from
the CalObjInstance rather than the parameters to the function
(that is right, isn't it?)
Also freed the list elements, and finally the list.
(calendar_iterate): changed this to use cal_client_get_events_in_range
since that is more efficient than getting all the uids and then loading
and parsing all the events.
* pcs/cal-backend.c (save): output the '... saved' message before
freeing the string!
* gui/gncal-todo.c (gncal_todo_update):
* gui/e-week-view.c (e_week_view_update_event):
* gui/e-day-view.c (e_day_view_update_event):
* gui/calendar-commands.c (calendar_get_events_in_range):
(calendar_iterate): free obj_string after it is parsed.
svn path=/trunk/; revision=2802
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-05-01 Damon Chaplin <damon@helixcode.com>
* cal-util/calobj.c (ical_object_compare_dates): new function to see
if the event dates have changed (including any recurrence rules).
It is used for optimization when we get the "object_changed" signal.
We have to do far less work if the dates are unchanged.
* gui/e-week-view.c:
* gui/e-day-view.c: only draw the selection when we have the keyboard
focus, since the user expects to be able to type in a new event when
the selection is shown. Also keep the selection when we lose focus,
but just don't show it.
Also quite a few changes to cope with the new client/server
architecture.
* gui/e-day-view-top-item.c (e_day_view_top_item_draw):
* gui/e-day-view-main-item.c (e_day_view_main_item_draw):
* gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
only draw the selection if the widget has the keyboard focus.
* gui/gnome-cal.c (mark_gtk_calendar_day): fixed so it works with
events longer than one day. And changed the code for updating events
in the new views.
svn path=/trunk/; revision=2701
|
|
2000-04-24 Damon Chaplin <damon@helixcode.com>
* gui/Makefile.am: added new source files and pixmaps, and removed
old source files, which can be deleted.
* gui/e-week-view-titles-item.[hc]:
* gui/e-week-view-main-item.[hc]:
* gui/e-week-view-event-item.[hc]:
* gui/e-week-view.[hc]: new files implementing the week/month views.
* gui/yearview.xpm:
* gui/monthview.xpm:
* gui/weekview.xpm:
* gui/workweekview.xpm:
* gui/dayview.xpm: new pixmaps for the toolbar buttons. These aren't
intended to be the final pixmaps.
* gui/calendar-commands.c: added radio buttons to the toolbar to
switch between the calendar views, and moved the am_pm_flag here so we
can get rid of view-utils.c.
* gui/gnome-cal.[hc]: made it a subclass of GtkVBox, rearranged the
widgets into 2 notebooks, and added the selection_start_time and
selection_end_time fields.
* gui/goto.c: updated to use new selection time range.
* gui/quick-view.c: added '#include <gtk/gtkwindow.h>' so it compiles.
* gui/e-day-view.[hc]: changed the interface to support the new
selection time range, got rid of a few debugging messages and changed
a few bits.
svn path=/trunk/; revision=2583
|