| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-17 Rodrigo Moya <rodrigo@novell.com>
* gui/calendar-component.c:
* gui/calendar-offline-handler.c:
* gui/comp-editor-factory.c:
* gui/e-tasks.c:
* gui/gnome-cal.c:
* gui/misc.c:
* gui/alarm-notify/alarm-notify.c: use libedataserver's e-url.
svn path=/trunk/; revision=28422
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
remove the source from the gnome-calendar.
svn path=/trunk/; revision=26774
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=26637
|
|
|
|
| |
svn path=/trunk/; revision=26636
|
|
|
|
| |
svn path=/trunk/; revision=26635
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
2004-06-04 JP Rosevear <jpr@novell.com>
* gui/gnome-cal.c (gnome_calendar_purge): make purging actually
work
svn path=/trunk/; revision=26213
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-05-25 Jeffrey Stedfast <fejj@novell.com>
* Makefile.am: Make calendar-errors.xml.h and install the xml
file.
* calendar-errors.xml: New error definitions file.
* gui/gnome-cal.c (backend_died_cb): Use e-error
* gui/e-tasks.c (backend_died_cb): Use e-error
* gui/dialogs/send-comp.c (send_component_dialog): Use e-error
* gui/dialogs/save-comp.c (save_component_dialog): Use e-error
* gui/dialogs/delete-comp.c (delete_component_dialog): Use e-error
* gui/dialogs/cancel-comp.c (cancel_component_dialog): Use e-error
svn path=/trunk/; revision=26084
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-05-14 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-day-view.c (process_component):
* gui/e-week-view.c (process_component):
* gui/gnome-cal.c (gnome_calendar_purge):
* gui/tag-calendar.c (tag_calendar_by_comp):
* gui/e-cal-model.c (e_cal_model_generate_instances): use
e_cal_generate_instances_for_object instead of
e_cal_recur_generate_instances.
svn path=/trunk/; revision=25905
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-05-05 JP Rosevear <jpr@ximian.com>
Fixes #58025
* gui/gnome-cal.c (set_search_query): kill warning
(setup_config): don't set time out here
(setup_widgets): set it here
(gnome_calendar_destroy): clear the time out
* gui/e-tasks.c (search_bar_sexp_changed_cb): kill warning
(setup_config): don't set time out here
(setup_widgets): set it here and remember the time out id
(e_tasks_destroy): clear the time out
svn path=/trunk/; revision=25803
|
|
|
|
|
|
|
|
|
|
|
| |
2004-05-03 JP Rosevear <jpr@ximian.com>
Fixes #57894
* gui/gnome-cal.c (gnome_calendar_new_task): make sure we use the
default component of the correct model
svn path=/trunk/; revision=25748
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-30 Gary Ekker <gekker@novell.com>
* gui/e-tasks.c: (e_tasks_init): Set up the model to use the correct
query. Setup callbacks for gconf changes. Add an idle timeout to hide
completed items.
Add update_view, update_view_cb, and
config_hide_completed_tasks_changed_cb to update the model view.
* gui/gnome-cal.c: ditto
* gui/calendar-config.h: Add notifications for hide_completed_tasks
settings.
* gui/calendar-config.c: ditto
svn path=/trunk/; revision=25727
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-29 JP Rosevear <jpr@ximian.com>
* gui/tasks-component.h (tasks_component_peek_source_list): remove
prototypes
* gui/tasks-component.c (source_removed_cb): unselect the
source in the selector if source removed from calendar
(create_component_view): create the activity handler and listen to
source remove signal
* gui/gnome-cal.h: add signals, protos
* gui/gnome-cal.c (gnome_calendar_class_init): add source added
and removed signals
(client_cal_opened_cb): emit source removed signal
(open_ecal): set the status message
(backend_died_cb): emit source removed signal
(gnome_calendar_set_activity_handler): allow an activity handler
to be set
(gnome_calendar_add_source): emit source added signal
(gnome_calendar_remove_source): emit source removed signal
(display_view): update the active activity handler
* gui/e-tasks.h: add signal prototypes
* gui/e-tasks.c (e_tasks_class_init): add source added and removed
signals
(backend_died_cb): emit source removed signal
(e_tasks_add_todo_source): emit source added/removed signals
(e_tasks_remove_todo_source): emit source removed signal
* gui/e-calendar-view.h: add proto
* gui/e-calendar-view.c (e_calendar_view_set_activity_handler):
allow an activity handler to be set
(e_calendar_view_set_status_message): use private activity handler
(if any) to set status message
* gui/e-calendar-table.h: add data member and proto
* gui/e-calendar-table.c (e_calendar_table_set_activity_handler):
allow an activity handler to be set
(e_calendar_table_set_status_message): use private activity
handler (if any) to set status message
* gui/e-calendar-marshal.list: add extra marshallers
* gui/calendar-component.h: kill protos
* gui/calendar-component.c (source_removed_cb): unselect the
source in the selector if source removed from calendar
(create_component_view): create the activity handler and listen to
source remove signal
svn path=/trunk/; revision=25694
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-21 JP Rosevear <jpr@ximian.com>
Fixes #56504
* gui/gnome-cal.c (gnome_calendar_destroy): no need to destroy the
creatable item handler
(gnome_calendar_set_ui_component): don't do the creatable
item stuff here
* gui/e-tasks.c (e_tasks_set_ui_component): don't do the creatable
item stuff here
(e_tasks_destroy): no need to destroy creatable item handler
* gui/e-calendar-table.c (e_calendar_table_set_status_message):
comment out temporarily
* gui/e-calendar-view.c (e_calendar_view_set_status_message): ditto
* gui/calendar-component.c: switch to using per component view
information; don't listen for config changes to the primary
selection and selection so that different windows can have
different calendar selections; use a local creatable items handler
so that the new button is associated with the right window when
setting the default times
* gui/tasks-component.c: ditto
svn path=/trunk/; revision=25566
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-21 Not Zed <NotZed@Ximian.com>
* gui/gnome-cal.c (gnome_calendar_set_ui_component): fix for
user_creatable_items api changes.
* gui/e-tasks.c (e_tasks_set_ui_component): fix for
user_creatable_items api changes.
svn path=/trunk/; revision=25547
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-19 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (set_view): take a range_selected boolean for
internal use
(gnome_calendar_set_view): use above
(display_view): use priv->range_selected, we'll set it correctly
before this
(display_view_cb): only pass focus boolean
(gnome_calendar_on_date_navigator_selection_changed): set the view
so the view menu is accurate
svn path=/trunk/; revision=25510
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-14 JP Rosevear <jpr@ximian.com>
Fixes #56613
* gui/gnome-cal.h: add proto
* gui/gnome-cal.c (client_cal_opened_cb): key the clients by uid
(backend_died_cb): ditto
(gnome_calendar_add_source): ditto
(gnome_calendar_remove_source): use remove_source_by_uid
(gnome_calendar_remove_source_by_uid): new function to remove a
source by uid
(gnome_calendar_set_default_source): key the clients by uid
* gui/calendar-component.c (update_task_selection): the source
could be NULL if the source was deleted rather than unchecked
(update_primary_task_selection): look at the task source list
svn path=/trunk/; revision=25469
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/gnome-cal.c (gnome_calendar_set_ui_component): Create an
EUserCreatableItemsHandler for the view if there isn't one yet,
and then activate it.
(gnome_calendar_destroy): destroy it.
* gui/calendar-component.c (impl__get_userCreatableItems): add
object/folder flags to items.
* gui/e-tasks.c (e_tasks_set_ui_component): Create an
EUserCreatableItemsHandler for the view if there isn't one yet,
and then activate it.
(e_tasks_destroy): destroy it.
* gui/tasks-component.c (impl__get_userCreatableItems): add
object/folder flags. Change "Task List" to "Tasks Group" per new
specs.
* gui/calendar-commands.c (calendar_control_deactivate): clear the
GnomeCal's ui_component rather than setting it again
svn path=/trunk/; revision=25382
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-07 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (gnome_calendar_dayjump): remove extra set view
params
(gnome_calendar_set_view): simplify, just set the current view id
and let the gal view stuff do the rest
(display_view): modify from set_view, don't set the view id here
or update the default view config setting
(display_view_cb): update the date navigator
(gnome_calendar_construct): kill the default view stuff, gal view
handles that
(gnome_calendar_on_date_navigator_selection_changed): use display_view
* gui/e-week-view.c (time_range_changed_cb): ditto
(e_week_view_set_selected_time_range): just set the selection,
don't fool with the base date
(e_week_view_on_button_press): do a full day event if double
clicked on
* gui/e-day-view.c (time_range_changed_cb): only set the selection
if we can't preserve an existing selection
* gui/control-factory.c (set_prop):
* gui/calendar-config.h: remove protos
* gui/calendar-config.c: remove default view calls
* gui/calendar-commands.c (show_day_view_clicked): remove extra
params to gnome_calendar_set_view
(show_work_week_view_clicked): ditto
(show_week_view_clicked): ditto
(show_month_view_clicked): ditto
(show_list_view_clicked): ditto
* gui/apps_evolution_calendar.schemas.in.in: remove default view
setting, gal view remembers this for us
svn path=/trunk/; revision=25353
|
|
|
|
|
|
|
|
|
| |
2004-04-01 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (client_cal_opened_cb): set the default timezone
on all clients when opened.
svn path=/trunk/; revision=25280
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-31 JP Rosevear <jpr@ximian.com>
Fixes #56120
* gui/gnome-cal.c (append_category_cb): update the correct element
(client_categories_changed_cb): pass the array, not a reference to
it
svn path=/trunk/; revision=25273
|
|
|
|
|
|
|
|
| |
2004-03-31 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c: fixed documentation typos.
svn path=/trunk/; revision=25264
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-26 JP Rosevear <jpr@ximian.com>
Fixes #55648
* gui/print.c (print_todo_details): get the default from the model
* gui/gnome-cal.h: remove and update protos
* gui/gnome-cal.c (update_query): the clients and client_list
members are now arrays of source types
(setup_widgets): default the query to everything for tasks, cast
the config items
(gnome_calendar_init): init all the client hashs
(gnome_calendar_destroy): clean them up, clean up all categories
(client_cal_opened_cb): handle based on source type
(append_category_cb): don't track the size in the closure
(client_categories_changed_cb): do all the merging here
(backend_died_cb): handle based on source type
(gnome_calendar_construct): we don't special case the task stuff
any more
(gnome_calendar_get_default_client): return the default of the
current view
(gnome_calendar_add_source): take a source type argument and
append accordingly
(gnome_calendar_remove_source): similar, but remove accordingly
(gnome_calendar_set_default_source): take a source type argument and
set the default accordingly
(gnome_calendar_new_task): use the default of the task model
* gui/e-calendar-view.c (e_calendar_view_add_event): kill warning
* gui/calendar-component.c (update_uris_for_selection): pass
source type when adding/removing
(update_uri_for_primary_selection): ditto
(update_task_selection): make sure we show the correct list of
tasks
(update_primary_task_selection): make sure we track the primary
task correctly
(delete_calendar_cb): pass source type when removing
(config_primary_selection_changed_cb): config listener callback
for tasks
(config_tasks_selection_changed_cb): ditto
(impl_createControls): load the initial task selection, listen for
changes
(calendar_component_init): get the source lists
* gui/calendar-commands.c (sensitize_taskpad_commands): get the
task pad and then the default client from that
svn path=/trunk/; revision=25201
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-25 JP Rosevear <jpr@ximian.com>
Fixes #53499
* gui/gnome-cal.c (setup_widgets): don't give the state file to
the list view
(set_view): ensure that if the list view was in custom mode it
stays that way
(display_view_cb): attach to the etable of the list view
(gnome_calendar_setup_view_menus): use an etable gal view for the
list view and don't set the view twice
* gui/e-tasks.c (e_tasks_setup_view_menus): the instance should no
longer be per task uri since all the uris are shown together
* gui/e-cal-list-view.h: update/add protos
* gui/e-cal-list-view.etspec: limit the available columns to what
product design agreed on
* gui/e-calendar-table.etspec: ditto
* gui/e-cal-list-view.c (e_cal_list_view_class_init): ignore
update query calls
(e_cal_list_view_load_state): make public
(e_cal_list_view_save_state): ditto
(setup_e_table): don't handle state saving ourselves
(e_cal_list_view_construct): ditto
(e_cal_list_view_new): ditto
(e_cal_list_view_destroy): ditto
* gui/calendar-view.c (calendar_view_get_type_code): we don't
handle the list view here
* gui/calendar-view-factory.c
(calendar_view_factory_get_type_code): we don't handle the list
view here
(calendar_view_factory_get_title): ditto
svn path=/trunk/; revision=25185
|
|
|
|
|
|
|
|
|
| |
2004-03-24 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (update_query): don't create queries for the clients
that are not loaded yet.
svn path=/trunk/; revision=25171
|
|
|
|
|
|
|
|
|
| |
004-03-24 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (client_cal_opened_cb): remove debug code that
slipped in
svn path=/trunk/; revision=25170
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-19 JP Rosevear <jpr@ximian.com>
Fixes #55716
* gui/e-cal-model.c (remove_client): unset the default if the
client removed was the default
svn path=/trunk/; revision=25132
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-15 JP Rosevear <jpr@ximian.com>
Fixes #52253
* gui/print.c (print_week_summary_cb): copy component data
* gui/gnome-cal.c (get_times_for_views): calculate the time range
for each view
(set_search_query): set the search query on the model
(set_week_start): set the week start day
(week_start_changed_cb): track if it changes
(setup_config): set its notification
(setup_widgets): update the view times and date navigator
(gnome_calendar_init): remove dead values
(gnome_calendar_goto_date): just calc the new time and let
update_view_times handle it
(gnome_calendar_goto): ditto
(gnome_calendar_direction): ditto
o (gnome_calendar_set_selected_time_range): ditto
(gnome_calendar_dayjump): ditto
(update_view_times): set the time ranges on the models
(set_view): use the new preserve day setting
(gnome_calendar_set_view): don't update the view times, just
switch
(gnome_calendar_get_selected_time_range): get the time range
(gnome_calendar_on_date_navigator_selection_changed): don't
re-update the date navigator, centralize the view setting
* gui/e-week-view.c (time_range_changed_cb): handle the time range
changing
(process_component): move here
(model_changed_cb): handle the model changing
(update_row): updated a changed row
(model_row_changed_cb): update a row
(model_cell_changed_cb): ditto
(model_rows_inserted_cb): handle events being added
(row_deleted_check_cb, remove_uid_cb, model_rows_deleted_cb):
handle events being deleted
(timezone_changed_cb): handle timezone changing
(e_week_view_init): create the model and listen to it
(e_week_view_new): don't create the model here
(e_week_view_set_selected_time_range): no need to cast
(e_week_view_set_first_day_shown): ditto
(e_week_view_set_weeks_shown): ditto
(e_week_view_update_event_cb): free and copy the data using new
routines
(e_week_view_foreach_event): step through every event
(e_week_view_remove_event_cb): we no longer track allocated status
(e_week_view_on_button_release): don't set the seleciton in the
calendar
(e_week_view_free_events): free the data with the util
(e_week_view_add_event): no need to track allocated status
(e_week_view_on_adjustment_changed): no need to cast
* gui/e-day-view.c (e_day_view_class_init): update query is no
longer used via class method
(time_range_changed_cb): handle the time range changing
(process_component): move here
(model_changed_cb): handle the model changing
(update_row): updated a changed row
(model_row_changed_cb): update a row
(model_cell_changed_cb): ditto
(model_rows_inserted_cb): handle events being added
(row_deleted_check_cb, remove_uid_cb, model_rows_deleted_cb):
handle events being deleted
(timezone_changed_cb): handle timezone changing
(e_day_view_init): create a model, connect to its signals
(e_day_view_destroy): we don't have our own query anymore
(e_day_view_update_event_cb): free and copy the data using new
routines
(e_day_view_remove_event_cb): we no longer track allocated status
(e_day_view_set_selected_time_range): actually set the selection
(e_day_view_recalc_day_starts): no need to cast
(e_day_view_recalc_work_week): ditto
(e_day_view_update_calendar_selection_time): don't call back to
the main calendar
(e_day_view_free_event_array): use the free util
(e_day_view_add_event): don't track allocated status
* gui/e-calendar-marshal.list: add marshaller
* gui/e-cal-view.h: remove field
* gui/e-cal-view.c: no longer listen for model signals
(e_calendar_view_class_init): make the model arg not construct
time
* gui/e-cal-model.h: update/add protos
* gui/e-cal-model.c (e_cal_model_class_init): set the dispose
handler and add a time_range_changed signal
(e_cal_model_init): defaults for queries
(e_cal_model_dispose): dispose of things
(e_cal_model_finalize): remove bits that are in dispose now
(search_by_uid_and_client): allow NULL client to find any uid
(e_cal_view_objects_added_cb): ref the client
(update_e_cal_view_for_client): use the full query
(remove_client): pre change for each row and emit deleted signals
(redo_queries): relaunch the query for each client
(e_cal_model_get_time_range): get the time range
(e_cal_model_set_time_range): set the time range and redo the
queries
(e_cal_model_set_search_query): get the search query
(e_cal_model_set_search_query): set the search query and redo the
queries
(e_cal_model_get_component_for_uid): get the component info based
on uid
(copy_ecdv): copy and ECellDateEditValue
(e_cal_model_copy_component_data): copy component data
(e_cal_model_free_component_data): unref the client
svn path=/trunk/; revision=25072
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-commands.c (calendar_control_sensitize_calendar_commands):
set the sensitivity correctly, depending on whether the command applied
to the currently selected event or the default client.
(calendar_control_activate): make sure we start with the menu items
correctly enabled/disabled.
svn path=/trunk/; revision=24968
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-27 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.h: remove proto
* gui/gnome-cal.c (set_query): rename from
gnome_calendar_set_query and make static
* gui/e-day-view.h: remove proto for dead function
* gui/e-day-view.c: guard config.h include
svn path=/trunk/; revision=24909
|
|
|
|
|
|
|
|
|
|
| |
2004-02-26 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (client_cal_opened_cb): make sure we unref the
task pad client and the calendar clients are unreffed by the hash
table
svn path=/trunk/; revision=24880
|
|
|
|
|
|
|
|
|
| |
2004-02-18 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (client_cal_opened_cb): set the task pad client to NULL
if opening it failed. Show more verbose status bar messages.
svn path=/trunk/; revision=24780
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-11 Rodrigo Moya <rodrigo@ximian.com>
Fixes #53886
* gui/gnome-cal.c (gnome_calendar_paste_clipboard,
gnome_calendar_delete_selection, gnome_calendar_cut_clipboard,
gnome_calendar_copy_clipboard): removed g_assert_if_reached calls
since we might get a different widget getting the focus.
(get_focus_location): check the canvas's' focused item.
svn path=/trunk/; revision=24707
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-09 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (client_cal_opened_cb): don't add the clients to the
internal hash/list here, just remove it if opening the calendar fails.
(gnome_calendar_add_event_source): add the client to the internal
hash/list here.
svn path=/trunk/; revision=24682
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-05 JP Rosevear <jpr@ximian.com>
* Convert the calendar_config_get_timezone and
icaltimezone_get_builtin_timezone pair to just
calendar_config_get_icaltimezone, this also guarantees we will
have some timezone (even if its just UTC)
svn path=/trunk/; revision=24642
|
|
|
|
|
|
|
|
|
|
| |
2004-02-04 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (gnome_calendar_add_event_source): don't update the
date navigator query nor the internal lists here...
(client_cal_opened_cb): do it here.
svn path=/trunk/; revision=24612
|
|
|
|
|
|
|
|
|
|
| |
2004-02-04 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (open_ecal): open calendars asynchronously.
(client_cal_opened_cb): on success, add the clients to the models here.
(gnome_calendar_add_event_source, gnome_calendar_construct): not here.
svn path=/trunk/; revision=24610
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-28 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (update_query):
* gui/e-cal-list-view.c (e_cal_list_view_update_query):
* gui/e-cal-view.c (e_calendar_view_update_query): stop status bar
messages madness.
svn path=/trunk/; revision=24503
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-24 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-component.[ch]
(calendar_component_peek_source_selector): new function.
* gui/tasks-component.[ch]
(tasks_component_peek_source_selector): new function.
* gui/e-tasks.c (backend_died_cb):
* gui/gnome-cal.c (backend_died_cb): don't tell the user to restart
Evolution, there is no need now, just unselecting and selecting
back the calendar loads it again. Also, remove the crashed client
from the list of loaded clients. Also, unselect the source on
the source selector.
svn path=/trunk/; revision=24417
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-22 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (setup_widgets): use the calendar component
config dir
(gnome_calendar_setup_view_menus): use the calendar component base
dir for the view storage
* gui/e-tasks.c (e_tasks_setup_view_menus): use the task component
base dir for the view storage
Fixes #53133
svn path=/trunk/; revision=24362
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-21 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-tasks.c (e_tasks_add_todo_source): check return value
from auth_new_cal_from_source(). Connect to "backend_died"
signal on the ECal class.
(backend_died_cb): callback for "backend_died" that displays
an error message when that happens.
* gui/gnome-cal.c (backend_died_cb): use a GtkMessageDialog.
svn path=/trunk/; revision=24355
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-14 Rodrigo Moya <rodrigo@ximian.com>
* common/authentication.c (auth_new_cal_from_source): check
return value from e_cal_new().
* gui/gnome-cal.c (gnome_calendar_construct): if there is no
default tasks folder, don't create the ECal from it.
svn path=/trunk/; revision=24219
|
|
|
|
|
|
|
|
|
| |
2004-01-10 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (open_ecal): cast the views to E_CALENDAR_VIEW,
not to E_CAL_VIEW.
svn path=/trunk/; revision=24148
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-01-10 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/notify-main.c: added missing headers.
* gui/alarm-notify/alarm-notify.c (alarm_notify_remove_calendar):
use the correct variable when calling alarm_queue_remove_client().
* gui/calendar-component.c (impl_upgradeFromVersion): removed redundant
variable declarations.
* gui/migration.c (process_old_dir):
* gui/e-timezone-entry.c (e_timezone_entry_mnemonic_activate):
* gui/e-date-time-list.c (e_date_time_list_finalize):
* gui/e-alarm-list.c (e_alarm_list_finalize): fixed warnings.
* gui/e-calendar-table.c: added missing prototypes at the top to
avoid warnings.
* gui/e-week-view.c (e_week_view_scroll_a_step):
* gui/e-day-view.c (e_day_view_event_move): directly return in the
default: case.
* gui/e-tasks.c (setup_widgets): connect to changes on the model.
(model_row_changed_cb): callback to update the HTML detailed view
when the currently selected task changes.
(client_obj_updated_cb): removed unused function.
(set_status_message): changed to accept a variable list of arguments.
(e_tasks_add_todo_uri): display status messages and get error message
from backend and display it in a dialog.
(cal_opened_cb, load_error, method_error, permission_error): removed
unused functions.
* gui/gnome-cal.c (open_ecal): added a GnomeCalendar argument, and
display status messages.
(gnome_calendar_construct, gnome_calendar_add_event_source):
adapted to changes in open_ecal().
svn path=/trunk/; revision=24147
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-08 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/alarm-queue.c (display_notification): store
the ECal's associated ECalView, and connect to its "objects_removed"
signal.
(notifiy_dialog_cb): disconnect signals from the ECalView, not the
ECal.
(on_dialog_objs_removed_cb): adapted to respond to "objects_removed"
signal on ECalView. Made it destroy the tray bar icon also.
(add_popup_menu_item): new function to create the popup items.
(tray_icon_clicked_cb): remove connection to obsolete signal, and
made it popup a menu on right-click.
(popup_open_cb, popup_dismiss_cb, popup_dismiss_all_cb): callbacks
for popup menu.
* gui/gnome-cal.c (connect_week_view_focus): don't access the
widget's private fields if NULL.
svn path=/trunk/; revision=24120
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-06 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (gnome_calendar_add_event_source): remove the
item from the hash last and don't free its members because the
hash table does that for us
(gnome_calendar_remove_event_source): ditto
svn path=/trunk/; revision=24078
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-05 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (open_ecal): new function to open ECal's, get any
error information and display it to the user, all-in-one.
(gnome_calendar_construct, gnome_calendar_add_event_source): use the
above function, instead of e_cal_open().
(open_error, method_error, permission_error): removed unneeded
functions, we just display the error message returned from the
backend.
svn path=/trunk/; revision=24052
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-05 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (gnome_calendar_construct): no need to connect to
the "cal_opened" signal on the task client. Also, added code to
add the client to the ECalendarTable's model.
(client_cal_opened_cb, update_e_cal_view_timeout): removed unneeded
function.
svn path=/trunk/; revision=24051
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-05 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (gnome_calendar_construct): no need to connect to
the "cal_opened" signal on the task client. Also, added code to
add the client to the ECalendarTable's model.
(client_cal_opened_cb, update_e_cal_view_timeout): removed unneeded
function.
svn path=/trunk/; revision=24049
|
|
|
|
|
|
|
|
|
|
| |
2004-01-05 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (gnome_calendar_construct): display the tasks'
primary selection in the task list, and actually open the tasks
folder.
svn path=/trunk/; revision=24048
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-22 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.[ch] (gnome_calendar_add_event_source,
gnome_calendar_remove_event_source): renamed from *_uri, to work with
ESource's rather than with plain URIs.
(gnome_calendar_set_default_source): ditto.
* gui/control-factory.c (set_prop):
* gui/calendar-component.c (add_uri_for_source, remove_uri_for_source,
update_uri_for_primary_selection):
use sources instead of uris with the GnomeCalendar widget.
svn path=/trunk/; revision=24005
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-22 Rodrigo Moya <rodrigo@ximian.com>
* common/authentication.[ch]: new files for managing interactive
authentication with backends.
* common/Makefile.am: build new private library.
* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar):
* gui/dialogs/event-page.c (source_changed_cb):
* gui/dialogs/task-page.c (source_changed_cb):
* gui/dialogs/copy-source-dialog.c (copy_source):
* gui/calendar-component.c (setup_create_ecal):
* gui/calendar-offline-handler.c (backend_go_offline,
backend_go_online, calendar_offline_handler_init):
* gui/comp-editor-factory.c (open_client):
* gui/e-itip-control.c (start_calendar_server):
* gui/e-tasks.c (e_tasks_add_todo_uri):
* gui/gnome-cal.c (gnome_calendar_construct,
gnome_calendar_add_event_uri):
* gui/tasks-component.c (setup_create_ecal):
* importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn,
gnome_calendar_import_data_fn): create the ECal's via the
auth_new_cal_from* functions in the authentication module.
* gui/alarm-notify/Makefile.am:
* gui/Makefile.am:
* importers/Makefile.am: link new private library.
* Makefile.am: added new directory to the build.
svn path=/trunk/; revision=23999
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-21 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.[hc]: rewrite for new ecal api, cache all
ecal's by type and minimize loading. Switch to using the source
option menu
* conduits/todo/todo-conduit.c (start_calendar_server): ditto
* conduits/calendar/calendar-conduit.c (start_calendar_server):
use ECalSourceType
* importers/icalendar-importer.c (load_file_fn): ditto
(vcal_load_file_fn): ditto
(gnome_calendar_import_data_fn): ditto
* gui/dialogs/task-page.c (source_changed_cb): ditto
* gui/dialogs/event-page.c (source_changed_cb): ditto
* gui/dialogs/copy-source-dialog.h: update proto
* gui/dialogs/copy-source-dialog.c (copy_source_dialog): ditto
* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): ditto
* gui/tasks-component.c (copy_task_list_cb): ditto
(setup_create_ecal): ditto
* gui/gnome-cal.c (gnome_calendar_construct): ditto
(gnome_calendar_add_event_uri): ditto
* gui/e-tasks.c (e_tasks_add_todo_uri): ditto
* gui/comp-editor-factory.c (open_client): ditto
* gui/calendar-offline-handler.c (backend_go_offline): ditto
(backend_go_online): ditto
(calendar_offline_handler_init): ditto
* gui/calendar-component.c (copy_calendar_cb): ditto
(setup_create_ecal): ditto
* gui/print.c (print_month_small): don't pass type to
e_cal_generate_instances
(print_day_details): ditto
(print_week_summary): ditto
* gui/tag-calendar.c (tag_calendar_by_client): ditto
svn path=/trunk/; revision=23994
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-17 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (client_cal_opened_cb): set a correct status
message.
* gui/tasks-component.c (fill_popup_menu_cb):
* gui/calendar-component.c (fill_popup_menu_cb): use the folder*.png
icons for folder operations.
* gui/Makefile.am: removed cal-client directory from $INCLUDES.
svn path=/trunk/; revision=23968
|
|
|
|
|
|
|
|
|
| |
2003-12-17 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (gnome_calendar_add_event_uri): check the return
value from e_cal_new_from_uri.
svn path=/trunk/; revision=23961
|
|
|
|
|
|
|
|
|
| |
2003-12-15 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (setup_widgets): set the list view config
properly (so we don't blow away the month view config
svn path=/trunk/; revision=23944
|
|
|
|
|
|
|
|
|
| |
2003-12-15 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (setup_widgets): set the calendar for the day
view
svn path=/trunk/; revision=23943
|
|
|
|
|
|
|
|
|
|
| |
2003-12-10 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (gnome_calendar_add_event_uri): remove the client
from the list if there are errors, instead of re-adding it again.
Also, unref the ECal object on errors, for not leaking.
svn path=/trunk/; revision=23909
|
|
|
|
|
|
|
|
| |
2003-12-08 Bolian Yin <bolian.yin@sun.com>
* gui/gnome-cal.c (gnome_calendar_class_init): correct argument mismatch in "goto_date" signal definition.
svn path=/trunk/; revision=23669
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-03 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (gnome_calendar_destroy): free the notification
list
* gui/tasks-component.c (impl_dispose): ditto
* gui/calendar-component.c (impl_dispose): ditto
svn path=/trunk/; revision=23610
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-26 Hans Petter Jansson <hpj@ximian.com>
* gui/calendar-offline-handler.c (backend_go_offline): e_cal_new () ->
e_cal_new_from_uri ().
(backend_go_online): Ditto.
(calendar_offline_handler_init): Ditto.
* gui/comp-editor-factory.c (open_client): Ditto.
* gui/e-itip-control.c (start_calendar_server): Ditto.
(object_requested_cb): Ditto.
* gui/e-tasks.c (e_tasks_add_todo_uri): Ditto.
* gui/gnome-cal.c (gnome_calendar_construct): Ditto.
(gnome_calendar_add_event_uri): Ditto.
* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): Ditto.
* importers/icalendar-importer.c (load_file_fn): Ditto.
(vcal_load_file_fn): Ditto.
(gnome_calendar_import_data_fn): Ditto.
* gui/dialogs/copy-source-dialog.c (copy_source): Pass sources to
e_cal_new ().
svn path=/trunk/; revision=23498
|
|
|
|
|
|
|
|
| |
2003-11-17 JP Rosevear <jpr@ximian.com>
* Cleanup some ref/unref calls
svn path=/trunk/; revision=23412
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-17 Rodrigo Moya <rodrigo@ximian.com>
* idl/evolution-calendar.idl: remove the AlarmNotify service, no
more need for it, since the alarm daemon will listen for changes
on the GConf key.
* gui/gnome-cal.c (add_alarms): removed function to talk to the
alarm daemon.
(client_cal_opened_cb): don't call add_alarms().
* gui/alarm-notify/alarm-notify.[ch]: made it a basic GObject.
(AlarmNotify_addCalendar, AlarmNotify_removeCalendar): removed
AlarmNotify interface implementation.
(alarm_notify_class_init): no epv to initialize.
(alarm_notify_remove_calendar): new function, copied from the
CORBA method implementation.
(alarm_notify_factory_fn): return NULL, since there is no objects
that can be created via this factory now.
* gui/alarm-notify/notify-main.c (main): now the factory is the alarm
notification service itself.
(load_calendars): no need to use exceptions here.
* gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in:
now the factory is the alarm notification service itself.
* gui/main.c (launch_alarm_daemon_cb): dont use the AlarmNotify CORBA
types.
svn path=/trunk/; revision=23384
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-16 JP Rosevear <jpr@ximian.com>
* gui/tasks-component.c (add_uri_for_source): add it via e-tasks
(remove_uri_for_source): remove it via e-tasks
(get_default_task): provide a default for editing
(impl_createControls): create the control directly
(impl_requestCreateItem): implement
* gui/gnome-cal.c (gnome_calendar_purge): don't let the two list
iterators clobber each other
* gui/e-tasks.h: add protos
* gui/e-tasks.c (e_tasks_destroy): free the client list and the
hash, disconnect signals
(e_tasks_new_task): use the default client
(e_tasks_add_todo_uri): add a uri
(e_tasks_remove_todo_uri): remove a uri
(e_tasks_set_default_uri): set default uri
(e_tasks_get_default_client): get default client
(e_tasks_delete_completed): expunge from all clients
(e_tasks_setup_view_menus): use default client uri
* gui/e-tasks.c (set_timezone): set the timezone for all clients
(e_tasks_init): set up the clients has table
* gui/e-calendar-table.etspec: yank some useless display columns
* gui/e-cal-model.c (remove_client): remove objects in reverse
order so we don't clobber ourselves
* gui/calendar-component.c: add FIXME
svn path=/trunk/; revision=23373
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-11 JP Rosevear <jpr@ximian.com>
* gui/calendar-offline-handler.c (backend_cal_opened_offline): use
a standard calendar status
(backend_cal_opened_online): ditto
* gui/alarm-notify/alarm-queue.c (cal_opened_cb): ditto
* gui/gnome-cal.c (client_cal_opened_cb): ditto
* gui/e-tasks.c (cal_opened_cb): ditto
* gui/e-itip-control.c (default_server_started_cb): ditto
* gui/e-cal-model.c (cal_opened_cb): ditto
* gui/comp-editor-factory.c (cal_opened_cb): ditto
svn path=/trunk/; revision=23286
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/e-tasks.c (e_tasks_delete_completed): Remove get-vtype check
from the completed-tasks query (and don't leak the sexp string).
* gui/e-cal-model.c (update_e_cal_view_for_client): Don't adjust
the sexp to use get-vtype.
* gui/gnome-cal.c (adjust_e_cal_view_sexp, gnome_calendar_purge):
Remove get-vtype check from queries
svn path=/trunk/; revision=23263
|
|
|
|
| |
svn path=/trunk/; revision=23206
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-29 JP Rosevear <jpr@ximian.com>
* gui/dialogs/cal-prefs-dialog.c (update_config): no need to
update config settings everywhere explicitly
* gui/tasks-component.c (update_uris_for_selection): cast the
widget
* gui/gnome-cal.h: remove proto
* gui/gnome-cal.c (setup_widgets): don't update config settings
explicitly
(gnome_calendar_update_config_settings): kill
* gui/e-week-view.c: remove null chars
* gui/e-tasks.h: remove proto
* gui/e-tasks.c (set_timezone): set the timezone on the client
(timezone_changed_cb): changed timezone callback
(setup_config): setup config stuff
(e_tasks_init): setup config and widgets here
(e_tasks_new): construct is dead, no need to track all widgets
(cal_opened_cb): set the timezone upon opening
(e_tasks_update_all_config_settings): kill
* gui/control-factory.c (control_factory_new_control): create the
calendar ourselves
* gui/calendar-config.c (on_timezone_set): don't update the
settings everywhere here, we have config managers now
* gui/calendar-component.c (impl_createControls): create the
calendar ourselves
* gui/calendar-commands.h: remove protos
* gui/calendar-commands.c: remove dead functions
svn path=/trunk/; revision=23117
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-29 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (set_timezone): set the timezone for all clients
(timezone_changed_cb): callback for changes
(setup_config): setup the configuration
(setup_widgets): setup up configuration managers for the list
view, task list and date navigator
(gnome_calendar_init): setup config
(gnome_calendar_destroy): destroy configuration managers and
notifications
(gnome_calendar_update_config_settings): remove dead bits
* gui/e-mini-calendar-config.[hc]: manage configuration of an
e-calendar
* gui/e-day-view-config.h: remove extraneous comment, type the
parent class correctly
* gui/e-week-view-config.h: ditto
* gui/e-day-view-config.c (e_day_view_config_class_init): type the
class correctly
(set_timezone): set timezone
(timezone_changed_cb): timezone changed callback
(e_day_view_config_set_view): track timezone changes
* gui/e-week-view-config.c: ditto
* gui/e-cell-date-edit-config.[hc]: manage configuration of a date
edit cell
* gui/e-calendar-table-config.[hc]: manage configuration of a
e-calendar-table
* gui/e-cal-list-view.c (get_current_time_cb): use the view
timezone to compute
* gui/e-cal-list-view-config.[hc]: manage configuration of a
list view
* gui/calendar-config.h: update protos
* gui/calendar-config.c
(calendar_config_add_notification_timezone): notify of timezone
change
(calendar_config_add_notification_dnav_show_week_no): notify of
show week number setting change
* gui/calendar-component.c (calendar_component_peek): remove bad
comma
* gui/Makefile.am: build new config classes
svn path=/trunk/; revision=23114
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-27 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (setup_widgets): store config objects as well
(gnome_calendar_set_default_uri): return FALSE if the
pre-condition fails
(gnome_calendar_update_config_settings): remove settings that are
now handled by the config objects
* gui/e-week-view.c (e_week_view_set_compress_weekend): queue a
draw
* gui/e-itip-control.c (start_default_server): comment out
* gui/e-day-view-config.[hc]: a class to track config changes of
interest to day views
* gui/e-week-view.[hc]: ditto for week views
* gui/calendar-config.h: add protos
* gui/calendar-config.c: use the #defines for the keys and add
notification routines
* gui/calendar-config-keys.h: a list of defines for gconf keys
* gui/Makefile.am: build new files
svn path=/trunk/; revision=23094
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-24 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.h: update protos
* gui/gnome-cal.c (gnome_calendar_set_default_uri): set the
default client based on uri
* gui/calendar-component.c (add_uri_for_source): rename from
load_uri_for_source and take a calendar
(remove_uri_for_source): utility routine to remove the source's
uri from the calendar
(is_in_selection): checks to see if the uid of the given source
matches any of those in the given selection
(update_uris_for_selection): remove any uris no longer in the
selection, add those that still exist
(source_selection_changed_callback): call above
(primary_source_selection_changed_callback): we have the calendar
easily now; set the default by uri
(control_activate_cb): handle activation and de-activation
(impl_createControls): create the calendar control ourselves so we
have access to the calendar
(impl_dispose): release the source selection
svn path=/trunk/; revision=23057
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-23 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (gnome_calendar_get_current_view_widget): just
uses the views array and the current view type
(setup_widgets): ditto
(set_view): ditto
(backend_died_cb): ditto
(gnome_calendar_get_calendar_model): ditto
(gnome_calendar_update_config_settings): ditto
svn path=/trunk/; revision=23054
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-23 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (update_query): use the internal client list to
create the queries
(gnome_calendar_destroy): use the internal client list to
disconnect signal handlers
(gnome_calendar_add_event_uri): add the client to the internal
list
(gnome_calendar_remove_event_uri): remove the client from the
internal list and lookup the client
(gnome_calendar_update_config_settings): use the internal client
list to update the config settings
svn path=/trunk/; revision=23045
|
|
|
|
|
|
|
|
|
| |
2003-10-22 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.[ch] (gnome_calendar_remove_event_uri): new
function to remove calendars from the views.
svn path=/trunk/; revision=23027
|
|
|
|
| |
svn path=/trunk/; revision=22965
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-10 Hans Petter Jansson <hpj@ximian.com>
* calendar/gui/Makefile.am (etspec_DATA): Add e-cal-list-view.etspec.
(libevolution_calendar_la_SOURCES): Add e-cal-list-view.[ch].
* calendar/gui/calendar-commands.c (show_list_view_clicked): Implement.
(calendar_get_text_for_folder_bar_label): Add case for list view.
Use month case and tweak it so it doesn't show "%d - %d" if the
time span contains only one day.
(verbs): Add list view.
(pixmaps): Add list view.
* calendar/gui/calendar-view-factory.c
(calendar_view_factory_get_title): Add list view case.
(calendar_view_factory_get_type_code): Add list view case.
* calendar/gui/control-factory.c (get_prop): Add list view case.
* calendar/gui/e-cal-model.c (get_classification): Fix to conform to
updated libical.
(ecm_set_value_at): Add missing break statements.
(ecm_get_color_for_component): Add braces for clarity.
* calendar/gui/gnome-cal.c (gnome_calendar_get_current_view_widget):
Add list view case.
(get_focus_location): Add list view case.
(connect_list_view_focus): Implement.
(setup_widgets): Set up list view.
(gnome_calendar_direction): Add list view case.
(set_view): Add list view case.
(gnome_calendar_setup_view_menus): Add list view factory.
(gnome_calendar_construct): Account for list view.
(gnome_calendar_update_config_settings): Account for list view.
(get_days_shown): Implement list view case.
* calendar/gui/gnome-cal.h (GnomeCalendarViewType): Add list view.
* calendar/gui/e-cal-list-view.[ch]: Implement ECalListView,
subclassing ECalView.
* ui/evolution-calendar.xml: Add calendar list view task button.
* art/listview.xpm: Add calendar list view icon.
svn path=/trunk/; revision=22850
|
|
|
|
|
|
|
|
|
|
| |
2003-08-22 Bolian Yin <bolian.yin@sun.com>
Fixes #47779
* gnome-cal.c (gnome_calendar_get_visible_time_range): fix the return value bug.
svn path=/trunk/; revision=22331
|
|
|
|
| |
svn path=/trunk/; revision=22308
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-20 Bolian Yin <bolian.yin@sun.com>
* gui/Makefile.am : Add a11y dependency.
* gui/calendar-commands.c (calendar_get_text_for_folder_bar_label)
* gui/e-cal-view.c: Add two new events: "event_changed" and "event_added"
* gui/e-day-view.c (e_day_view_class_init): init a11y.
(e_day_view_find_event_from_item): make it public from private
(e_day_view_update_event_cb): emit "event_changed" signal
(e_day_view_reshape_day_event): emit "event_added" signal
(e_day_view_reshape_long_event): emit "event_added" signal
* gui/e-week-view.c (e_week_view_class_init): init a11y.
(e_week_view_find_event_from_item): make it public from private
(e_week_view_update_event_cb): emit "event_changed" signal
(e_week_view_reshape_event_span): emit "event_added" signal
* gui/gnome-cal.c (gnome_calendar_class_init): init a11y.
(gnome_calendar_get_e_calendar_widget),
(gnome_calendar_get_search_bar_widget),
(gnome_calendar_get_view_notebook_widget): new functions
svn path=/trunk/; revision=22303
|
|
|
|
| |
svn path=/trunk/; revision=22143
|
|
|
|
| |
svn path=/trunk/; revision=22129
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-24 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-view.[ch] (e_cal_view_delete_selected_occurrence):
new function.
(e_cal_view_get_timezone, e_cal_view_set_timezone): new functions.
(e_cal_view_class_init): added new class' signal.
* gui/e-week-view.[ch] (e_week_view_delete_occurrence,
e_week_view_delete_occurrence_internal): removed.
(e_week_view_get_timezone): removed.
(e_week_view_set_timezone): renamed to timezone_changed_cb, as
the callback for timezone changes in the parent ECalView.
(e_week_view_on_button_press): call gnome_calendar_new_appointment
instead of the non-existant e_week_view_new_appointment.
* gui/e-day-view.[ch] (e_day_view_delete_occurrence,
e_day_view_delete_occurrence_internal): removed.
(e_day_view_get_timezone): removed.
(e_day_view_set_timezone): renamed to timezone_changed_cb, as
the callback for timezone changes in the parent ECalView.
* gui/gnome-cal.c (gnome_calendar_delete_selected_occurrence):
made it call e_cal_view_delete_selected_occurrence.
(gnome_calendar_update_config_settings): call the generic
e_cal_view_set_timezone on all view widgets.
* gui/e-day-view-top-item.c:
* gui/e-week-view-main-item.c:
* gui/e-day-view-main-item.c: removed mentions to non-existant
structure fields.
svn path=/trunk/; revision=21948
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-23 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-view.[ch]: moved the duplicated popup menu code here.
(e_cal_view_create_popup_menu): new function to create the popup
menu for all views.
(on_new_appointment, on_new_event, on_new_meeting, on_new_task,
on_goto_today, on_goto_date, on_edit_appointment, on_print,
on_save_as, on_print_event, on_meeting, on_forward, on_publish,
on_settings, on_delete_appointment, on_cut, on_copy, on_paste,
on_unrecur_appointment): callbacks for the popup menu items.
* gui/e-week-view.c (e_week_view_on_new_appointment,
e_week_view_new_appointment, e_week_view_on_new_event,
e_week_view_on_new_meeting, e_week_view_on_new_task,
e_week_view_on_goto_today, e_week_view_on_goto_date,
e_week_view_on_edit_appointment, e_week_view_on_print,
e_week_view_on_save_as, e_week_view_on_print_event,
e_week_view_on_meeting, e_week_view_on_forward,
e_week_view_on_publish, e_week_view_on_settings,
e_week_view_on_delete_appointment,
e_week_view_delete_event_internal, e_week_view_on_cut,
e_week_view_on_copy, e_week_view_on_paste):
* gui/e-day-view.c (e_day_view_on_new_appointment,
e_day_view_on_new_event, e_day_view_on_new_meeting,
e_day_view_on_new_task, e_day_view_on_goto_today,
e_day_view_on_goto_date, e_day_view_on_edit_appointment,
e_day_view_on_print, e_day_view_on_save_as,
e_day_view_on_print_event, e_day_view_on_meeting,
e_day_view_on_forward, e_day_view_on_publish,
e_day_view_on_settings, e_day_view_on_delete_appointment,
e_day_view_delete_event_internal, e_day_view_on_cut,
e_day_view_on_copy, e_day_view_on_paste): removed duplicated code.
* gui/gnome-cal.[ch] (gnome_calendar_unrecur_selection): new function.
svn path=/trunk/; revision=21908
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-23 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-day-view.h:
* gui/e-week-view.h: removed unneeded prototypes.
* gui/e-cal-view.[ch] (e_cal_view_get_visible_time_range): new
function.
(selection_received): deal correctly with the selected time range.
* gui/e-week-view.c (e_week_view_get_visible_time_range): made it
private as the implementation of the 'get_visible_time_range'
virtual method.
* gui/e-day-view.c (e_day_view_get_visible_time_range): ditto.
* gui/gnome-cal.c (gnome_calendar_direction): merged redundant 'case'.
(focus_current_view): removed redundant code.
svn path=/trunk/; revision=21897
|
|
|
|
|
|
|
|
|
|
| |
2003-07-22 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (gnome_calendar_copy_clipboard,
gnome_calendar_cut_clipboard, gnome_calendar_paste_clipboard):
removed missing calls to e_day/week_view_*_clipboard.
svn path=/trunk/; revision=21894
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-22 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-view.[ch]: added "get_selected_events",
and "update_query" virtual methods.
(e_cal_view_class_init): initialize new virtual methods.
(e_cal_view_destroy): destroy new private members.
(e_cal_view_get_selected_events, e_cal_view_set_cal_client,
e_cal_view_get_cal_client): new functions.
(e_cal_view_cut_clipboard, e_cal_view_copy_clipboard,
e_cal_view_paste_clipboard): merged clipboard stuff.
* gui/e-day-view.c (e_day_view_cut_clipboard,
e_day_view_copy_clipboard, e_day_view_paste_clipboard): removed.
(e_day_view_get_selected_events): made these private as the
implementation of the 'get_selected_events' base class virtual method.
* gui/e-week-view.c (e_week_view_get_selected_events): ditto.
(e_week_view_cut_clipboard, e_week_view_copy_clipboard,
e_week_view_paste_clipboard): removed.
* gui/calendar-commands.c (sensitize_calendar_commands): call
e_cal_view_get_selected_events.
* gui/gnome-cal.c: removed a lot of redundant code thanks to the
above changes.
svn path=/trunk/; revision=21893
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-21 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-day-view.[ch]: removed e_day_view_set_calendar prototype.
(e_day_view_set_status_message): removed.
* gui/e-week-view.[ch] (e_week_view_set_status_message): removed.
* gui/e-cal-view.[ch] (e_cal_view_set_status_message): new functions.
(e_cal_view_destroy): unref activity client.
* gui/gnome-cal.c: updated to e_*_view/e_cal_view.
svn path=/trunk/; revision=21890
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-07-16 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.[ch] (gnome_calendar_purge): new function,
which uses a CalQuery to retrieve the objects older than a given date.
(check_instance_cb): callback for cal_recur_generate_instances.
(purging_obj_updated_cb): call check_instance_cb on each recurrence
to double-check the event can be deleted.
(purging_query_done_cb, purging_eval_error_cb): needed callbacks to
finish the query.
(gnome_calendar_destroy): free new members.
* gui/calendar-commands.c (purge_cmd): added implementation for the
'Purge' menu item.
svn path=/trunk/; revision=21846
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-07-16 Andrew Wu <Yang.Wu@sun.com>
Fixes #45772
* gui/gnome-cal.c(gnome_calendar_goto_date): implemented Alt+Left/Right
to go to the same day of the previous/next week.
* gui/gnome-cal.h:add two element in GnomeCalendarGotoDateType.
svn path=/trunk/; revision=21836
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-30 Bolian Yin <bolian.yin@sun.com>
Fixes #45328, #45329
* gui/e-day-view.c (e_day_view_do_key_press): Do not process
PageUp/PageDown, .. when the Alt key is pressed (give key binding
set the chance).
* gui/gnome-cal.h : define new enum type, GNOME_CAL_GOTO_DATE_TYPE.
* gui/gnome-cal.c (gnome_calendar_class_init): define new signal
"goto_date". Add key bindings for "Alt+PageUp/PageDown",
"Alt+Home/End".
(gnome_calendar_goto_date): Impl. signal handler for "goto_date".
svn path=/trunk/; revision=21717
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-10 Rodrigo Moya <rodrigo@ximian.com>
Fixes #41582
* gui/gnome-cal.c (gnome_calendar_hpane_resized): killed warnings
and added code to resize the EDayView's time column on the hpane's
resizing.
(gnome_calendar_vpane_resized): killed warnings.
svn path=/trunk/; revision=21421
|
|
|
|
|
|
| |
debugging message.
svn path=/trunk/; revision=21293
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-19 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (gnome_calendar_destroy): remove the query time
out if its still alive
(update_query_timeout): update the query and clear the time out
(client_cal_opened_cb): add the query update timeout
svn path=/trunk/; revision=21257
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-14 JP Rosevear <jpr@ximian.com>
* gui/e-tasks.c (e_tasks_destroy): guard against multiple destroys
* cal-client/cal-client.c (cal_client_finalize): unref the
bonobo listener
* gui/gnome-cal.c (gnome_calendar_destroy): guard against multiple
destroy calls
* gui/e-week-view.c (e_week_view_init): connect after destroy
(invisible_destroyed): don't unref, its already destroyed
* gui/e-day-view.c (e_day_view_init): connect after destroy
(invisible_destroyed): don't unref, its already destroyed
* gui/e-calendar-table.c (e_calendar_table_class_init): make sure
we set the parent class
(e_calendar_table_init): connect after the destroy handler runs
(e_calendar_table_destroy): guard against multiple destroys
(invisible_destroyed): don't unref the invisible, its already
being destroyed
* gui/calendar-offline-handler.c (backend_cal_set_mode): unref the
client, we are done with it now
(backend_cal_opened_online): ditto
(impl_dispose): unref our main client
* gui/calendar-commands.c (control_util_set_folder_bar_label):
release/unref the shell view once we are done with it
(control_util_show_settings): ditto
svn path=/trunk/; revision=21180
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-22 Rodrigo Moya <rodrigo@ximian.com>
Fixes part of #41148, #41216 and #41235
* gui/e-itip-control.c (init):
* gui/e-meeting-time-sel.c (e_meeting_time_selector_construct,
e_meeting_time_selector_add_key_color):
* gui/e-timezone-entry.c (e_timezone_entry_init):
* gui/gnome-cal.c (setup_widgets):
* gui/tasks-control.c (confirm_expunge):
* gui/dialogs/comp-editor.c (setup_widgets):
* gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct):
* gui/dialogs/meeting-page.c (meeting_page_construct):
* gui/dialogs/recurrence-page.c (make_weekly_special,
make_monthly_special, make_ending_count_special):
* gui/dialogs/schedule-page.c (schedule_page_construct):
use HIG-suggested spacing.
svn path=/trunk/; revision=20927
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-21 Rodrigo Moya <rodrigo@ximian.com>
Fixes #22444
* gui/calendar-commands.c: added new verbs for occurrence-related
menu items.
(delete_occurrence_cmd): added callback for "Delete this occurrence"
menu item. "Delete all occurrences" is just the same as "Delete".
(sensitize_calendar_commands): sensitive ocurrence-related menu items.
* gui/gnome-cal.[ch] (gnome_calendar_delete_selected_occurrence): new
function.
(gnome_calendar_get_current_view_widget): made this public.
* gui/e-week-view.[ch] (e_week_view_get_selected_event):
(e_week_view_delete_occurrence): new functions.
(e_week_view_delete_occurrence_internal): real implementation of the
'Delete Occurrence' logic.
(e_week_view_on_delete_occurrence): call delete_instance_internal.
* gui/e-day-view.[ch] (e_day_view_get_selected_event):
(e_day_view_delete_occurrence): new functions.
(e_week_view_delete_occurrence_internal): real implementation of the
'Delete Occurrence' logic.
(e_week_view_on_delete_occurrence): call delete_occurrence_internal.
svn path=/trunk/; revision=20917
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-15 JP Rosevear <jpr@ximian.com>
Fixes #39735 and 40257
* gui/gnome-cal.c: convert float pane positions to ints
(setup_widgets): set the initial position after realization and
track the drags to get the new position, pack the panes slightly
differently
(gnome_calendar_set_pane_positions): set purely pixel oriented
positions
(gnome_calendar_update_config_settings): no need to update quanta
setting
(gnome_calendar_hpane_realized): realization callback
(gnome_calendar_vpane_realized): ditto
(gnome_calendar_vpane_resized): resize callback, store new size
(gnome_calendar_hpane_resized): ditto
* gui/calendar-model.c (get_due_status): handle an error getting
the timezone
* gui/calendar-config.c (calendar_config_get_hpane_pos): return an
int
(calendar_config_set_hpane_pos): take an int
(calendar_config_get_vpane_pos): return an int
(calendar_config_set_vpane_pos): take an int
* gui/calendar-config.h: update protos
* gui/apps_evolution_calendar.schemas: update defaults for pane
positions
svn path=/trunk/; revision=20863
|
|
|
|
|
|
|
|
|
|
| |
2003-04-08 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c
(gnome_calendar_on_date_navigator_selection_changed): update the
selection for all view types
svn path=/trunk/; revision=20753
|
|
|
|
|
|
|
|
|
| |
2003-03-11 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (gnome_calendar_open): issue more descriptive
warnings.
svn path=/trunk/; revision=20250
|
|
|
|
| |
svn path=/trunk/; revision=20143
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-23 Hans Petter Jansson <hpj@ximan.com>
* gui/gnome-cal.c (backend_died_cb): Appease the compiler.
(gnome_calendar_update_paned_quanta): Don't actually try to set
the quantum properties. The quantum code should probably go away
entirely now that the panes update during resize, but let's keep
it around for a bit more.
* gui/dialogs/event-editor.c (event_editor_construct): Ref & sink
the pages.
* gui/dialogs/task-editor.c (task_editor_construct): Ref & sink
the pages.
svn path=/trunk/; revision=20011
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* pcs/Makefile.am: Split $(CORBA_GENERATED_H) rule from the
$(CORBA_GENERATED_C) rule to that it autogens properly when using
parallel makes.
* cal-client/Makefile.am: Likewise.
* gui/gnome-cal.c (gnome_calendar_setup_view_menus): Fix path to
the calendar's GAL Views directory. [Pointed out by Grzegorz
Goawski.]
svn path=/trunk/; revision=19947
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/gnome-cal.c (gnome_calendar_setup_view_menus): Use
EVOLUTION_GALVIEWSDIR.
* gui/e-tasks.c (e_tasks_setup_view_menus): Use
EVOLUTION_GALVIEWSDIR.
* cal-util/Makefile.am: Install libcal-util.la in $(privlibdir)
instead of $(libdir).
* gui/dialogs/comp-editor.c (setup_widgets): Get
evolution-comp-editor.xml from EVOLUTION_UIDIR.
(comp_editor_merge_ui): Get the file in EVOLUTION_UIDIR.
* gui/tasks-control.c (tasks_control_activate): Get
evolution-tasks.xml from EVOLUTION_UI_DIRECTORY.
* gui/calendar-commands.c (calendar_control_activate): Get
evolution-calendar.xml from EVOLUTION_UI_DIRECTORY.
* pcs/Makefile.am (pcsincludedir): Version using $(BASE_VERSION).
* importers/Makefile.am: Install evolution-calendar-importer in
$(libexecdir)/evolution/$(BASE_VERSION).
(sounddir): Remove.
* gui/dialogs/Makefile.am (iconsdir): Version using
$(BASE_VERSION).
(gladedir): Likewise.
(etspecdir): Likewise.
* gui/Makefile.am (help_base): Remove.
(install-data-local): Do not make the $(help_base)/C directory.
(etspecdir): Version using $(BASE_VERSION).
(gladedir): Likewise.
(iconsdir): Likewise.
(INCLUDES): Update the EVOLUTION_IMAGESDIR define to be versioned,
and add a -DEVOLUTION_GALVIEWSDIR.
* cal-util/Makefile.am: Install evolution-alarm-notify in
$(libexecdir)/evolution/$(BASE_VERSION).
* cal-util/Makefile.am (libcal_utilincludedir): Version using
$(BASE_VERSION).
* gui/alarm-notify/Makefile.am (iconsdir): Likewise.
(gladedir): Likewise.
* cal-client/Makefile.am: Install libcal-client.la in privlibdir
instead of libdir.
(libcal_clientincludedir): Version using $(BASE_VERSION).
svn path=/trunk/; revision=19553
|
|
|
|
|
|
|
|
| |
2003-01-14 Hans Petter Jansson <hpj@ximian.com>
* gui/gnome-cal.c (set_view): Only set view ID if we have an instance.
svn path=/trunk/; revision=19459
|
|
|
|
| |
svn path=/trunk/; revision=19444
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/config-control-factory.h: Removed.
* gui/config-control-factory.c: Removed.
* gui/itip-bonobo-control.c: Renamed from itip-control-factory.c.
(itip_bonobo_control_new): New.
(itip_control_factory_init): Removed.
* gui/itip-bonobo-control.h: Renamed from itip-control-factory.h.
* gui/tasks-control-factory.c: Removed.
* gui/tasks-control-factory.h: Removed.
* gui/control-factory.c (control_factory_init): Removed.
* gui/Makefile.am: Updated to build everything as
libevolution-calendar.so and install in the COMPONENTDIR.
* gui/GNOME_Evolution_Calendar.server.in.in: Updated to build the
component as a shared library.
* gui/main.c (main): Removed.
* gui/calendar-component.c (calendar_component_get_object): New.
(owner_set_cb): Do not store the shell pointer in shells.
(owner_unset_cb): Do not remove the shell pointer from shells;
instead, just set global_shell_client to NULL.
* gui/calendar-component.h: Renamed from component-factory.h.
* gui/calendar-component.c: Renamed from component-factory.c.
svn path=/trunk/; revision=19430
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-19 Hans Petter Jansson <hpj@ximian.com>
* gui/calendar-commands.c (calendar_control_deactivate):
Replace gtk_signal_disconnect_by_data() with
g_signal_handlers_disconnect_matched(). Former takes GtkObject,
latter takes GObject.
* gui/calendar-model.c (calendar_model_destroy): Ditto.
(update_query): Ditto.
(calendar_model_set_cal_client): Ditto.
* gui/e-day-view.c (e_day_view_destroy): Ditto.
(update_query): Ditto.
(e_day_view_set_cal_client): Ditto.
* gui/e-tasks.c (query_eval_error_cb): Ditto.
(query_query_done_cb): Ditto.
* gui/e-week-view.c (e_week_view_destroy): Ditto.
(update_query): Ditto.
(e_week_view_set_cal_client): Ditto.
* gui/gnome-cal.c (update_query): Ditto.
(gnome_calendar_destroy): Ditto.
* gui/tasks-control.c (tasks_control_deactivate): Ditto.
* gui/e-comp-editor-registry.c (foreach_close_cb): Replace
gtk_signal_handler_(un)block_by_data() with
g_signal_handlers_(un)block_matched(). Former takes GtkObject, latter
takes GObject.
* gui/dialogs/alarm-page.c (alarm_page_get_type): Replace with
E_MAKE_TYPE().
(alarm_page_class_init): Use GObject as base class instead of
GtkObject, and set up finalization instead of destroy handler.
(alarm_page_destroy): Change to alarm_page_finalize() and assume
parent is GObject, not GtkObject.
(alarm_page_new): Use g_object_new(), not gtk_type_new().
* gui/dialogs/event-page.c: Same general changes as above file.
(update_time): Replace gtk_signal_handler_(un)block_by_data()
with g_signal_handlers_(un)block_matched().
(clear_widgets): Ditto.
(times_updated): Ditto.
* gui/dialogs/recurrence-page.c: Same general changes as above file.
(clear_widgets): Replace gtk_signal_handler_(un)block_by_data()
with g_signal_handlers_(un)block_matched().
(append_exception): Ditto.
(fill_ending_date): Ditto.
(recurrence_page_fill_widgets): Ditto.
* gui/dialogs/comp-editor.c: Same general changes as above file.
(comp_editor_finalize): Replace gtk_signal_disconnect_by_data()
with g_signal_handlers_disconnect_matched().
(comp_editor_remove_page): Ditto.
* gui/dialogs/event-editor.c: Same general changes as above file.
* gui/dialogs/meeting-page.c: Same general changes as above file.
* gui/dialogs/schedule-page.c: Same general changes as above file.
* gui/dialogs/task-details-page.c: Same general changes.
* gui/dialogs/task-editor.c: Same general changes as above file.
* gui/dialogs/task-page.c: Same general changes as above file.
* gui/dialogs/e-delegate-dialog.c: Same general changes.
svn path=/trunk/; revision=19167
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-06 Rodrigo Moya <rodrigo@ximian.com>
Fixes #35003
* gui/misc.[ch] (get_uri_without_password): new function for
removing the password from the CalClient's uris.
* gui/gnome-cal.c (client_cal_opened_cb): use the URI returned by
get_uri_without_password for messages.
(backend_error_cb): likewise.
(backend_died_cb): likewise.
(gnome_calendar_open): likewise.
(open_error, method_error, permission_error): likewise.
* gui/e-tasks.c (e_tasks_open): hide the password from the URI
being displayed in messages.
(backend_error_cb): likewise.
svn path=/trunk/; revision=19070
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/calendar-commands.c (calendar_control_deactivate): Use
g_object_set_data(..., NULL) instead of gtk_object_remove_data().
* gui/calendar-commands.c: Use g_object_{set,get}_* functions
instead of gtk_object_{set,get}_*.
* gui/calendar-commands.c: Likewise.
* gui/calendar-config.c: Likewise.
* gui/control-factory.c: Likewise.
* gui/e-calendar-table.c: Likewise.
* gui/e-comp-editor-registry.c: Likewise.
* gui/e-day-view-main-item.c: Likewise.
* gui/e-day-view-time-item.c: Likewise.
* gui/e-day-view-top-item.c: Likewise.
* gui/e-day-view.c: Likewise.
* gui/e-meeting-attendee.c: Likewise.
* gui/e-meeting-model.c: Likewise.
* gui/e-meeting-time-sel-item.c: Likewise.
* gui/e-meeting-time-sel.c: Likewise.
* gui/e-week-view-event-item.c: Likewise.
* gui/e-week-view-layout.c: Likewise.
* gui/e-week-view-main-item.c: Likewise.
* gui/e-week-view-titles-item.c: Likewise.
* gui/e-week-view.c: Likewise.
* gui/gnome-cal.c: Likewise.
* gui/print.c: Likewise.
svn path=/trunk/; revision=18674
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* calendar-commands.c: Use g_object_ref()/g_object_unref() instead
of gtk_object_ref/gtk_object_unref().
* calendar-config.c: Likewise.
* calendar-model.c: Likewise.
* comp-editor-factory.c: Likewise.
* comp-util.c: Likewise.
* e-calendar-table.c: Likewise.
* e-day-view.c: Likewise.
* e-itip-control.c: Likewise.
* e-meeting-model.c: Likewise.
* e-meeting-time-sel.c: Likewise.
* e-tasks.c: Likewise.
* e-timezone-entry.c: Likewise.
* e-week-view.c: Likewise.
* gnome-cal.c: Likewise.
* goto.c: Likewise.
* itip-utils.c: Likewise.
* print.c: Likewise.
* tasks-control.c: Likewise.
* tasks-migrate.c: Likewise.
* gui/cal-search-bar.c: Use g_object_new() instead of
gtk_type_new().
* gui/calendar-model.c: Likewise.
* gui/calendar-view-factory.c: Likewise.
* gui/calendar-view.c: Likewise.
* gui/calendar-view.c: Likewise.
* gui/comp-editor-factory.c: Likewise.
* gui/e-calendar-table.c: Likewise.
* gui/e-cell-date-edit-text.c: Likewise.
* gui/e-comp-editor-registry.c: Likewise.
* gui/e-day-view.c: Likewise.
* gui/e-itip-control.c: Likewise.
* gui/e-meeting-attendee.c: Likewise.
* gui/e-meeting-attendee.c: Likewise.
* gui/e-meeting-model.c: Likewise.
* gui/e-meeting-time-sel.c: Likewise.
* gui/e-tasks.c: Likewise.
* gui/e-timezone-entry.c: Likewise.
* gui/e-week-view.c: Likewise.
* gui/gnome-cal.c: Likewise.
* gui/weekday-picker.c: Likewise.
* gui/e-itip-control.c (get_servers): g_object_unref the
shell_client instead of using bonobo_object_unref().
* gui/component-factory.c (owner_set_cb): Use
evolution_shell_client_corba_objref() instead of
bonobo_object_corba_objref().
svn path=/trunk/; revision=18673
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/calendar-commands.c: Use g_signal_connect() instead of
gtk_signal_connect().
* calendar-commands.c: Likewise.
* calendar-config.c: Likewise.
* calendar-model.c: Likewise.
* comp-editor-factory.c: Likewise.
* component-factory.c: Likewise.
* control-factory.c: Likewise.
* e-calendar-table.c: Likewise.
* e-comp-editor-registry.c: Likewise.
* e-day-view-time-item.c: Likewise.
* e-day-view.c: Likewise.
* e-itip-control.c: Likewise.
* e-meeting-model.c: Likewise.
* e-meeting-time-sel.c: Likewise.
* e-tasks.c: Likewise.
* e-timezone-entry.c: Likewise.
* e-week-view.c: Likewise.
* gnome-cal.c: Likewise.
* goto.c: Likewise.
* tasks-control.c: Likewise.
* tasks-migrate.c: Likewise.
* weekday-picker.c: Likewise.
svn path=/trunk/; revision=18672
|
|
|
|
|
|
|
|
| |
2002-11-07 JP Rosevear <jpr@ximian.com>
* Initial port of gui/ subdir to GNOME 2
svn path=/trunk/; revision=18648
|
|
|
|
|
|
|
|
|
| |
2002-10-29 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (backend_died_cb): cleaned up the status bar
messages for all widgets.
svn path=/trunk/; revision=18467
|
|
|
|
|
|
|
|
| |
2002-10-17 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (gnome_calendar_construct): fix c/p type
svn path=/trunk/; revision=18390
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-11 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c
(gnome_calendar_on_date_navigator_selection_changed): try to
preserve the work week view setting if it makes sense
(set_view): don't update the info again based on our view change
call
svn path=/trunk/; revision=18369
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-04 Rodrigo Moya <rodrigo@ximian.com>
Fixes #15892
* idl/evolution-calendar.idl: added notifyErrorOccurred method to
the Listener interface, so that backends can notify clients of errors
that can't be reported otherwise.
* pcs/cal.[ch] (cal_notify_error): new function.
* pcs/cal-backend-file.c (save): made to save to temporary file and
then moved to the correct file, so that we don't lose any data if
there's a problem while saving.
(notify_error): new function for notifying error messages to clients.
* cal-client/cal-listener.[ch]: added new callback function for getting
error messages from backends.
(impl_notifyErrorOccurred): new method implementation.
(cal_listener_class_init): initialize new epv member.
(cal_listener_init, cal_listener_destroy, cal_listener_construct,
cal_listener_new): initialize new function pointer.
* cal-client/cal-client.[ch]: adapted to changes in CalListener class.
(cal_client_class_init): added "backend_error" signal to CalClient class.
(backend_error_cb): callback for "error_occurred" signal on the CalListener,
which just emits the "backend_error" signal of CalClient.
* gui/gnome-cal.c (gnome_calendar_construct): connect to "backend_error"
signal on the CalClient's we create.
(backend_error_cb): display error message on error from backend.
* gui/e-tasks.c: likewise.
svn path=/trunk/; revision=18329
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
delegator's calendar should have the delegator as Organizer).
* idl/evolution-calendar.idl: add Cal_getEmailAddress, to return
the email address associated with a backend (if any).
* pcs/cal-backend.c (cal_backend_get_email_address): New.
* pcs/cal-backend-file.c (cal_backend_file_get_email_address):
Return NULL (for now).
* pcs/cal.c (impl_Cal_get_email_address): Implement this by
calling cal_backend_get_email_address and returning a NotFound
exception if it returns NULL.
* cal-client/cal-client.c (cal_client_get_email_address): New.
(cal_client_init, cal_client_destroy, etc): initialize/free
email_address
* gui/dialogs/event-editor.c (event_editor_construct): Split this
out of event_editor_init. Take and set a CalClient.
(event_editor_new): Take a CalClient.
* gui/dialogs/task-editor.c (task_editor_construct,
task_editor_new): Likewise.
* gui/dialogs/meeting-page.c (meeting_page_new,
meeting_page_construct): Take a CalClient and call
cal_client_get_email_address to find the default organizer
address. (Also fix a bug if the default account's name has
non-ASCII characters.)
* gui/itip-utils.c (comp_from): New. When sending a REQUEST or
CANCEL, use the Organizer as the From address.
(itip_send_comp): Call comp_from and pass the result to
Composer_setHeaders.
* gui/comp-editor-factory.c (edit_existing, edit_new): Pass the
CalClient to event_editor_new/task_editor_new
* gui/e-calendar-table.c (open_task): Likewise.
* gui/e-tasks.c (e_tasks_new_task): Likewise.
* gui/gnome-cal.c (gnome_calendar_edit_object,
gnome_calendar_new_task): Likewise.
svn path=/trunk/; revision=18253
|
|
|
|
|
|
|
|
|
|
| |
2002-09-09 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (client_cal_opened_cb): display status messages for
all operations we make, so that when using remote slow backends, so
that users have always indication of what's happening.
svn path=/trunk/; revision=18028
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-04 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (gnome_calendar_destroy): don't listen to client
signals after we get destroyed
Fixes #17036
svn path=/trunk/; revision=17976
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-27 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-config.c: use EConfigListener instead of direct access
to the bonobo-conf database.
(calendar_config_init): create the EConfigListener here, and install
an atexit function to unref the config listener object.
(config_read, property_change_cb, calendar_config_write,
calendar_config_write_on_exit): removed unneeded functions.
(calendar_config_get_*, calendar_config_set_*): changed to make use of
EConfigListener directly.
* gui/main.c (main): removed call to calendar_config_write_on_exit.
* gui/dialogs/cal-prefs-dialog.c (update_config): removed call to
calendar_config_write.
svn path=/trunk/; revision=17874
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
* cal-client/cal-client.[ch]: added internal EComponentListener
object, to listen for the activated Cal.
(cal_client_class_init): added "backend_died" signal.
(cal_client_destroy): clean up component listener.
(backend_died_cb): new callback for getting signals from the
EComponentListener.
(cal_opened_cb): setup component listener.
* cal-client/Makefile.am: added libetuil to needed LIBS.
* gui/gnome-cal.c (backend_died_cb): new callback.
(gnome_calendar_construct): connect to "backend_died" signal
on all CalClient's we create.
svn path=/trunk/; revision=17787
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-13 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (gnome_calendar_open): set status message on
ECalendarTable when opening the tasks.
(client_cal_opened_cb): set ECalendarTable status message to NULL
when we open the tasks folder. Also, clear up calendar status message
in all cases, not only if the folder was opened successfully.
svn path=/trunk/; revision=17768
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-13 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (gnome_calendar_open): set status message to NULL
if there is an error opening the calendar.
(client_cal_opened_cb): set status message to NULL only when we have
successfully opened the main CalClient.
svn path=/trunk/; revision=17767
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-17 Rodrigo Moya <rodrigo@ximian.com>
Fixes wombat crash (for JP and myself)
* gui/gnome-cal.c (gnome_calendar_open): don't call add_alarms here,
since the client is not yet attached to the backend, and the alarm
daemon does unref the client before creating a new one.
(client_cal_opened_cb): call add_alarms here.
svn path=/trunk/; revision=17215
|
|
|
|
|
|
|
|
|
| |
2002-06-04 Christopher James Lahey <clahey@ximian.com>
* gui/gnome-cal.c (gnome_calendar_setup_view_menus):
gal_view_menus_set_show_define_views (..., FALSE);
svn path=/trunk/; revision=17112
|
|
|
|
|
|
|
|
|
|
| |
2002-06-04 Christopher James Lahey <clahey@ximian.com>
* gui/e-tasks.c (e_tasks_setup_view_menus), gui/gnome-cal.c
(gnome_calendar_setup_view_menus): Set the title of our
GalViewCollection.
svn path=/trunk/; revision=17103
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-26 JP Rosevear <jpr@ximian.com>
* gui/e-comp-editor-registry.[hc]: a registry of comp editors so
we can close them all centrally
* gui/gnome-cal.c (gnome_calendar_init): there is no editor hash
now
(gnome_calendar_destroy): ditto
(gnome_calendar_edit_object): look for the event editor in the
registry, if it isn't there, create it and add it to the registry
* gui/e-calendar-table.c (open_task): look for the task editor in
the registry, if it isn't there, create it and add it to the
registry
* gui/component-factory.c (request_quit): close all open editors
(create_object): add a request_quit function to the shell
component
* gui/comp-editor-factory.c (free_client): there is no
uid_comp_hash to free any more
(editor_destroy_cb): we get an OpenClient as callback data now,
reduce the editor count and destroy it if it is 0
(edit_existing): don't create the Component, add the new editor to
the registry, increase the editor count
(edit_new): ditto
(open_client): set the editor count to 0
(impl_editExisting): look in the registry for the editor
* gui/Makefile.am: Build new sources
* gui/main.c (main): create the registry
* gui/dialogs/comp-editor.c (comp_editor_close): prompt to save
and then close dialog
* gui/dialogs/comp-editor.h: new proto
* gui/GNOME_Evolution_Calendar.oaf.in: remove dead summary stuff
svn path=/trunk/; revision=17018
|
|
|
|
|
|
|
|
|
| |
2002-05-17 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (gnome_calendar_setup_view_menus): set the view
to the current view
svn path=/trunk/; revision=16939
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-16 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (client_cal_opened_cb): added support for
CAL_CLIENT_OPEN_PERMISSION_DENIED error code.
(permission_error): new function to display 'Permission Denied'
error message when opening the calendar.
* gui/e-tasks.c: likewise.
* idl/evolution-calendar.idl: added PERMISSION_DENIED to Listener's
OpenStatus enumeration.
* cal-client/cal-client.c (cal_opened_cb): added code for retrieving
'Permission Denied' errors, and convert it to CalClientOpenStatus
values.
* pcs/cal-factory.c (open_backend): added code for informing of
'Permission Denied' errors.
svn path=/trunk/; revision=16933
|
|
|
|
|
|
|
|
|
|
| |
2002-04-30 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (gnome_calendar_construct): remove setup_widgets
from here
(gnome_calendar_init): move setup_widgets back here
svn path=/trunk/; revision=16650
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-24 JP Rosevear <jpr@ximian.com>
* gui/e-week-view.c (free_view_popup): free the view popup
(e_week_view_show_popup_menu): add the view popup to the
"main_item" menu and listen for destruction
* gui/e-day-view.c (free_view_popup): as above
(e_day_view_on_event_right_click): as above
* gui/e-week-view.h: add class member
* gui/e-day-view.h: add a class member
* gui/gnome-cal.h: new protos
* gui/gnome-cal.c (set_view): set the instance view id properly
when switching views
(gnome_calendar_setup_view_popup): generate a view popup
(gnome_calendar_discard_view_popup): destroy a view popup
svn path=/trunk/; revision=16572
|
|
|
|
|
|
|
| |
* gui/gnome-cal.c (gnome_calendar_open): Fix this: Rodrigo's patch
used one of the functions I just removed. :)
svn path=/trunk/; revision=16433
|
|
|
|
|
|
|
|
|
|
| |
2002-04-10 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (gnome_calendar_open): use the default uri for
tasks (as stored in the configuration) when the calendar URI is not
a local one (connector, etc).
svn path=/trunk/; revision=16427
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e-search-bar.c (init): Init various members to NULL.
(set_dropdown): Removed.
(add_dropdown): Removed.
(set_menu): New.
(add_menu_items): New.
(set_option): No need to setup the dropdown size here anymore.
(verb_cb): Function implementing the search menu verbs.
(update_bonobo_menus): New.
(e_search_bar_set_ui_component): New.
* e-search-bar.h: Remove the dropdown button stuff from struct
ESearchBar. Add `uic' and `items' members.
* e-filter-bar.c (e_filter_bar_new): Get a @uic arg.
* folder-browser-factory.c (control_activate): Set the UI
component on the search bar.
* gui/tasks-control.c (tasks_control_activate): Call
`e_tasks_set_ui_component()' here to give it the
BonoboUIComponent.
(tasks_control_deactivate): Likewise, call it here to unset the
BonoboUIComponent.
* gui/e-tasks.c (e_tasks_set_ui_component): New.
* gui/calendar-commands.c (calendar_control_activate): Call
gnome_calendar_set_ui_component() here.
(calendar_control_deactivate): ...And here, with a NULL
BonoboUIComponent.
* gui/gnome-cal.c (gnome_calendar_set_ui_component): New.
* gui/component/addressbook.c (control_activate): Call
`e_search_bar_set_ui_component()' to set the BonoboUIComponent for
the search bar.
* gui/component/GNOME_Evolution_Addressbook.oaf.in: Add an icon
for the LDAP sources configuration control.
svn path=/trunk/; revision=16178
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-15 JP Rosevear <jpr@ximian.com>
* gui/main.c: use bonobo exception macros to tidy
* gui/itip-control-factory.c: ditto
* gui/gnome-cal.c: ditto
* gui/comp-editor-factory.c: ditto
* gui/calendar-commands.c: ditto
svn path=/trunk/; revision=16172
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-13 Rodrigo Moya <rodrigo@ximian.com>
* gui/control-factory.c (set_prop): don't append 'calendar.ics'
to the URI.
(get_prop): finished.
* gui/tasks-control.c (tasks_control_set_property): don't append
'tasks.ics' to the URI.
(tasks_control_get_property): finished.
* gui/gnome-cal.c (gnome_calendar_open):
* gui/e-tasks.c (e_tasks_open): append $filename.ics to the uri to be
opened if the uri is local. Leave intact in other cases.
svn path=/trunk/; revision=15724
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the required version of gal.
From addressbook/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-view.c
(e_addressbook_view_setup_menus): Changed this function to use the
new GalViewMenus which takes a GalViewInstance, instead of a
GalViewCollection.
From calendar/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* gui/e-tasks.c (e_tasks_setup_view_menus), gui/gnome-cal.c
(gnome_calendar_setup_view_menus): Made these use the new
GalViewMenus stuff.
From mail/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* folder-browser.c, folder-browser.h, folder-browser-ui.c,
folder-browser-ui.h
(folder_browser_ui_setup_view_menus,
folder_browser_ui_discard_view_menus): Changed this to use the new
GalViewMenus stuff. Made these exported functions.
* mail-callbacks.c, message-browser.c: Changed these to not pass
the now removed row parameter to message_list_select.
* mail-config.c, mail-config.h (mail_config_folder_to_safe_url):
Refactored this out of mail_config_folder_to_cachename.
* message-list.c, message-list.h (message_list_select): Removed
the row argument. Changed this to use the new function in ETree
for finding the next cursor row that matches a test.
(message_list_construct): Handle a failed construction of the
ETree here.
(message_list_setup_etree, save_tree_state): Don't load or save
the header state. folder-browser-ui.c deals with this now.
From views/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* addressbook/galview.xml, calendar/galview.xml, mail/galview.xml,
tasks/galview.xml: Added default-view parameters.
* mail/As_Sent_Folder.galview: New galview.
* mail/Makefile.am, mail/galview.xml: Added As_Sent_Folder
galview.
From widgets/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* menus/gal-view-menus.c, menus/gal-view-menus.h
(gal_view_menus_new): Made this take a GalViewInstance instead of
a GalViewCollection. Reworked most of this to utilize the
interfaces provided by GalViewInstance.
svn path=/trunk/; revision=15592
|
|
|
|
|
|
|
|
| |
2002-01-14 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (get_current_time): use icaltimetype_to_tm
svn path=/trunk/; revision=15320
|
|
|
|
|
|
|
|
|
| |
2001-11-28 Federico Mena Quintero <federico@ximian.com>
* gui/gnome-cal.c (gnome_calendar_new_task): Set the category of
the new task to that of the search bar. Fixes bug #15533.
svn path=/trunk/; revision=14821
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-31 Federico Mena Quintero <federico@ximian.com>
* gui/gnome-cal.c (dn_query_obj_updated_cb): If a query is not in
progress, just retag the whole thing. An event may change dates
and tag_calendar_by_comp() would not know how to untag the old
dates. Fixes bug #10220.
* pcs/query.c (start_query_cb): Connect to the backend's
"obj_updated" and "obj_removed" signals here instead of in
query_construct(). If a query is started while another one is
notifying of an update, these signal connections would get appened
to the running signal (the one that triggered the notification
about an update) and the new signal handlers would also get
called. We are really not interested in updates before we
populate the query, because we'll catch the changes anyways.
svn path=/trunk/; revision=14533
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-31 Federico Mena Quintero <federico@ximian.com>
Fix bug #13723.
* gui/gnome-cal.h (GnomeCalendarClass): New signals
"calendar_focus_change", "taskpad_focus_change", and
"taskpad_selection_changed". Renamed "selection_changed" to
"calendar_selection_changed".
* gui/gnome-cal.c (gnome_calendar_get_num_tasks_selected): New
function.
(setup_widgets): Connect to the focus event signals of the task
pad and the calendar view widgets.
(gnome_calendar_delete_selection): Renamed from
gnome_calendar_delete_event().
(gnome_calendar_cut_clipboard): Handle the current focus location.
(gnome_calendar_copy_clipboard): Likewise.
(gnome_calendar_paste_clipboard): Likewise.
(gnome_calendar_delete_selection): Likewise.
(table_selection_change_cb): New callback.
* gui/calendar-commands.c (sensitize_calendar_commands): Take in
whether we should unconditionally disable everything.
(sensitize_taskpad_commands): Analogous function to the above.
(gcal_calendar_focus_change_cb): New callback, used for calendar
views.
(gcal_taskpad_focus_change_cb): New callback, used for the
taskpad.
* gui/e-day-view.c (e_day_view_key_press): Use a better test for
keys that should start editing. Fixes bug #6447.
* gui/e-week-view.c (e_week_view_key_press): Likewise.
svn path=/trunk/; revision=14528
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-30 Damon Chaplin <damon@ximian.com>
* gui/dialogs/schedule-page.c:
* gui/dialogs/event-page.c:
* gui/dialogs/comp-editor-util.c: updated code to handle DATE values.
* gui/gnome-cal.c (gnome_calendar_new_appointment_for):
* gui/e-day-view.c (e_day_view_key_press): updated DATE code.
* gui/e-cell-date-edit-text.c:
* gui/calendar-model.c: updated to support DATE values.
* cal-util/cal-recur.c (cal_recur_generate_instances_of_rule): updated
to use DATE values in same way as Outlook - i.e. the DTEND date is
not included entirely. Though I did make it so that if the DTSTART
and DTEND used the same DATE value, it includes the entire day.
So 1-day events should be the same. Long All-Day events will be
1 day shorter.
* cal-util/cal-component.c (cal_component_get_start_plus_duration):
don't subtract a day from the end date.
* gui/tasks-control.c: updated the EPixmap paths for Cut/Copy etc.
Removed Print & Print Preview paths, since we don't have menu commands
for these any more.
svn path=/trunk/; revision=14456
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-30 Federico Mena Quintero <federico@ximian.com>
* gui/dialogs/delete-comp.c (delete_component_dialog): Use an
EMessageBox instead of a gnome_dialog_question so that the label
gets line breaking. Fixes bug #11260.
2001-10-29 Federico Mena Quintero <federico@ximian.com>
Fix bug #13649.
* gui/calendar-config.c
(calendar_config_get_use_default_reminder): New function.
(calendar_config_set_use_default_reminder): New function.
(calendar_config_get_default_reminder_interval): New function.
(calendar_config_set_default_reminder_interval): New function.
(calendar_config_get_default_reminder_units): New function.
(calendar_config_set_default_reminder_units): New function.
(config_read): Get the options for default reminders.
(calendar_config_write): Set the options for default reminders.
* gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_show_config):
Set the default reminder widgets from the config values.
(cal_prefs_dialog_update_config): Set the config values from the
widgets.
* gui/comp-util.c (cal_comp_event_new_with_defaults): New
function; creates a VEVENT component with the default alarm.
* gui/e-day-view.c (e_day_view_key_press): Use
cal_comp_event_new_with_defaults ();
* gui/e-week-view.c (e_week_view_key_press): Likewise.
* gui/calendar-model.c (calendar_model_append_row): Likewise.
* gui/comp-editor-factory.c (get_default_component): Likewise.
* gui/gnome-cal.c (gnome_calendar_new_appointment_for): Likewise.
* cal-util/cal-component.c (ensure_alarm_properties_cb): Ensure we
have a DESCRIPTION property.
(cal_component_commit_sequence): Ensure we have the mandatory
alarm properties.
svn path=/trunk/; revision=14446
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-28 Damon Chaplin <damon@ximian.com>
* gui/print.c (print_todo_details): get the tasks directly from the
CalendarModel, so we get the filtering & sorting for free. Fixes
bug #10280. Hmm. This seems too easy. It isn't going to work is it...
* gui/gnome-cal.c (gnome_calendar_get_task_pad): new function to get
the TaskPad ECalendarTable, for printing.
* gui/calendar-model.c:
* gui/calendar-config.c (calendar_config_get_hide_completed_tasks_sexp):
split this out from calendar-model.c so we could use it for printing,
but ended up doing that a different way.
* gui/dialogs/task-page.c (init_widgets): removed a duplicated signal
connected to field_changed_cb().
svn path=/trunk/; revision=14302
|
|
|
|
| |
svn path=/trunk/; revision=14214
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-10-24 Federico Mena Quintero <federico@ximian.com>
Fixes bug #5282.
* cal-util/timeutil.c (icaltimetype_to_tm_with_zone): New function
to avoid copying the same code all over the place.
(icaltimetype_to_tm): Also set the tm.tm_wday.
* gui/alarm-notify/alarm-queue.c (queue_midnight_refresh): Use
time_day_end_with_zone().
(load_alarms_for_today): Likewise. And oops, we were only
computing the times and not loading the alarms.
(obj_updated_cb): Likewise.
(load_alarms): Removed assertion that is no longer valid because
we may load the alarms for a client in two stages.
* gui/dialogs/alarm-page.c (get_alarm_string): Convert absolute
trigger times to the local timezone.
* gui/alarm-notify/alarm-notify-dialog.c (write_html_heading):
Convert the times to the local timezone.
(alarm_notify_dialog): Likewise, for the window title.
(alarm_notify_dialog): Set the window layer to WIN_LAYER_ONTOP.
* gui/e-cell-date-edit-text.c (ecd_get_text): Use
icaltimetype_to_tm_with_zone().
* gui/alarm-notify/save.c (get_config_db): Made public.
(discard_config_db): Made public.
* gui/alarm-notify/config-data.[ch]: New files with functions to
fetch the calendar configuration data used by the alarm daemon.
svn path=/trunk/; revision=13986
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-23 Damon Chaplin <damon@ximian.com>
* cal-util/cal-component.c (cal_component_event_dates_match): make sure
we free all the CalComponentDateTime's when we are finished.
* gui/gnome-cal.c (gnome_calendar_notify_dates_shown_changed): just
return if no time range is set.
svn path=/trunk/; revision=13957
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-22 Damon Chaplin <damon@ximian.com>
* idl/evolution-calendar.idl: added setDefaultTimezone() method.
* pcs/cal-backend.c (cal_backend_get_default_timezone):
(cal_backend_set_default_timezone): new functions to call class
methods.
* pcs/cal-backend-file.c: lots of changes to handle the default
timezone and use it.
* pcs/query.c: use the default timezone.
* gui/dialogs/task-details-page.c (date_changed_cb): initialized
completed_tt.
* gui/dialogs/event-page.c: changed it to handle DATE values. The
'All Day Event' checkbox is only set now when the DTSTART and DTEND
are DATE values.
* gui/dialogs/comp-editor-util.c (comp_editor_free_dates): free the
CalComponentDateTime structs as well.
* gui/e-tasks.c: set the default timezone on the server.
* gui/tag-calendar.c:
* gui/gnome-cal.c:
* gui/e-week-view.c:
* gui/e-day-view.c: updates to handle DATE values.
* gui/e-calendar-table.c (date_compare_cb): updated to use the new
ECellDateEditValue values, so it now works.
(percent_compare_cb): updated to use GPOINTER_TO_INT values.
(e_calendar_table_init): use an ECellPercent for the percent field
and an ECellDateEditText for the date fields.
* gui/comp-util.c (cal_comp_util_compare_event_timezones): return TRUE
if the DTSTART or DTEND is a DATE value. We don't want to show the
timezone icons for DATE values.
* gui/comp-editor-factory.c (resolve_pending_requests): set the default
timezone on the server.
* gui/calendar-model.c: major changes to support sorting properly.
For date and percent fields we now use subclasses of ECellText, so
we don't use a char* as the model value. For the percent field we now
use a GINT_TO_POINTER. For the date fields we now use a
ECellDateEditValue* as the value.
* gui/calendar-config.c (calendar_config_configure_e_cell_date_edit):
set the timezone and use_24_hour flags of the new ECellDateEditText.
* conduits/todo/todo-conduit.c (pre_sync):
* conduits/calendar/calendar-conduit.c (pre_sync): set the default
timezone on the server.
* cal-util/timeutil.c (time_days_in_month): removed debug message.
* cal-util/test-recur.c: try to handle timezones in the iCalendar
file properly, and updated to pass default timezone.
* cal-util/cal-util.c (cal_util_generate_alarms_for_comp):
(cal_util_generate_alarms_for_list): added default timezone argument.
* cal-util/cal-recur.c: changed many of the functions to take a default
timezone, to use to resolve DATE and floating DATE-TIME values.
* cal-client/cal-client.c (cal_client_set_default_timezone): new
function to set the default timezone.
(cal_client_ensure_timezone_on_server): new function to ensure that
a given timezone is on the server.
* gui/e-cell-date-edit-text.c: new subclass of ECellText to display
and edit a date value.
* cal-util/cal-recur.c (cal_obj_byday_expand_monthly): changed week_num
to -week_num when calculating the weeks to go back from the end of the
month for things like BYDAY=-2WE. Fixes bug #11525.
(cal_recur_generate_instances_of_rule): only go up to MAX_YEAR (2037).
We can't really handle anything past that anyway.
(cal_recur_ensure_rule_end_date): initialize cb_date.end_date to 0,
so if the RULE doesn't generate COUNT instances we save 0 as the
time_t.
svn path=/trunk/; revision=13920
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-19 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-model.c (calendar_model_set_status_message): make
it a public function
* gui/e-tasks.c (e_tasks_open): display progress messages
(cal_opened_cb): clean up status bar messages
* gui/gnome-cal.c (gnome_calendar_open): display progress messages
(client_cal_opened_cb): clean up status bar messages
svn path=/trunk/; revision=13796
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-03 Rodrigo Moya <rodrigo@ximian.com>
* gui/component-factory.c:
* gui/calendar-offline-handler.c:
* gui/comp-editor-factory.c: replace use of gnome_vfs_uri with e_uri
* gui/e-meeting-model.c (start_addressbook_server): make it return void,
since the return value does not mind
* pcs/cal.c:
* pcs/cal-factory.c:
* pcs/cal-backend.[ch]: don't use GnomeVFS for URI management
* pcs/cal-backend-file.c: ditto, only use GnomeVFS for internal
operations
* cal-client/cal-client.c (cal_client_open_calendar): don't CORBA_exception_free
before checking for exceptions
svn path=/trunk/; revision=13380
|
|
|
|
|
|
|
|
|
|
| |
2001-10-01 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (gnome_calendar_open): don't use
gnome_vfs_uri_is_local on URIs created with
gnome_vfs_uri_new_private
svn path=/trunk/; revision=13262
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-26 Damon Chaplin <damon@ximian.com>
* gui/e-calendar-table.c (date_compare_cb):
(percent_compare_cb):
(priority_compare_cb): added comparison functions for these special
cell types. But the date and percent ones don't work yet due to the
use of static text buffers for return cell values.
(e_calendar_table_init): added the comparison functions to the
ETableExtras. NOTE: task_compare_cb() never seems to be called.
I'm not sure why it is there.
* gui/e-calendar-table.etspec: set the comparison function names for
the date/percent/priority fields.
* cal-util/cal-util.c (cal_util_priority_to_string):
(cal_util_priority_from_string): new utility functions.
* gui/calendar-model.c (get_priority):
(set_priority): used above utility functions, and removed the warning
dialog which isn't useful now that the field isn't editable.
* gui/dialogs/event-page.c (times_updated): handle timezones and for
all-day events make sure it stays an all-day event after adjusting.
Fixes bugs #5945 and #10222.
* gui/calendar-commands.c (pixmaps): fixed the E_PIXMAP paths - the
edit items were moved beneath 'EditPlaceholder'. This gets rid of
those long Bonobo warnings! (and we get the icons back)
* gui/dialogs/comp-editor.c (pixmaps): removed the PrintPreview toolbar
icon, since it doesn't appear in the xml file. Gets rid of warning.
* gui/dialogs/event-page.c (notify_dates_changed): new function to
emit the notification signal when the dates are changed. It also
handles timezones now.
* gui/dialogs/comp-editor-page.h (CompEditorPageDates): used
CalComponentDateTime for start/end/due so we have the timezone as well
as the time.
* gui/dialogs/comp-editor-util.c (comp_editor_dates): updated to get
the timezones as well as the times.
(comp_editor_free_dates): new function needed to free all the structs.
* gui/dialogs/recurrence-page.c (recurrence_page_set_dates): added call
to preview_recur() to make sure the preview gets updated.
* gui/dialogs/alarm-page.c (alarm_page_fill_widgets): free the
CompEditorPageDates struct after use.
* gui/tag-calendar.c (tag_calendar_by_comp): added 'comp_is_on_server'
argument. If FALSE, we try to use builtin timezones first. This is
needed for the recurrence page of the event editor, because the
timezones may not have been added to the server yet. This and the
changes to the notification stuff should fix bug #5034.
* gui/gnome-cal.c (dn_query_obj_updated_cb): call above
tag_calendar_by_comp() with TRUE since the events will be on the
server in this case.
* gui/e-day-view-layout.c:
* gui/e-day-view.c: made sure an event always takes up at least one
row, even when the start & end times are the same. Fixes bug #5944.
I don't know if we should try to also handle events with the end time
before the start time.
* gui/e-week-view.c (e_week_view_style_set): check that the small font
is actually smaller than the normal font. If it isn't, don't use it.
Hopefully fixes bug #6876.
(e_week_view_on_new_appointment): if only one day is selected, then
we set the initial time of the event to 1/2-hour from the start of the
working day, to differentiate 'New Appointment' from 'New All Day
Event'. Fixes bug #8892.
* gui/e-day-view.c (e_day_view_on_new_appointment): do the same as the
above.
svn path=/trunk/; revision=13186
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-03 Damon Chaplin <damon@ximian.com>
* gui/calendar-commands.c (calendar_control_activate):
* gui/tasks-control.c (tasks_control_activate): don't call
calendar_config_check_timezone_set() now, since the startup wizard
handles that.
* gui/e-tasks.c (e_tasks_class_init): changed selection_changed signal
to GTK_RUN_LAST. It has no reason to be GTK_RUN_FIRST.
* gui/gnome-cal.c:
* gui/e-week-view.c:
* gui/e-day-view.c: added "selection_changed" signal,
XX_delete_event() and XX_get_num_events_selected().
* gui/e-day-view-top-item.c (e_day_view_top_item_draw): fix the shadow
around the dates at the top - it was 1 pixel off.
* gui/calendar-commands.c: added sensitize_commands(), similar to in
tasks-control.c, so we only make Cut/Copy/Delete sensitive when an
event is selected. Also added delete_event_cmd().
* gui/dialogs/task-page.c (task_page_set_summary):
* gui/dialogs/event-page.c (event_page_set_summary): do nothing,
since the summary only gets changed on the main event/task page now.
Fixes bug #6939.
* gui/e-day-view.c (e_day_view_on_main_canvas_drag_data_received):
(e_day_view_on_top_canvas_drag_data_received): check that we are
dragging an event from the same EDayView. We currently don't support
DnD from other widgets.
(e_day_view_update_top_canvas_drag): only get the summary if we
actually have an event. Fixes bug #5162.
* gui/e-day-view.c (e_day_view_on_editing_stopped): if the text hasn't
changed we need to call e_day_view_update_event_label() to show the
times again if necessary. Fixes bug #1813.
* gui/dialogs/comp-editor.c (comp_editor_destroy): destroy the
CompEditorPage objects here rather than in close_dialog(), after the
widgets have been destroyed. We do this because the widgets have lots
of signal handlers connected with the CompEditorPage objects as the
signal data, so we want to ensure that the data pointer is always
valid. (Alternatively we could disconnect all the handlers when the
CompEditorPage objects are destroyed, or use connect_while_alive()).
Fixes bug #7543.
Note: there is still a small bug in that if you type in a time and
then hit 'Save and Close', the time won't be saved. I'm not sure
where this should be fixed - should the actions which close the
dialog grab the focus to the toplevel, so any widgets currently
being edited finish the edit and emit 'changed'?
* gui/dialogs/recurrence-page.c (append_exception): use
gtk_clist_set_row_data_full() so freeing is handled automatically by
the GtkClist. This helps avoid problems at destroy-time.
(exception_delete_cb): just call gtk_clist_remove() now. No need to
free the row data as GtkCList now handles it.
(recurrence_page_destroy): no need to free the data in the clist.
* gui/dialogs/alarm-page.c: ditto.
* gui/dialogs/meeting-page.c: ditto.
(etable_destroy_cb): save the ETable state in this new handler cb
rather than in the destroy method, since the widget will already be
destroyed by then.
svn path=/trunk/; revision=12575
|
|
|
|
|
|
|
| |
* gui/gnome-cal.c: #include <libgnomevfs/gnome-vfs-types.h> so
this will compile against gnome-vfs 1.0.1.
svn path=/trunk/; revision=12383
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-22 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (gnome_calendar_open): open the tasks folder
associated with the calendar being opened, and not always the local
tasks.ics file
* pcs/cal-factory.c (open_fn): use gnome_vfs_uri_new_private when
parsing the URI to allow non-registered URIs
svn path=/trunk/; revision=12379
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-17 Damon Chaplin <damon@ximian.com>
* gui/gnome-cal.c (gnome_calendar_new_task): new function to open the
task editor to add a new task.
* gui/calendar-commands.c: added new_task_cb() to create a new task
in the calendar folder, and added menu commands for it, and a toolbar
button (I think that is what Ettore wanted. Maybe he just meant menu
commands. Anyway, it is easy to take out.) Note that we don't have a
decent icon for 'New Task' for the toolbar.
Also added the new Goto button (but we don't have a similar one for
the menu command).
svn path=/trunk/; revision=12195
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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-08-03 Federico Mena Quintero <federico@ximian.com>
* cal-client/query-listener.c (query_listener_stop_notification):
New function; stops further notification from happening. This is
needed since the listener is destroyed asynchronously from the
Wombat and the corresponding CalQuery may already have died.
(impl_notifyObjUpdated): Do not notify if requested.
(impl_notifyObjRemoved): Likewise.
(impl_notifyQueryDone): Likewise.
(impl_notifyEvalError): Likewise.
* cal-client/cal-query.c (cal_query_destroy): Use
query_listener_stop_notification().
* cal-client/cal-listener.c (cal_listener_destroy): Nullify the
pointers to the callback functions.
* gui/e-day-view.c (update_query): Commit our state of no longer
having a query before unrefing it. We may reenter from the ORBit
main loop and we *really* want this information to be committed.
* gui/e-week-view.c (update_query): Likewise.
* gui/calendar-model.c (update_query): Likewise.
* gui/tag-calendar.c (tag_calendar_by_comp): Added a "clear_first"
argument that indicates whether the ECalendar should be cleared of
any marks first.
* gui/calendar-commands.c (calendar_control_activate): Removed
ifdefed-out view buttons code from the Gnomecal days.
* gui/gnome-cal.c (client_categories_changed_cb): Merge the
categories of the calendar and tasks clients so that we can
display the categories in both sets.
(gnome_calendar_construct): Connect to "categories_changed" on
both clients.
(gnome_calendar_on_date_navigator_selection_changed): Removed call
to gnome_calendar_update_view_buttons().
(gnome_calendar_update_view_buttons): Removed. We cannot have
this until Bonobo supports radio toolbar items.
(gnome_calendar_set_view_buttons): Removed.
(gnome_calendar_dayjump): Do not use priv->day_button.
(GnomeCalendarPrivate): Removed the {day,work_week,week,month}_button
fields.
(gnome_calendar_set_query): Start a retagging process of the date
navigator so that it reflects the current query.
(update_query): New function to restart a query for the date navigator.
(initial_load): Use update_query() instead of tagging the date
navigator directly.
(gnome_calendar_on_date_navigator_date_range_changed): Likewise.
(client_cal_opened_cb): Use update_query() instead of initial_load().
(initial_load): Removed.
(client_obj_updated_cb): Removed.
(client_obj_removed_cb): Removed.
(gnome_calendar_new_appointment_for): Set the default category of
the new component.
(search_bar_category_changed_cb): Set the default category for the
calendar views.
* gui/cal-search-bar.c (cal_search_bar_set_categories): Sort the
categories before creating the menu.
* gui/e-day-view.c (adjust_query_sexp): Return NULL instead of
"#f" if the time range is not set yet.
(update_query): Do not start a query if the time range is not set.
(e_day_view_set_default_category): New function.
(e_day_view_key_press): Set the default category on the new
component.
* gui/e-week-view.c (adjust_query_sexp): Analogous to the above.
(update_query): Analogous to the above.
(e_week_view_set_default_category): Analogous to the above.
(e_week_view_key_press): Analogous to the above.
svn path=/trunk/; revision=11646
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-01 Federico Mena Quintero <federico@ximian.com>
The calendar search bar widget now includes a drop-down menu of
available categories.
* pcs/query.c (func_has_categories): Handle one and only one #f
value as meaning "unfiled", for components that have no categories
at all.
* pcs/cal-backend-file.c (open_cal): Duh, do not notify here about
changed categories since at this point we don't have any clients
bound to us yet.
(create_cal): Likewise.
(cal_backend_file_add_cal): Notify here.
* gui/cal-search-bar.h (CalSearchBarClass): New signal
"category_changed".
* gui/cal-search-bar.c (cal_search_bar_construct): Add a drop-down
menu for the list of categories.
(search_option_items): Removed the "Has category" option, since we
now have the drop-down menu instad and it would be confusing to
have both options.
(regen_query): Likewise. Also, this function is now the old
cal_search_bar_query_changed() and is shared by that very function
and by the callback from the drop-down menu.
(notify_query_contains): Include the sub-sexp for the categories.
(cal_search_bar_set_categories): New function.
(cal_search_bar_get_category): New function.
(categories_selection_done_cb): Emit the "category_changed" signal.
* gui/e-tasks.c (obj_updated_cb): Removed function since it did
not do anything; all updates are handled by the CalendarModel.
(obj_removed_cb): Likewise.
(ETasksPrivate): Removed the fields for the categories option
menu, since now it is in the ESearchBar.
(search_bar_sexp_changed_cb): Use calendar_model_set_query()
directly here, as we do not need to frob the sexp anymore.
(update_query): Removed.
(client_categories_changed_cb): New callback.
(search_bar_category_changed_cb): New callback.
(e_tasks_new_task): Set the default category on the component to
the one that is selected in the search bar.
(e_tasks_on_filter_selected): Removed.
(e_tasks_on_categories_changed): Removed.
(e_tasks_rebuild_categories_menu): Removed.
(e_tasks_add_menu_item): Removed.
(e_tasks_setup_view_menus): Sanitized not to sink objects wildly.
(e_tasks_discard_view_menus): New function.
* gui/calendar-model.h (CalendarModelClass): Removed the
"categories_changed" signal since this is handled in the Wombat
now.
* gui/calendar-model.c (calendar_model_get_categories): Removed.
(calendar_model_set_value_at): Do not collect the categories.
(query_obj_updated_cb): Likewise.
(calendar_model_collect_categories): Removed.
(calendar_model_set_default_category): Constify.
* gui/tasks-control.c (tasks_control_deactivate): Call
e_tasks_discard_view_menus().
* gui/gnome-cal.c (search_bar_category_changed_cb): Set the
default category for the task pad's model.
svn path=/trunk/; revision=11559
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-30 Damon Chaplin <damon@ximian.com>
* gui/gnome-cal.c:
* gui/calendar-commands.c (clear_folder_bar_label): started some code
to show the currently displayed dates in the folder title bar.
Unfinished.
* gui/e-itip-control.c (set_date_label):
* conduits/todo/todo-conduit.c (local_record_from_comp):
* conduits/calendar/calendar-conduit.c (local_record_from_comp): free
the CalComponentDateTimes. (Note the iTIP control needs updating for
timezone support.)
* cal-util/cal-component.c: Changed CalComponentDateTime so that the
TZID is malloc'ed and freed rather than being a pointer to a static
string. This was causing problems as sometimes we were freeing the
string that was being pointed to, so we got corrupted TZIDs.
* gui/comp-util.c (cal_comp_util_add_exdate): set TZID to NULL.
DATE values do not have timezones.
* gui/e-week-view.c:
* gui/e-day-view.c: Moved 'Paste' after the New Appointment commands,
since I think they are more commonly-used. Also added underlined
accelerator keys.
* gui/e-calendar-table.c: changed 'Edit this task' to 'Open' in the
popup menu to be consistent with other folders, and separated from the
clipboard commands. Also changed to use EPopupMenu so the accelerators
work, and the masks may be useful at some point.
* gui/dialogs/recurrence-page.c: use DATE values for UNTIL, since
that makes it simpler. Fixes bug #5034.
* gui/calendar-config.c (calendar_config_set_timezone): strdup the
location string. Fixes bug #4990.
* gui/tag-calendar.c (tag_calendar_cb): take 1 off iend as the times
don't include the end time.
* gui/e-week-view-layout.c (e_week_view_layout_event): fixed
days_shown. Fixes bug #5709.
* cal-client/cal-client.c (cal_client_get_timezone): took out some
debugging messages.
svn path=/trunk/; revision=11494
|
|
|
|
|
|
|
|
|
| |
2001-07-27 Federico Mena Quintero <federico@ximian.com>
* gui/gnome-cal.c (gnome_calendar_set_query): Constify and set the
query sexp on the task pad's model as well.
svn path=/trunk/; revision=11457
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-27 Federico Mena Quintero <federico@ximian.com>
* gui/cal-search-bar.[ch]: New files with a derivative of
ESearchBar that generates sexps for calendar queries directly.
* gui/gnome-cal.c (setup_widgets): Use CalSearchBar instead of
ESearchBar.
* gui/e-calendar-table.h (ECalendarTable): Removed the ->colors
array since it is handled by ETableExtras now.
* gui/e-calendar-table.[ch]: Removed the subset_model. Now we use
the live query facility to filter tasks. Removed the filter
function stuff as well.
* gui/e-tasks.c (e_tasks_construct): Use
calendar_model_set_cal_client() directly instead of
e_calendar_table_set_model().
(setup_widgets): Create a calendar search bar for the tasks
component.
(search_bar_sexp_changed_cb): Set the query sexp on the table model.
(e_tasks_on_filter_selected): Regenerate the query from the
selected category and the current sexp.
(update_query): New convenience function to recompute the real
query sexp.
* gui/gnome-cal.c (gnome_calendar_construct): Likewise.
* gui/e-calendar-table.c (e_calendar_table_set_cal_client):
Removed function; people are now supposed to get the model from
the calendar table and operate on it.
* gui/calendar-commands.c (verbs): Consistency fixes with the XML
file.
(pixmaps): Likewise.
* gui/Makefile.am (evolution_calendar_SOURCES): Added
cal-search-bar.[ch] to the list of sources.
2001-07-20 Federico Mena Quintero <federico@ximian.com>
* idl/evolution-calendar.idl (CompEditorFactory): New interface to
a centralized factory for calendar component editors. Has
editExisting() and editNew() methods to edit an existing component
from a URI/UID pair, and to create a new component in a calendar
that is in a particular URI, respectively.
* gui/comp-editor-factory.[ch]: Implementation files for the
component editor factory.
* gui/GNOME_Evolution_Calendar.oaf.in: Added the CompEditorFactory
stuff.
* gui/Makefile.am (evolution_calendar_SOURCES): Added
comp-editor-factory.[ch] to the list of sources.
svn path=/trunk/; revision=11455
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-17 Federico Mena Quintero <federico@ximian.com>
Really fixes #4380. The previous fix was necessary but not
sufficient; it worked for me because my system timezone happens to
match the Evolution timezone --- if they don't match, the bug
would persist.
* cal-util/timeutil.c (time_to_gdate_with_zone): New function. We
cannot use g_date_set_time() anymore because it does not take
timezones into account.
* gui/gnome-cal.c (get_days_shown): Use the function above.
* gui/e-day-view.c (e_day_view_find_work_week_start): Likewise.
* gui/e-week-view.c (e_week_view_set_selected_time_range): Likewise.
2001-07-17 Jon Trowbridge <trow@ximian.com>
svn path=/trunk/; revision=11167
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-11 Federico Mena Quintero <federico@ximian.com>
Fixes bug #4380 as well as some leftovers from the days of struct
tm and some uninitialized values.
* gui/gnome-cal.c
(gnome_calendar_on_date_navigator_selection_changed): Initialize
the icaltimetype structures completely.
(gnome_calendar_init): Do not reset priv->zone to NULL here, since
it was set by gnome_calendar_update_config_settings() from
setup_widgets().
* gui/calendar-model.c (set_completed): Do not set is_daylight.
* gui/e-day-view.c (e_day_view_convert_grid_position_to_time):
Likewise.
* gui/e-week-view.c (e_week_view_set_timezone): Likewise.
* cal-util/cal-recur.c (generate_instances_for_chunk): Likewise,
and initialize start_tt and end_tt completely.
* cal-util/timeutil.c (time_year_begin_with_zone): Likewise.
(time_month_begin_with_zone): Likewise.
(time_week_begin_with_zone): Likewise.
(time_day_begin_with_zone): Likewise.
(time_day_end_with_zone): Likewise.
(time_from_isodate): Likewise.
* gui/dialogs/task-page.c (task_page_fill_component): Initialize
icaltime before using it.
* gui/dialogs/event-page.c (event_page_fill_component): Likewise.
* gui/dialogs/recurrence-page.c (simple_recur_to_comp): Removed an
unused icaltimetype.
* gui/dialogs/task-details-page.c
(task_details_page_fill_component): Initialize icaltime before
using it.
svn path=/trunk/; revision=11024
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-10 Damon Chaplin <damon@ximian.com>
* gui/calendar-model.c:
* gui/e-calendar-table.c:
* gui/e-day-view-main-item.c:
* gui/e-day-view-top-item.c:
* gui/e-day-view.[hc]:
* gui/e-week-view.c:
* gui/gnome-cal.c:
* gui/print.c:
* gui/dialogs/cal-prefs-dialog.c:
* gui/dialogs/comp-editor-util.c:
* gui/dialogs/event-page.c:
* pcs/cal-backend-file.c:
* pcs/query.c:
* cal-util/cal-component.[hc]:
* cal-util/cal-recur.c:
* cal-util/timeutil.[hc]:
* cal-client/cal-client.[hc]: more timezone updates. I'm pretty much
done with the calendar code now, except for alarms and conduits,
which Federico and JP know more about. And there are a couple of
other minor things to fix. But it is still pretty buggy.
svn path=/trunk/; revision=10984
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-03 Damon Chaplin <damon@ximian.com>
* cal-client/cal-client.[hc]
* cal-util/cal-component.c
* cal-util/cal-recur.[hc]
* cal-util/test-recur.c
* cal-util/timeutil.c
* gui/calendar-config.c
* gui/calendar-model.[hc]
* gui/comp-util.[hc]
* gui/e-calendar-table.c
* gui/e-day-view-main-item.c
* gui/e-day-view-top-item.c
* gui/e-day-view.[hc]
* gui/e-itip-control.c
* gui/e-timezone-entry.[hc]
* gui/e-week-view.[hc]
* gui/gnome-cal.[hc]
* gui/goto.c
* gui/tag-calendar.[hc]
* gui/dialogs/cal-prefs-dialog.c
* gui/dialogs/comp-editor-page.[hc]
* gui/dialogs/comp-editor-util.[hc]
* gui/dialogs/comp-editor.c
* gui/dialogs/e-timezone-dialog.[hc]
* gui/dialogs/event-page.c
* gui/dialogs/meeting-page.c
* gui/dialogs/recurrence-page.c
* gui/dialogs/task-details-page.c
* gui/dialogs/task-details-page.glade
* gui/dialogs/task-page.c
* idl/evolution-calendar.idl
* pcs/cal-backend-file.c
* pcs/cal-backend.c
* pcs/cal-backend.h
* pcs/cal.c
* pcs/query.c: timezone changes everywhere. There's still quite a
few things to update, and its not working well at present.
svn path=/trunk/; revision=10729
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-30 Federico Mena Quintero <federico@ximian.com>
* gui/gnome-cal.c
(gnome_calendar_on_date_navigator_selection_changed): Doh, the
call for the day view was supposed to be
gnome_calendar_set_view(), not set_view(). Fixes bug #3779.
svn path=/trunk/; revision=10636
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-28 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-calendar-table.[ch] (e_calendar_table_cut_clipboard),
(e_calendar_table_copy_clipboard),
(e_calendar_table_paste_clipboard): new functions for allowing the
execution of clipboard-related commands
* gui/tasks-control.c (tasks_control_cut_cmd),
(tasks_control_copy_cmd), (tasks_control_paste_cmd): added
callbacks for the new clipboard-related menu entries
svn path=/trunk/; revision=10560
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-28 Rodrigo Moya <rodrigo@ximian.com>
* gui/component-factory.c: removed not-uses-anymore parameter in
call to evolution_shell_component_new
* gui/gnome-cal.[ch] (gnome_calendar_cut_clipboard),
(gnome_calendar_copy_clipboard), (gnome_calendar_paste_clipboard):
new functions for allowing execution of clipboard-related commands
* gui/e-day-view.[ch] (e_day_view_cut_clipboard),
(e_day_view_copy_clipboard), (e_day_view_paste_clipboard): ditto
* gui/e-week-view.[ch] (e_week_view_cut_clipboard),
(e_week_view_copy_clipboard), (e_week_view_paste_clipboard): ditto
2001-06-27 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-commands.c (cut_event_cmd),
(copy_event_cmd), (paste_event_cmd): added callbacks for the new
clipboard-related menu entries
svn path=/trunk/; revision=10557
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-24 Federico Mena Quintero <federico@ximian.com>
* gui/alarm-notify/alarm-notify.c: Converted to use BonoboXObject.
* gui/gnome-cal.c (gnome_calendar_open): Ask the alarm
notification service to add the calendar and tasks URIs.
(add_alarms): New function.
* gui/alarm-notify/notify-main.c (main): Doh, fixed typo in the
OAFIID.
(main): Initialize and shut down gnome-vfs.
* gui/Makefile.am (IDLS): Added evolution-calendar.idl, sigh.
(evolution_calendar_SOURCES): Added the files generated from the IDL.
* gui/alarm-notify/alarm-queue.c (alarm_trigger_cb): New function
used when an alarm is triggered.
* gui/dialogs/Makefile.am: Removed the alarm-notify-dialog files;
they are now in gui/alarm-notify.
* gui/alarm-notify/Makefile.am: Added the alarm-notify-dialog
files.
* pcs/cal.c (cal_forget_password): This was incorrectly named
cal_client_forget_password(); renamed it.
* gui/main.c (main): Initialize and shut down gnome-vfs.
svn path=/trunk/; revision=10453
|
|
|
|
|
|
| |
helixcode.com with ximian.com all over the place.
svn path=/trunk/; revision=10440
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-20 Damon Chaplin <damon@ximian.com>
* gui/calendar-config.[hc]:
* gui/gnome-cal.[hc]:
* gui/tasks-control.c (tasks_control_activate):
* gui/calendar-commands.c (calendar_control_activate): moved the
function to check for a default timezone to calendar-config.c, and
also used it in the tasks control.
* gui/dialogs/e-timezone-dialog.h: #include <gtk/gtkwidget.h> fix.
svn path=/trunk/; revision=10325
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-20 Damon Chaplin <damon@ximian.com>
* gui/calendar-commands.c (calendar_control_activate):
* gui/gnome-cal.[hc]: added code to show the timezone dialog if the
user hasn't set a default timezone yet.
* gui/dialogs/e-timezone-dialog.c (e_timezone_dialog_add_timezones):
set the "None" item string before adding it to the combo, to stop the
combo putting "None" in the entry initially.
svn path=/trunk/; revision=10324
|
|
|
|
| |
svn path=/trunk/; revision=10293
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-01 JP Rosevear <jpr@ximian.com>
* gui/dialogs/comp-editor-page.[hc]: renamed from editor-page for
consistency, more complete implementation
* gui/dialogs/comp-editor.[hc]: More complete implementation
* gui/dialogs/*-page.*: The various pages needed to construct the
event and task dialogs
* gui/dialogs/comp-editor-util.[hc]: useful utility functions for the
component editor pages to use
* gui/dialogs/Makefile.am: Build and install new files
* gui/event-editor*: Remove, obsoleted by the new comp-editor
stuff
* gui/dialogs/task-editor-dialog.glade: ditto
* gui/e-calendar-table.c (open_task): update to use comp editor
stuff
* gui/e-tasks.c (e_tasks_new_task): ditto
* gui/gnome-cal.c (gnome_calendar_edit_object): ditto
* gui/Makefile.am: don't build non-existent files nor try to
install them
svn path=/trunk/; revision=10088
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-28 Damon Chaplin <damon@ximian.com>
* gui/e-week-view-layout.[hc]:
* gui/e-day-view-layout.[hc]: new files to contain layout code split
off from EDayView an EWeekView, so we can use it for printing.
* gui/print.c: rewritten to use the same layout code as the EDayView
and EWeekView widgets.
* gui/gnome-cal.c (gnome_calendar_get_task_pad_cal_client): added
function so we can get the CalClient used for the TaskPad for printing.
* gui/Makefile.am (evolution_calendar_SOURCES): added
e-day-view-layout.[hc] amd e-week-view-layout.[hc].
* cal-util/timeutil.c (time_week_begin):
(time_week_end): added week_start_day argument.
* cal-util/cal-recur.c: added comments describing problems in it.
svn path=/trunk/; revision=10037
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-07 Gediminas Paulauskas <menesis@delfi.lt>
* gui/component/addressbook.c: use define from
widgets/misc/e-filter-bar.h instead of own enumeration and search menu
names.
* gui/component/Makefile.am, gui/component/select-names/Makefile.am:
removed EVOLUTION_VERSION.
2001-05-07 Gediminas Paulauskas <menesis@delfi.lt>
* gui/event-editor.c (make_title_from_comp): conversion summary
from utf8 here, use translated strings as is.
(set_title_from_comp): reflect this, simplify.
* gui/dialogs/task-editor.c: updated copies of above functions here.
* gui/gnome-cal.c: use defines from widgets/misc/e-filter-bar.h for
consistency in "Show all".
svn path=/trunk/; revision=9693
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-15 Federico Mena Quintero <federico@ximian.com>
* gui/gnome-cal.c (setup_widgets): Create the ESearchBar thingy.
(search_bar_query_changed_cb): Build the different queries based
on the type and string.
* pcs/query.c (backend_obj_updated_cb): Ref the query while we are
notifying the listener so that it will not disappear from under us.
(backend_obj_removed_cb): Likewise.
(process_component_cb): Likewise.
(func_contains): New function to match text fields.
(matches_comment): New function to match comment lists.
(matches_description): New function to match description lists.
(matches_summary): New function to match summaries.
(matches_any): New function to match any text field.
(func_has_categories): New function to match categories.
svn path=/trunk/; revision=9340
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-04 Kjartan Maraas <kmaraas@gnome.org>
* gui/calendar-commands.c: Fix headers.
* gui/calendar-config.c: Same here.
* gui/calendar-model.c: Same here.
* gui/e-day-view-time-item.c: Same here.
* gui/e-day-view-top-item.c: Same here.
* gui/e-day-view.c: Same here.
* gui/e-meeting-edit.c: Same here.
* gui/e-week-view-main-item.c: Same here.
* gui/e-week-view.c: Same here.
* gui/event-editor.c: Same here.
* gui/gnome-cal.c: Same here.
* gui/goto.c: Same here.
* gui/main.c: Same her.
* gui/print.c: Same here.
svn path=/trunk/; revision=9180
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-25 Federico Mena Quintero <federico@ximian.com>
* gui/e-calendar-table.c (e_calendar_table_init): The
model_rows_{inserted,deleted} signals changed names; deal with it.
(e_calendar_table_on_rows_inserted): Updated for new ETable API.
(e_calendar_table_on_rows_deleted): Likewise.
* gui/gnome-cal.h (GnomeCalendarOpenMode): Removed unused enum.
* gui/gnome-cal.c (gnome_calendar_open): Constify.
* gui/calendar-commands.c (calendar_set_uri): Removed function,
since it was just calling gnome_calendar_open().
* gui/control-factory.c (set_prop): Replace usage of
calendar_set_uri() with gnome_calendar_open().
(load_calendar): Likewise.
(calendar_persist_init): Made static.
* gui/e-tasks.c: #include "calendar-config.h"
(e_tasks_update_all_config_settings): We are configuring a table,
not a calendar! Use the appropriate function.
svn path=/trunk/; revision=8928
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-17 Miguel de Icaza <miguel@ximian.com>
* evolution-calendar.xml: Added ShowWeekView, ShowMonthView,
ShowDay, ShowWorkWeek to the View menu.
* evolution.xml, evolution-mail.xml: Provide "Actions" in the
toplevel evolution. Fill in Actions/Component in Evolution-mail
(no visual changes, just internal changes).
* evolution-calendar.xml: Added Actions menu. Added New Verb
EditNewEvent.
2001-03-17 Miguel de Icaza <miguel@ximian.com>
* gui/e-day-view.c (e_day_view_on_new_event,
e_day_view_on_new_appointment): Simplifed this function to use the
shared code.
* gui/e-week-view.c (e_week_view_on_new_event,
e_week_view_on_new_appointment): ditto.
* gui/gnome-cal.c (gnome_calendar_new_appointment_for): New
function used to launch editor components with a time range. A
bunch of functions use this code now instead of duplicating code
all over the place
svn path=/trunk/; revision=8794
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-05 Damon Chaplin <damon@ximian.com>
* gui/e-tasks.c: keep list of all Tasks folders so we can update the
preference settings when necessary.
* gui/gnome-cal.c: configure the TaskPad according to the settings.
* gui/e-calendar-table.c: use ECellCombo and ECellDateEdit for fields,
so the tasks folders is almost usable now.
* gui/calendar-model.c: added support for the Status property.
* gui/calendar-config.[hc]: added convenience functions to setup
ECalendarTable and ECellDateEdit objects.
* gui/calendar-commands.c: connected to "destroy" signal of calendars
so we can remove them from all_calendars list.
* gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_update_config):
call e_tasks_update_all_config_settings() to update all the settings
in the Tasks folders as well.
* cal-util/cal-component.h: added CAL_COMPONENT_FIELD_STATUS.
* cal-util/cal-component.c (cal_component_get_transparency): fixed
calls to strcasecmp so they check for '== 0'.
Applied patch from Miguel...
2001-02-27 Miguel de Icaza <miguel@ximian.com>
* gui/e-day-view.c (e_day_view_on_event_right_click): Reorganize
the menus to have entries always in a consistent fashion, as
reported to the genepool mailing list.
(e_day_view_on_event_right_click): Added a FIXME comment to the
FIXME comment without a FIXME.
Now we use e_popup_menu. This allows us to hide/show items on
demand, and to sensitize/de-sensitize items depending on their
state.
This will also let us add icon support (when we get nice icons for
this)
* gui/e-week-view.c (e_week_view_show_popup_menu): Ditto.
The files popup-menu.c and popup-menu.h can now be removed.
svn path=/trunk/; revision=8549
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-29 Federico Mena Quintero <federico@ximian.com>
* gui/calendar-config.c: <gnome.h> trimming to reduce compilation
time.
* gui/calendar-summary.c: Likewise.
* gui/e-calendar-table.c: Likewise.
* gui/e-day-view-time-item.c: Likewise.
* gui/e-day-view.c: Likewise.
* gui/e-itip-control.c: Likewise.
* gui/e-meeting-edit.c: Likewise.
* gui/e-meeting-edit.h: Likewise.
* gui/e-tasks.c: Likewise.
* gui/e-week-view.c: Likewise.
* gui/event-editor.c: Likewise.
* gui/gnome-cal.c: Likewise.
* gui/goto.c: Likewise.
* gui/itip-utils.h: Likewise.
* gui/main.c: Likewise.
* gui/popup-menu.c: Likewise.
* gui/print.c: Likewise.
* gui/tasks-control-factory.c: Likewise.
* gui/tasks-control.c: Likewise.
* gui/tasks-migrate.c: Likewise.
svn path=/trunk/; revision=7896
|
|
|
|
|
|
|
|
| |
2001-01-23 JP Rosevear <jpr@ximian.com>
* libical import cleanup
svn path=/trunk/; revision=7753
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-14 Damon Chaplin <damon@helixcode.com>
* gui/dialogs/task-editor.[hc]: moved #include
<cal-client/cal-client.h> to the .h file.
* gui/e-tasks.c: load & save the Tasks folders' ETable layout.
Added an option menu to filter tasks by category.
* gui/gnome-cal.c: use the "Tasks" folder for the TaskPad.
(We may make the actual tasks folder shown a per-calendar option.)
* gui/tasks-control.c (tasks_control_new_task_cmd): added support for
the New Task icon on the toolbar.
* gui/e-calendar-table.[hc]: we now use an ETableSubsetVariable model
to filter the tasks by a category. And tidied up a little.
* gui/calendar-model.[hc]: added way to get all the categories used by
the tasks, so we can show an option menu of them. Also a signal which
is emitted when they are changed.
Also allows a default category to be set, which is used to initialize
the 'click-to-add' row.
Also made sure the initialize_value()/get_value() functions don't
return NULL since that can cause a SEGV.
* gui/e-week-view.c:
* gui/e-day-view.c: set the "fill_color_rgba" arg of the EText items
to black since it doesn't seem to set up a default color properly.
Hopefully this fixes the bug on Solaris where the items appear with
strange colors.
* gui/widget-util.c (date_edit_new): use the calendar_config function
to set most of the options. It wasn't setting the 12/24 hour option
before.
* gui/dialogs/task-editor-dialog.glade: added "Undefined" priority.
svn path=/trunk/; revision=7483
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-08 Damon Chaplin <damon@helixcode.com>
* gui/Makefile.am: added new source files for the Tasks folders.
* gui/e-tasks.[hc]: new widget to encapsulate the Tasks view.
* gui/tasks-control.[hc]: new files to implement the Tasks control.
* gui/tasks-control-factory.[hc]: new files to implement the factory
for the Tasks controls. (I think the way I've split the code up is a
lot cleaner than the GnomeCal implementation - the factory file just
contains the factory functions and the control file contains all the
control functions. Maybe we should make GnomeCal like this.)
* gui/main.c: initialize the Tasks control factory.
* gui/component-factory.c: added support for the Tasks control.
Also added a "create_folder" function so we can now create new Tasks
and Calendar folders within Evolution.
I'm not a Bonobo expert so someone might want to check these over.
* gui/calendar-config.[hc]: added convenience functions to configure
the common settings of ECalendar and EDateEdit widgets.
* gui/dialogs/task-editor.c (task_editor_create_date_edit):
* gui/gnome-cal.c (gnome_calendar_update_config_settings):
* gui/event-editor.c: used function to configure the ECalendars
and EDateEdits.
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
fixed minor bug in format strings.
svn path=/trunk/; revision=7297
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-01 Federico Mena Quintero <federico@helixcode.com>
* gui/gnome-cal.c (gnome_calendar_destroy): Unconditionally remove
the client from the alarm notification system.
Removed all the obsolete alarm code.
* gui/event-editor.c: Removed some crufty externs left over from
Gnomecal.
* gui/calendar-commands.c: #include "goto.h"
Removed crufty variables left over from Gnomecal.
(new_calendar): Do not take a full_name parameter.
(init_username): Removed function.
(init_calendar): Wheeeeeeee! Removed crufty function.
(quit_cmd): Removed function.
* gui/print.c (WEEK_STARTS_ON_MONDAY): Made it unconditionally
FALSE because we do not use the configuration setting anyways.
Sigh, all the printing code needs to be revamped.
svn path=/trunk/; revision=7209
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-22 JP Rosevear <jpr@helixcode.com>
* gui/goto-dialog.glade.h: translations
* gui/goto-dialog.glade: new glade file for goto dialog
* gui/gnome-cal.c (setup_widgets): Set date navigator attributes
* gui/calendar-commands.h: remove prototype
* gui/goto.h: Add prototype
* gui/Makefile.am: Add glade file stuff
* gui/gnome-cal.c (setup_widgets): Use accessors to configure the
calendar item properly
2000-12-22 JP Rosevear <jpr@helixcode.com>
* e-calendar-item.h: add prototypes
* e-calendar-item.c (e_calendar_item_init): Set max_days_selected to
1 and days_to_start_week_selection to -1 as documented in header
(e_calendar_item_set_arg): use new accessor methods
(e_calendar_item_get_arg): ditto
(e_calendar_item_get_max_days_sel): accessor
(e_calendar_item_set_max_days_sel): ditto
(e_calendar_item_get_days_start_week_sel): ditto
(e_calendar_item_set_days_start_week_sel): ditto
(e_calendar_item_class_init): add display_popup argument
(e_calendar_item_init): initialize display_popup member
(e_calendar_item_get_arg): get display_popup member
(e_calendar_item_set_arg): set display_popup member
(e_calendar_item_button_press): only show the popup menu if the
member is set
(e_calendar_item_get_display_popup): acessor
(e_calendar_item_set_display_popup): ditto
svn path=/trunk/; revision=7132
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-21 Federico Mena Quintero <federico@helixcode.com>
Alarm trigger queueing for the GUI part.
* gui/alarm-notify.[ch]: New files with the high-level alarm
notification system; mostly moved over from gnome-cal.c. The
low-level timer stuff is still in alarm.[ch].
* gui/alarm-notify.c (alarm_notify_init): New function to
initialize the alarm notification system.
(alarm_notify_done): New function to shut down the alarm
notification system.
(alarm_notify_add_client): New function to start monitoring a
calendar client for alarm notification.
(alarm_notify_remove_client): New function to stop monitoring a
client.
* gui/alarm.h (AlarmDestroyNotify): Also pass in the alarm ID so
the callback may know which ID is being destroyed.
* gui/alarm.c (clear_itimer): New function.
(pop_alarm): Use clear_itimer().
(alarm_done): New function to shut down the timer system.
(alarm_add): Add some preconditions. Do not call the destroy
notification function if we could not create the alarm.
(alarm_ready): Pass the alarm ID to the destroy notify function.
(alarm_remove): Likewise. Also, add some preconditions.
* gui/gnome-cal.c: Removed the alarm notification functions from
here since they are now in alarm-notify.c.
(gnome_calendar_construct): Register the client with
alarm_notify_add_client().
(gnome_calendar_destroy): Use alarm_notify_remove_client() to
unregister the client.
(obj_updated_cb): Do not do any alarm-related stuff.
(obj_removed_cb): Likewise.
* gui/main.c (main): Shut down the alarm timer system.
(main): Initialize and shut down the alarm notification system.
* gui/Makefile.am (evolution_calendar_SOURCES): Added
alarm-notify.[ch] to the list of sources.
* gui/calendar-model.c (calendar_model_set_cal_client): Only
connect to the "cal_loaded" signal if the client is not already
loaded.
* gui/e-day-view.c (e_day_view_set_cal_client): Likewise.
* gui/e-week-view.c (e_week_view_set_cal_client): Likewise.
* gui/e-itip-control.c (update_calendar): Connect to "cal_loaded"
before issuing the load request.
svn path=/trunk/; revision=7130
|
|
|
|
|
|
|
|
|
| |
2000-12-19 Christopher James Lahey <clahey@helixcode.com>
* gui/gnome-cal.c: Removed prototype for setup_alarm to fix a
warning.
svn path=/trunk/; revision=7081
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-18 Federico Mena Quintero <federico@helixcode.com>
Alarm instance generation support for the Wombat.
* idl/evolution-calendar.idl (Cal::CalAlarmInstance): Changed to
have an alarm UID, the trigger time, and the actual occurrence
time.
(Cal::CalComponentAlarms): New structure to hold a pair of a
component and its alarms that trigger in a particular range of
time.
(Cal::getAlarmsInRange): Changed to return a CalComponentAlarmsSeq.
* cal-util/cal-component.h (CalAlarmInstance): New C-side
structure to match the one on the IDL.
(CalComponentAlarms): Ditto.
(CalAlarmAction): Renamed from CalComponentAlarmAction.
(CalAlarmTriggerType): Renamed from CalComponentAlarmTriggerType.
Encoded the START and END parameters for the RELATED parameter in
this enum, too. Added a NONE value for invalid or missing trigger
specifications.
(CalComponentAlarmTriggerRelated): Removed.
(CalAlarmTrigger): Renamed from CalComponentAlarmTrigger. Renamed
the duration/time fields to rel_duration/abs_time, respectively.
* cal-util/cal-component.c (cal_component_alarm_get_trigger):
Changed to use the new trigger structure.
(cal_component_alarm_set_trigger): Likewise.
(cal_component_alarm_free_trigger): Removed function.
(cal_component_has_alarms): Count the elements in the
alarm_uid_hash instead of trying to fetch the first alarm subcomponent.
(cal_component_alarms_free): New function to free a
CalComponentAlarms structure.
(CalComponentAlarmPrivate): Added an uid property pointer.
(scan_alarm_property): Scan for the our extension UID property.
(cal_component_alarm_get_uid): New function.
* pcs/cal-backend.h (CalBackendClass): Changed the signatures of
the ::get_alarms_in_range() and ::get_alarms_for_object() methods.
* pcs/cal-backend.c (cal_backend_get_alarms_in_range): Changed
signature; use the new method.
(cal_backend_get_alarms_for_object): Likewise.
* pcs/cal-backend-file.c (compute_alarm_range): New spiffy
function to compute a range of time for alarm occurrences.
(add_alarm_occurrences_cb): New function to add alarms for a
particular occurrence of the component.
(generate_absolute_triggers): New function to add the absolute
alarm triggers.
(generate_alarms_for_comp): New function to generate all the alarm
instances for a component.
(cal_backend_file_get_alarms_in_range): Implemented.
* pcs/cal.c (Cal_get_alarms_in_range): Use the new CalBackend API.
(Cal_get_alarms_for_object): Likewise.
(build_alarm_instance_seq): Removed old function.
* cal-util/cal-util.c (cal_alarm_instance_list_free): Removed
function.
* cal-client/cal-client.c (build_component_alarms_list): New
function to demarshal the component alarms sequence.
(build_alarm_instance_list): New function to demarshal the alarm
instances sequence.
(cal_client_get_alarms_in_range): Updated for the new API.
(cal_client_get_alarms_for_object): Updated for the new API.
* gui/gnome-cal.c: Temporary #ifdef-ing out of alarm-related stuff
to make it build.
svn path=/trunk/; revision=7076
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-13 Federico Mena Quintero <federico@helixcode.com>
* cal-util/cal-component.c (ensure_mandatory_properties): Even
though icaltime_from_timet() now properly ignores the is_utc
argument since time_t values *are* in UTC by definition, we were
passing FALSE for that argument's value in a bunch of places. So
although it is ignored, changed them to TRUE for consistency.
Hopefully newer versions of libical will remove that argument
entirely since it does not make sense to speak of non-absolute
time_t values.
* cal-util/cal-recur.c (cal_recur_set_rule_end_date): Likewise.
* conduits/calendar/calendar-conduit.c (comp_from_remote_record): Likewise.
* conduits/todo/todo-conduit.c (comp_from_remote_record): Likewise.
* gui/dialogs/task-editor.c (dialog_to_comp_object): Likewise.
* gui/e-day-view.c (e_day_view_on_new_appointment): Likewise.
(e_day_view_on_delete_occurrence): Likewise.
(e_day_view_on_unrecur_appointment): Likewise.
(e_day_view_on_unrecur_appointment): Likewise.
(e_day_view_finish_long_event_resize): Likewise.
(e_day_view_finish_resize): Likewise.
(e_day_view_key_press): Likewise.
(e_day_view_on_top_canvas_drag_data_received): Likewise.
(e_day_view_on_main_canvas_drag_data_received): Likewise.
* gui/e-week-view.c (e_week_view_key_press): Likewise.
(e_week_view_on_new_appointment): Likewise.
(e_week_view_on_delete_occurrence): Likewise.
(e_week_view_on_unrecur_appointment): Likewise.
* gui/event-editor.c (simple_recur_to_comp_object): Likewise.
(recur_to_comp_object): Likewise.
(dialog_to_comp_object): Likewise.
* gui/gnome-cal.c (gnome_calendar_new_appointment): Likewise.
svn path=/trunk/; revision=6995
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-12 Federico Mena Quintero <federico@helixcode.com>
* cal-util/cal-component.c (get_text_list): Constify for new
libical API.
(set_text_list): Likewise.
* cal-util/cal-recur.c (cal_recur_get_rule_end_date): Likewise.
(cal_recur_set_rule_end_date): Likewise.
* gui/e-itip-control.c (find_attendee): Likewise.
(pstream_load): Likewise.
* gui/gnome-cal.c (released_event_object_cb): Removed unused function.
* gui/dialogs/task-editor.c (status_string_map): Removed unused
variable.
svn path=/trunk/; revision=6943
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-11 Damon Chaplin <damon@helixcode.com>
* gui/event-editor.c: added changed flags and added calls to a new
function event_editor_set_changed() to set & reset this flag.
Added prompt_to_save_changed() which is called when the user
selects File/Close or the window's close button.
Fixed the 'All day event' toggle button.
Made the 'Alarm' page sensitive as appropriate when filling widgets.
(Though note that the alarm widgets are not being set yet.)
* gui/dialogs/task-editor.c: added changed flag as above.
* gui/event-editor-dialog.glade: used good names for all the
classification radio buttons so we can access them in the code.
* gui/event-editor.c (init_widgets): use the "show week numbers" config
option in the recurrence preview calendar.
* gui/e-day-view.c (e_day_view_update_event_label): use 9:00 instead
of 09:00 in the main view, as we do everywhere else now. It means the
times won't line up, but they are easier to read which I think is
better.
Added support for Page Up/Down, though I think it should move the
selection rather than just scroll the canvas.
* cal-util/cal-recur.c (generate_instances_for_chunk): removed the
end parameter since we should be using the chunk end time now.
Added single_rule parameter for when we are generating the
occurrences of a single RRULE, in which case the event's start date is
not included in the occurrences output (unless it results from the
RRULE expansion). Both of these fix problems when using COUNT.
* gui/gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed):
fixed bug when checking if the new start day starts on the week start
day. If you select a complete week it should now show the Week view.
svn path=/trunk/; revision=6896
|
|
|
|
|
|
|
|
|
|
|
| |
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-11-26 Damon Chaplin <damon@helixcode.com>
* gui/gnome-cal.c: added more support for config settings.
* gui/e-week-view.[hc]:
* gui/e-day-view.[hc]: added support for setting - show event end
times, week start day and 12-hour format (unfinished).
* gui/e-day-view-time-item.c: started 12-hour support.
* gui/tag-calendar.c (prepare_tag): use end_day + 1 since we want to
include the last day.
* gui/event-editor.c (set_all_day): minor change when turning all_day
off - set the event end to one hour after the event start if it is on
or before the start time. Also added more comments to make it a bit
clearer.
* cal-util/cal-recur.c (cal_obj_time_add_days): use a gint for day
rather than a guint since we now support -ve days.
Also fixed bug with weekly recurrences.
* gui/dialogs/task-editor.c (task_editor_create_date_edit): use
config settings.
* gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_update_config):
updated EDateEdit calls.
svn path=/trunk/; revision=6675
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-21 Federico Mena Quintero <federico@helixcode.com>
* gui/calendar-model.c (calendar_model_is_cell_editable): The icon
column is not editable!
* gui/calendar-commands.c (todo_properties_changed): Removed.
(time_format_changed): Removed.
(colors_changed): Removed.
* gui/calendar-commands.h:
* gui/prop.c (prop_apply):
* gui/calendar-commands.c (init_calendar): Removed the old to-do
list crap.
* gui/gncal-todo.[ch]: Removed obsolete files.
* gui/Makefile.am (evolution_calendar_SOURCES): Removed gncal-todo.[ch].
* gui/gnome-cal.c (gnome_calendar_todo_properties_changed): Removed.
(gnome_calendar_time_format_changed): Removed.
(gnome_calendar_colors_changed): Removed.
svn path=/trunk/; revision=6635
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-12 Federico Mena Quintero <federico@helixcode.com>
* gui/event-editor.c (recur_to_comp_object): Clear the rdate and
exrule lists from the component if we are setting a simple
recurrence.
(recur_to_comp_object): Set the exdate list here instead of in
dialog_to_comp_object().
(preview_recur): New function to tag the recurrence preview
calendar based on the information from the dialog box.
(fill_exception_widgets): Fill the exception widgets here; moved
over from fill_widgets().
(fill_recurrence_widgets): Call preview_recur(). Also, call
fill_exception_widgets() first of all.
(recurrence_type_toggled_cb): Call preview_recur().
(recur_interval_selection_done_cb): Likewise.
(recur_ending_selection_done_cb): Likewise.
(recurrence_exception_add_cb): Likewise.
(recurrence_exception_modify_cb): Likewise.
(recurrence_exception_delete_cb): Likewise.
(date_changed_cb): Likewise.
(recur_interval_value_changed_cb): Likewise, new function.
* gui/tag-calendar.[ch]: New files with utilities for tagging
calendars. mark.[ch] should go away some day.
* gui/tag-calendar.c (tag_calendar): Moved over from
gnome_calendar_tag_calendar(). Take in a CalClient instead of a
GnomeCalendar. Added API docs.
(tag_calendar_by_comp): New function to tag a calendar based on a
single calendar component instead of a whole client.
* gui/gnome-cal.c (initial_load): Use tag_calendar_by_client().
(obj_updated_cb): Likewise.
(obj_removed_cb): Likewise.
(gnome_calendar_on_date_navigator_date_range_changed): Likewise.
(editor_closed_cb): Free the closure.
(destroy_editor_cb): Renamed from free_uid(). Do not free the
UID; just unref the event editor. Our destroy handler to it will
free things properly. This will also cause the corresponding
calendar client to be unrefed.
(editor_closed_cb): Use a flag on the GnomeCalendar to decide
whether to remove the editor from the hash table. This is sort of
icky.
* gui/calendar-model.c (obj_updated_cb): If the object is new, we
have to use e_table_model_row_inserted(), not row_changed().
Thanks to JP Rosevear for reporting this.
* gui/Makefile.am (evolution_calendar_SOURCES): Added
tag-calendar.[ch] to the list of sources.
svn path=/trunk/; revision=6547
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-21 Damon Chaplin <damon@helixcode.com>
* gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_use_24_hour_toggled): removed debug message.
* gui/e-calendar-table.c (e_calendar_table_save_state): new function
to save the state of the table to a given file.
* gui/e-calendar-table.h (struct _ECalendarTable): added etable field
so we can access it to save the state.
* gui/gnome-cal.c (gnome_calendar_destroy): call
e_calendar_table_save_state() to save the state of the TaskPad.
(setup_widgets): load the state of the TaskPad.
* gui/calendar-config.c: added support for the default view.
* gui/gnome-cal.c (gnome_calendar_construct):
(gnome_calendar_set_view_internal): use/set the default view setting.
svn path=/trunk/; revision=6097
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-10-12 Damon Chaplin <damon@helixcode.com>
* gui/calendar-commands.c (calendar_control_activate):
(update_pixmaps):
(set_pixmap): set the pixmaps of the toolbar buttons for the views,
and removed a lot of old unused stuff. We'll use plain buttons for
the view buttons for now, until Bonobo toolbars support radio buttons.
* gui/gnome-cal.c (gnome_calendar_dayjump): check day_button is not
NULL before using it.
(gnome_calendar_update_view_buttons): check button is not NULL.
svn path=/trunk/; revision=5889
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-11 Damon Chaplin <damon@helixcode.com>
* gui/main.c (main): call calendar_config_write_on_exit() to write
out some special config settings (as the mail component does).
* gui/calendar-commands.c (properties_cmd): changed to use the new
preferences dialog.
(update_all_config_settings): new function to iterate over all the
calendars and update the config settings.
* gui/dialogs/cal-prefs-dialog.glade: preferences dialog.
* gui/dialogs/cal-prefs-dialog.[hc]: new files for the preferences
dialog.
* gui/calendar-config.[hc]: new files to handle loading/saving config
settings.
* cal-util/cal-recur.c: fixed bug in YEARLY when no filters were set,
plus minor changes.
* cal-util/test-recur.c: updated.
* gui/e-day-view-time-item.c:
* gui/popup-menu.c: update to #include <gal/widgets/e-gui-utils.h>
* gui/component-factory.c (owner_set_cb): called calendar_config_init.
(owner_set_cb):
(owner_unset_cb): updated the prototypes.
* gui/main.c (main): added call to calendar_config_write_on_exit().
* gui/component-factory.h:
* gui/component-factory.c (owner_set_cb): added global evolution_dir
just like the mail component, so we know we to store config stuff.
svn path=/trunk/; revision=5856
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-12 Federico Mena Quintero <federico@helixcode.com>
* gui/gnome-cal.c (gnome_calendar_construct): Connect to the
"cal_loaded" signal of the client here.
(connect_load): Removed function.
(disconnect_load): Removed function.
(cal_loaded_cb): Store the URI we are loading in the GnomeCal
structure instead of in a weird closure. This gets rid of the
connect/disconnect mess as well.
(gnome_calendar_open): Store the URI in the GnomeCal.
svn path=/trunk/; revision=5357
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-08 Federico Mena Quintero <federico@helixcode.com>
* gui/gnome-cal.c (cal_loaded_cb): New function with the
loading/creation state machine. It is carefully modelled after
the state machine that started the Universe, so bow before it.
(gnome_calendar_construct): Do not connect to cal_loaded here.
(connect_load): The closure for the cal_loaded callback is a bit
tricky, so provide a function to create it and connect to the
signal.
(disconnect_load): Disconnect from the signal and free the
closure.
(gnome_calendar_load_cb): Removed obsolete buggy function.
(gnome_calendar_open): Use the new mechanism.
* gui/control-factory.c (set_prop): The default filename is now
calendar.ics.
svn path=/trunk/; revision=5280
|
|
|
|
|
|
|
|
|
|
| |
2000-09-08 Christopher James Lahey <clahey@helixcode.com>
* cal-util/cal-recur.c, gui/e-day-view.c, gui/e-week-view.c,
gui/event-editor.c, gui/getdate.y, gui/gncal-todo.c,
gui/gnome-cal.c, gui/dialogs/task-editor.c: Fixed some warnings.
svn path=/trunk/; revision=5264
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-08 Federico Mena Quintero <federico@helixcode.com>
Fall equinox cleanup!
OK, I know the equinox is not here yet, but weather has changed
enough to warrant it.
Sigh. This place is definitely not the tropics.
* gui/gnome-cal.c (obj_updated_cb): Renamed from
gnome_calendar_object_updated_cb(); fixed prototype.
(obj_removed_cb): Renamed from gnome_calendar_object_removed_cb();
fixed prototype.
(GnomeCalendarPrivate): Moved all the GnomeCalendar fields to a
private structure so I don't have to rebuild the whole calendar
GUI directory every time something changes in the object.
(GnomeCalendarPrivate): Removed the property bag and the control
fields; they are local to the control-factory now.
(gnome_calendar_update_view_buttons): Remove the
ignore_view_button_clicks mess and just block the signal.
(gnome_calendar_set_view): Added a "focus" argument to indicate
whether we want the main widget in the specified view to grab the
focus.
(gnome_calendar_set_view_internal): Handle the focus argument here.
(gnome_calendar_set_view_buttons): Temporary hack to notify the
calendar about its buttons.
(gnome_calendar_get_selected_time_range): New function.
(gnome_calendar_get_cal_client): New function.
* gui/control-factory.c (calendar_properties_init): Keep the
property bag local to here; it does not need to be in the calendar
object yet.
(control_factory_fn): Renamed from control_factory(). Just use
control_factory_new_control().
(control_factory_new_control): Moved the stuff over from
create_control(), and keep the control local to here. Check the
return value of bonobo_control_new().
* gui/calendar-commands.c (show_day_view_clicked): Remove the
ignore_view_button_clicks mess.
(new_calendar): Removed the useless "page" argument.
(calendar_control_activate): Use gnome_calendar_set_view_buttons()
for now.
svn path=/trunk/; revision=5255
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-06 Damon Chaplin <damon@helixcode.com>
* gui/e-calendar-table.c (e_calendar_table_open_task): uses the new
TaskEditor dialog.
* gui/dialogs/task-editor.[hc]:
* gui/dialogs/task-editor-dialog.glade: updated. Still need to fix the
'Status' property (CalComponent doesn't support it yet), and use a
replacement for GnomeDateEdit, since we need to support setting 'None'
as the date.
2000-09-04 Damon Chaplin <damon@helixcode.com>
* gui/event-editor.c (obj_updated_cb):
(obj_removed_cb): compare the updated object's uid with the one we
are editing, and just return if it doesn't match.
2000-09-01 Damon Chaplin <damon@helixcode.com>
* gui/gnome-cal.c (gnome_calendar_tag_calendar): added check to see
if the client has loaded successfully. Gets rid of a few warnings.
svn path=/trunk/; revision=5217
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-02 Christopher James Lahey <clahey@helixcode.com>
* configure.in: Added calendar/conduits/Makefile,
calendar/conduits/calendar/Makefile and
calendar/conduits/todo/Makefile to the list of makefiles to
output.
From calendar/ChangeLog:
2000-09-02 Christopher James Lahey <clahey@helixcode.com>
* conduits/calendar/calendar-conduit.c,
conduits/todo/todo-conduit.c, gui/e-week-view.c, gui/gnome-cal.c:
Fixed some warnings.
From mail/ChangeLog:
2000-09-01 Christopher James Lahey <clahey@helixcode.com>
* folder-browser.c: Removed a warning.
svn path=/trunk/; revision=5179
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-01 Federico Mena Quintero <federico@helixcode.com>
* gui/gnome-cal.c (gnome_calendar_new): Use
gnome_calendar_construct() so that we can check for proper
creation of the client.
(gnome_calendar_destroy): Check that the client exists before we
unref it.
(gnome_calendar_construct): Do the CalClient creation here. Bind
the views to it here as well instead of in setup_widgets().
(gnome_calendar_init): Call setup_widgets() here.
* gui/e-calendar-table.c (e_calendar_table_destroy): Unref the
model.
2000-09-01 JP Rosevear <jpr@helixcode.com>
svn path=/trunk/; revision=5175
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-31 JP Rosevear <jpr@helixcode.com>
* gui/gnome-cal.c (editor_closed_cb): Event editor destroyed
callback to do hash cleanup
(gnome_calendar_edit_object): Set event editor calendar client.
* gui/event-editor.h: Add new prototype
* gui/event-editor.c: Trash signal stuff. We will manipulate
the client directly. Make the toolbar save and menu save items
work identically. Add icons to the toolbar.
(save_event_object): Call cal_client_update_object
(close_dialog): Unref the client and disconnect signals
Actually destroy the event editor object.
(obj_updated_cb): New function. Doesn't really do anything
yet but it will inform the user the event has changed elsewhere
in the future.
(obj_removed_cb): ditto
(event_editor_set_cal_client): New function to set the calendar
client
* gui/gnome-cal.c (gnome_calendar_new_appointment): Commit
the sequence to the cal component and use non UTC times.
svn path=/trunk/; revision=5142
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-30 Damon Chaplin <damon@helixcode.com>
* gui/e-day-view.[hc]:
* gui/e-day-view-main-item.c:
* gui/e-week-view.[hc]:
* gui/e-week-view-main-item.c:
* gui/calendar-commands.c:
* gui/gnome-cal.[hc]: switched to using new ECalendar widget,
and a few other fixes.
svn path=/trunk/; revision=5121
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-29 Federico Mena Quintero <federico@helixcode.com>
Now the views monitor the client by themselves; it does not make
sense to proxy all notifications through the GnomeCal. The
GnomeCal should just be a meta-widget that holds all the views.
At some later point we'll want to decouple the views from the
GnomeCal so that they can be embedded anywhere; they should emit
signals to request appropriate actions from the toplevel GUI
instead of calling the GnomeCal directly.
* gui/e-day-view.c (e_day_view_set_cal_client): New function; now
the day view monitors the client by itself.
(cal_loaded_cb): New callback; moved over from
e_day_view_update_all_events().
(obj_updated_cb): New callback; moved over from
e_day_view_update_event().
(obj_removed_cb): New callback; moved over from
e_day_view_remove_event().
(e_day_view_update_all_events): Removed function.
(e_day_view_update_event): Removed function.
(e_day_view_remove_event): Removed function.
(*): Use the day_view->client directly instead of fetching it from
the GnomeCal.
(e_day_view_destroy): Unref the client.
(e_day_view_reload_events): Check if the client is loaded.
(e_day_view_key_press): Set the vtype of the new component.
* gui/e-week-view.c (e_week_view_set_cal_client): New function.
(cal_loaded_cb): New callback.
(obj_updated_cb): New callback.
(obj_removed_cb): New callback.
(e_week_view_update_all_events): Removed function.
(e_week_view_update_event): Removed function.
(e_week_view_remove_event): Removed function.
(*): Use the week_view->client directly.
(e_week_view_destroy): Unref the client.
(e_week_view_reload_events): Check if the client is loaded.
* gui/gnome-cal.c (setup_widgets): Set the cal_client on all the
views.
(gnome_calendar_update_all): Do not update the views, since now
they do it themselves.
(gnome_calendar_object_updated_cb): Likewise.
(gnome_calendar_object_removed_cb): Likewise.
(setup_widgets): Remove all to-do list cruft.
(gnome_calendar_colors_changed): Likewise.
(gnome_calendar_todo_properties_changed): Likewise.
* gui/calendar-commands.h (todo_style_changed): Removed variable.
* gui/gncal-todo.c: Removed old clist cruft; just left in the
temporary dialog box for now.
svn path=/trunk/; revision=5105
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-29 JP Rosevear <jpr@helixcode.com>
* gui/gnome-cal.c (gnome_calendar_edit_object): Use
event_editor_set_event_object
* gui/event-editor.c (event_editor_set_event_object): Rename
from event_editor_set_ical_object
* gui/event-editor.h: Update prototype
* gui/e-week-view.c (e_week_view_on_new_appointment):
Call cal_component_commit_sequence after event changes. Default
to these being all day events.
svn path=/trunk/; revision=5097
|
|
|
|
|
|
|
|
| |
2000-08-24 JP Rosevear <jpr@helixcode.com>
* Update for libical 0.19
svn path=/trunk/; revision=5024
|
|
|
|
|
|
|
|
|
|
| |
2000-08-24 Christopher James Lahey <clahey@helixcode.com>
* gui/calendar-commands.c, gui/e-day-view.c, gui/e-week-view.c,
gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/prop.c:
Fixed some warnings.
svn path=/trunk/; revision=5009
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-24 JP Rosevear <jpr@helixcode.com>
* gui/gnome-cal.c (save_event_object_cb): Make signal
names saner
(released_event_object_cb): ditto
(gnome_calendar_edit_object): ditto
* gui/event-editor.h: Make signal names saner
* gui/event-editor.c (event_editor_class_init): Make signal
names saner now that we don't use ical object
(save_event_object): ditto with callback names
(file_save_cb): ditto
(tb_save_and_close_cb): ditto
(event_editor_set_ical_object): ditto
* gui/e-day-view.c (e_day_view_update_event): Umm,
!= CAL_COMPONENT_EVENT (I hope that wasn't me!)
svn path=/trunk/; revision=5006
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|