| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
right palce. Fixes #73501
svn path=/trunk/; revision=29000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-02-18 Chenthill Palanisamy <pchenthill@novell.com>
* _EventPagePrivate: added a boolean variable is_meeting.
* _TaskPagePrivate: added a boolean variable is_assignment.
* gui/dialogs/task-page.h:
* gui/dialogs/event-page.h: Added a function to set
the is_meeting boolean variable.
* gui/dialogs/event-editor.c: (show_meeting):
* gui/dialogs/task-editor.c: (show_assignment): Called
the function to set the boolean variable.
* gui/dialogs/event-page.c: (event_page_init),
(event_page_set_meeting), (source_changed_cb):
* gui/dialogs/task-page.c: (task_page_init),
(task_page_set_assignment), (source_changed_cb):
If the source is changed and only if its a group
event show the send options frame.
* gui/gnome-cal.c: (client_cal_opened_cb): Do not
popup the offline error dialog for tasks.
svn path=/trunk/; revision=28809
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-07 Rodrigo Moya <rodrigo@novell.com>
* gui/dialogs/event-page.glade:
* gui/dialogs/task-page.glade: put a name to the 'Send options' frame.
* gui/dialogs/event-page.c (event_page_init): initialize reference to
the 'Send options' frame.
(get_widgets): get the 'Send options' frame from the .glade file.
(event_page_hide_options): just hide the frame.
(event_page_show_options): just show the frame.
* gui/dialogs/task-page.c (task_page_init): initialize reference to the
'Send options' frame.
(get_widgets): get the 'Send options' frame from the .glade file.
(task_page_hide_options): just hide the frame.
(task_page_show_options): just show the frame.
svn path=/trunk/; revision=28277
|
|
|
|
|
|
|
|
| |
2005-01-06 Chenthill Palanisamy <pchenthill@novell.com>
Commiting send options
svn path=/trunk/; revision=28252
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-12-06 Rodrigo Moya <rodrigo@novell.com>
Fixes #67403
* gui/dialogs/event-page.c (sensitize_widgets): don't unsensitize
the 'Customize' button, to allow users to look at the alarm list
for read only events.
* gui/dialogs/alarm-list-dialog.c (sensitize_buttons): unsensitize
buttons if the event is read only.
svn path=/trunk/; revision=28072
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-10-13 JP Rosevear <jpr@novell.com>
* gui/dialogs/task-page.c: ditto
* gui/calendar-component.h: remove e-source-selector include
* gui/tasks-component.h: ditto
* gui/calendar-component.c: update include to libedataserverui for
source selector and option menus
* gui/e-cal-popup.c: ditto
* gui/dialogs/url-editor-dialog.h: ditto
* gui/dialogs/select-source-dialog.c: ditto
* gui/tasks-component.c: ditto
* importers/icalendar-importer.c: ditto
* gui/e-itip-control.c: ditto; use G_DEFINE_TYPE instead of
E_MAKE_TYPE
* gui/dialogs/event-page.c: ditto
* gui/dialogs/task-page.c: ditto
svn path=/trunk/; revision=27569
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-10-12 Li Yuan <li.yuan@sun.com>
* gui/calendar-commands.c:
(calendar_get_text_for_folder_bar_label):
When the start year and the end year are the same, the num should
be displayed in start time.
* gui/dialogs/alarm-dialog.glade:
Add names to comboxes in alarm-dialog page.
* gui/dialogs/cal-prefs-dialog.glade:
Add labbled_by relation for e_date_edit.
Add names to comboxes in general tab and display tab.
Add shortcut keys to start_of_day_label and end_of_day_label.
* gui/dialogs/event-page.c: (init_widgets):
Use the default text_buffer of gtk_text_view instead of
creating one.
* gui/dialogs/event-page.glade:
Add labbled_by relation for e_date_edit.
* gui/dialogs/meeting-page.glade:
Set an atk name for organizer widget.
* gui/dialogs/task-page.c: (init_widgets):
Use the default text_buffer of gtk_text_view instead of
creating one.
* gui/dialogs/task-page.glade:
Add labbled_by relation for e_date_edit.
Add a11y names to task description and categories.
* gui/e-alarm-list.c: (e_alarm_list_iter_n_children):
Remove the iter checker. The iter can't have a valid value at this time.
* gui/e-date-time-list.c: (e_date_time_list_iter_n_children):
Remove the iter checker. The iter can't have a valid value at this time.
* gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct):
Add labbled_by relation for e_date_edit.
* gui/e-timezone-entry.c: (e_timezone_entry_class_init),
(e_timezone_entry_init), (e_timezone_entry_mnemonic_activate),
(e_timezone_entry_focus):
Add a focus handler for e-timezone-entry. Set an atk name for the
button.
* gui/e-week-view.c: (e_week_view_do_cursor_key_up),
(e_week_view_do_cursor_key_down), (e_week_view_do_cursor_key_left),
(e_week_view_do_cursor_key_right), (e_month_view_do_cursor_key_up),
(e_month_view_do_cursor_key_down),
(e_month_view_do_cursor_key_left),
(e_month_view_do_cursor_key_right):
Emit the selected_time_changed signal after the selection day changed.
svn path=/trunk/; revision=27550
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
004-08-06 JP Rosevear <jpr@ximian.com>
Fixes #62021
* gui/dialogs/event-page.c (source_changed_cb): set the default
timezone
* gui/e-itip-control.c (start_calendar_server): set the default
timezone
* gui/calendar-component.c (setup_create_ecal): set the default
timezone, as the component view is not alive and hence has not set
it
* gui/tasks-component.c (setup_create_ecal): ditto
svn path=/trunk/; revision=26849
|
|
|
|
|
|
|
|
|
| |
2004-07-11 Jürg Billeter <j@bitron.ch>
* gui/dialogs/event-page.c (event_page_fill_component):
busy should be opaque, not transparent
svn path=/trunk/; revision=26619
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-06-25 JP Rosevear <jpr@novell.com>
* gui/dialogs/event-page.c (event_page_init): init alarm interval
to -1
(clear_widgets): give the alarm time option menu a sensible
default
(is_custom_alarm): account for the user defined alarm time if it
doesn't match the default set
(event_page_fill_widgets): default the option menu to the 15
minute or user define alarm if no alarm is currently set
(event_page_fill_component): account for the user defined alarm
tme
(init_widgets): add in the user defined alarm time if it doesn't
match the default set
svn path=/trunk/; revision=26515
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
004-06-25 JP Rosevear <jpr@novell.com>
* gui/dialogs/event-page.c (event_page_finalize): free old_summary
(is_custom_alarm): take description into account when checking for
custom alarm
(is_custom_alarm_uid_list): pass old_summary
(is_custom_alarm_store): ditto
(is_custom_alarm_store): ditto
(sensitize_widgets): ditto
(event_page_fill_component): ditto
(event_page_fill_widgets): store the initial summary
(alarm_changed_cb): make sure the needs description property gets
set on the default alarm
(alarm_custom_clicked_cb): copy the current store in case the user
hits cancel, if all the alarms are erased uncheck the alarm toggle
* gui/dialogs/alarm-dialog.glade: add toggles for custom messages
and sound
* gui/dialogs/alarm-dialog.c (aalarm_widgets_to_alarm): store
custom sound only if the toggle is checked
(dalarm_widgets_to_alarm): store custom message only if toggle is
checked
(get_widgets): load new widgets
(aalarm_sound_toggled_cb): sensitize sound entry
(dalarm_message_toggled_cb): sensitize message entry
(init_widgets): listen for toggle signals
svn path=/trunk/; revision=26511
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-06-24 JP Rosevear <jpr@novell.com>
* gui/dialogs/event-page.c (event_page_fill_component): store all
the custom alarms
(alarm_custom_clicked_cb): emit changed signal if necessary
* gui/dialogs/alarm-list-dialog.c (alarm_list_dialog_run): return
true/false based on button pushed
* gui/dialogs/alarm-dialog.c: move repeat options and per alarm
type options here
* gui/dialogs/alarm-dialog.glade: ditto
* gui/dialogs/Makefile.am: remove alarm options dialog
svn path=/trunk/; revision=26500
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-06-22 JP Rosevear <jpr@novell.com>
* gui/dialogs/Makefile.am, gui/dialogs/alarm-dialog.c,
gui/dialogs/alarm-dialog.glade, gui/dialogs/alarm-dialog.h,
gui/dialogs/alarm-list-dialog.c,
gui/dialogs/alarm-list-dialog.glade,
gui/dialogs/alarm-list-dialog.h, gui/dialogs/alarm-options.c,
gui/dialogs/alarm-options.h, gui/dialogs/alarm-page.c,
gui/dialogs/alarm-page.glade, gui/dialogs/alarm-page.h,
gui/dialogs/comp-editor.c, gui/dialogs/comp-editor.h,
gui/dialogs/event-editor.c, gui/dialogs/event-page.c,
gui/dialogs/event-page.glade, gui/dialogs/meeting-page.c,
gui/dialogs/meeting-page.glade, gui/dialogs/recurrence-page.c,
gui/dialogs/recurrence-page.glade,
gui/dialogs/task-details-page.c,
gui/dialogs/task-details-page.glade, gui/dialogs/task-editor.c,
gui/dialogs/task-page.c, gui/dialogs/task-page.glade: HIGify and
newer design; alarm page is gone, Cancel/OK buttons for the
dialog, no more menus; slightly improve read-only workings for
entry areas
svn path=/trunk/; revision=26463
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-06-08 Rodrigo Moya <rodrigo@novell.com>
* gui/dialogs/comp-editor.[ch] (comp_editor_notify_client_changed):
new function for notifying all pages of the client change.
(page_client_changed_cb): no need for this callback.
(comp_editor_append_page): no need to connect to "client_changed"
signal on the pages.
* gui/dialogs/comp-editor-page.c
(comp_editor_page_notify_client_changed): re-added the call to
comp_editor_page_set_e_cal(), the client was not being set anywhere.
* gui/dialogs/event-page.c (source_changed_cb): use
comp_editor_notify_client_changed() so that all pages get informed
of the client change.
* gui/dialogs/task-page.c (source_changed_cb): ditto.
svn path=/trunk/; revision=26255
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-06-08 Rodrigo Moya <rodrigo@novell.com>
* gui/dialogs/comp-editor-page.c
(comp_editor_page_notify_client_changed): do not set the private
client here, it is set in comp-editor.c.
* gui/dialogs/event-page.c (sensitize_widgets): new function.
(source_changed_cb): call sensitize_buttons().
* gui/dialogs/recurrence-page.c (sensitize_buttons): new
function, to deal correctly with the sensitivity of all widgets
in the page.
(recurrence_page_fill_widgets, type_toggled_cb, client_changed_cb):
call sensitize_buttons() instead of sensitize_recur_widgets().
(recurrence_page_construct): g_signal_connect_after for
"client_changed", to get notifications after CompEditorPage
gets his.
* gui/dialogs/alarm-page.c (sensitize_buttons): sensitize the missing
widgets in the page.
(alarm_page_construct): g_signal_connect_after for "client_changed",
to get notifications after CompEditorPage gets his.
svn path=/trunk/; revision=26254
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-06-04 JP Rosevear <jpr@novell.com>
* gui/dialogs/task-page.c (task_page_fill_widgets): guard
against the text value being NULL
* gui/dialogs/event-page.c (event_page_fill_widgets): add guards
here as well
svn path=/trunk/; revision=26211
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-05 Rodrigo Moya <rodrigo@ximian.com>
Fixes #56316
* gui/dialogs/comp-editor-page.[ch]: added "fill_timezones" virtual
method to CompEditorPage class.
(comp_editor_page_fill_timezones): new function.
(comp_editor_page_class_init): initialize new virtual method.
* gui/dialogs/event-page.c (event_page_fill_timezones,
event_page_class_init):
* gui/dialogs/task-page.c (task_page_fill_timezones,
task_page_class_init):
* gui/dialogs/task-details-page.c (task_details_page_fill_timezones,
task_details_page_class_init): implemented new virtual method for pages
dealing with timezones.
* gui/dialogs/comp-editor.c (save_comp): call the "fill_timezones"
method on all pages, and call...
(send_timezone): ...this function for each hash table item.
svn path=/trunk/; revision=25314
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/comp-editor.c (comp_editor_append_page): always add
the page.
* gui/dialogs/event-page.c (event_page_fill_widgets): continue filling
up all other fields even if there are missing ones, and return the
validation result.
svn path=/trunk/; revision=24965
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
Fixes #53137
* gui/dialogs/comp-editor-page.[ch]: made fill_widgets virtual
method return a gboolean.
(comp_editor_page_fill_widgets): return value from virtual method
implementation.
* gui/dialogs/event-page.c (event_page_fill_widgets):
* gui/dialogs/meeting-page.c (meeting_page_fill_widgets):
* gui/dialogs/recurrence-page.c (recurrence_page_fill_widgets):
* gui/dialogs/schedule-page.c (schedule_page_fill_widgets):
* gui/dialogs/task-details-page.c (task_details_page_fill_widgets):
* gui/dialogs/task-page.c (task_page_fill_widgets):
* gui/dialogs/alarm-page.c (alarm_page_fill_widgets): return value,
as expected from the virtual method signature.
* gui/dialogs/comp-editor.c (comp_editor_append_page): dont add the
page if there was an error calling the fill_widgets method.
svn path=/trunk/; revision=24960
|
|
|
|
|
|
|
|
|
|
|
| |
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-01-12 JP Rosevear <jpr@ximian.com>
* Revert William McCann's patch of 2003-12-19 until we can get
consistent across all of evolution
svn path=/trunk/; revision=24177
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-19 William Jon McCann <mccann@jhu.edu>
* gui/dialogs/task-page.c (source_changed_cb):
* gui/dialogs/send-comp.c (send_component_dialog):
* gui/dialogs/save-comp.c (save_component_dialog):
* gui/dialogs/recur-comp.c (recur_component_dialog):
* gui/dialogs/event-page.c (source_changed_cb):
* gui/dialogs/delete-error.c (delete_error_dialog):
* gui/dialogs/delete-comp.c (delete_component_dialog):
* gui/dialogs/changed-comp.c (changed_component_dialog):
* gui/dialogs/cancel-comp.c (cancel_component_dialog):
* gui/dialogs/alarm-options.glade:
* gui/dialogs/alarm-page.glade:
* gui/dialogs/cal-prefs-dialog.glade:
* gui/dialogs/e-delegate-dialog.glade:
* gui/dialogs/event-page.glade:
* gui/dialogs/new-calendar.glade:
* gui/dialogs/new-task-list.glade:
* gui/dialogs/recurrence-page.glade:
* gui/dialogs/task-details-page.glade:
* gui/dialogs/task-page.glade:
* gui/tasks-control.c (confirm_purge):
* gui/tasks-component.c (delete_task_list_cb)
(rename_task_list_cb, setup_create_ecal):
* gui/goto-dialog.glade:
* gui/e-cal-model-tasks.c (show_geo_warning):
* gui/comp-editor-factory.c (cal_opened_cb):
* gui/calendar-component.c (delete_calendar_cb)
(rename_calendar_cb, setup_create_ecal, delete_calendar_cb):
* gui/calendar-commands.c (purge_cmd):
Remove separators from dialogs. Use frame style recommended
by the HIG.
svn path=/trunk/; revision=23989
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-17 Hans Petter Jansson <hpj@ximian.com>
* gui/dialogs/comp-editor.c: Add the concept of a source client, where
the object lives currently. The plain client is where it will be
stored.
(comp_editor_finalize): If we have a source client, disconnect from
and unref it.
(save_comp): Check if the object is being moved, and if so, remove it
from the source client, and make the target client the new source.
(comp_editor_append_page): Connect to client_changed signal.
(real_set_e_cal): Change an old gtk_signal_disconnect_by_data() to
the GLib equivalent, and don't cast ECal to GtkObject. If the source
client is not set, make it equivalent to the target client.
(page_client_changed_cb): Implement. Handles a client change.
* gui/dialogs/comp-editor-page.c (comp_editor_page_class_init): Add
a new signal, "client_changed", that notifies that the ECal client
was changed from one of the editor pages.
(comp_editor_page_set_e_cal): Fix two bugs in this function; if the
same client is set twice, its ref count could drop to 0. Additionally,
it was unreffing the new client instead of the old one.
(comp_editor_page_notify_client_changed): Implement.
* gui/dialogs/event-page.c (event_page_fill_widgets): Fill in the
source menu.
(get_widgets): Get the source menu.
(source_changed_cb): Implement. Try to open a client for the new
source, and if successful, notify of the change. Show a dialog on
failure, and revert to last selected source.
(init_widgets): Connect to source menu.
(event_page_create_source_option_menu): Implement Glade helper.
* gui/dialogs/task-page.c (task_page_fill_widgets): Fill in the source
menu.
(get_widgets): Get the source menu.
(source_changed_cb): Implement, similar to the event page, but for
tasks.
(init_widgets): Connect to source menu.
(task_page_construct): Fix a message booboo.
(task_page_create_source_option_menu): Implement Glade helper.
* gui/dialogs/event-page.glade: Add source menu widget.
* gui/dialogs/task-page.glade: Add source menu widget.
svn path=/trunk/; revision=23974
|
|
|
|
|
|
|
|
| |
2003-11-20 JP Rosevear <jpr@ximian.com>
* Remove a bunch of gal includes that are no longer needed
svn path=/trunk/; revision=23457
|
|
|
|
|
|
|
|
| |
2003-11-17 JP Rosevear <jpr@ximian.com>
* Cleanup some ref/unref calls
svn path=/trunk/; revision=23412
|
|
|
|
| |
svn path=/trunk/; revision=23206
|
|
|
|
| |
svn path=/trunk/; revision=22966
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-11 Rodrigo Moya <rodrigo@ximian.com>
* cal-util/cal-util.h: added missing capabilities.
* cal-client/cal-client.c (cal_client_get_one_alarm_only,
cal_client_get_organizer_must_attend,
cal_client_get_save_schedules):
* gui/itip-utils.c (itip_organizer_is_user):
* gui/e-calendar-table.c (e_calendar_table_on_right_click):
* gui/dialogs/task-editor.c (set_menu_sens):
* gui/dialogs/event-page.c (event_page_fill_widgets):
* gui/dialogs/meeting-page.c (meeting_page_fill_widgets):
* gui/dialogs/alarm-page.c (button_options_clicked_cb): use the macros
defined in cal-util.h for static capabilities.
svn path=/trunk/; revision=20815
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-11 JP Rosevear <jpr@ximian.com>
* gui/dialogs/schedule-page.c (schedule_page_finalize): unref the
main widget since we ref it when we un-parent it
* gui/dialogs/alarm-page.c (alarm_page_finalize): ditto
* gui/dialogs/task-page.c (task_page_finalize): ditto
* gui/dialogs/event-page.c (event_page_finalize): ditto
* gui/dialogs/task-details-page.c (task_details_page_finalize):
ditto
* gui/dialogs/recurrence-page.c (recurrence_page_finalize): ditto
* gui/dialogs/meeting-page.c (meeting_page_finalize): ditto
svn path=/trunk/; revision=20811
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-07 Hans Petter Jansson <hpj@ximian.com>
Fixes #35926.
* gui/dialogs/event-page.glade: Remove contacts entry/chooser.
* gui/dialogs/event-page.c: Remove contacts entry/chooser.
(event_page_init): Remove references.
(event_page_finalize): Ditto.
(event_page_fill_widgets): Ditto.
(event_page_fill_component): Ditto.
(get_widgets): Ditto.
(init_widgets): Ditto.
(contacts_clicked_cb): Remove wholesale.
(contacts_changed_cb): Ditto.
svn path=/trunk/; revision=20731
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-04 JP Rosevear <jpr@ximian.com>
Partially Fixes #23606 (from Jack Jia <jack.jia@sun.com>)
* gui/dialogs/schedule-page.c (update_time): handle no end date if
the start is date only
* gui/dialogs/event-page.c (update_time): ditto
svn path=/trunk/; revision=20146
|
|
|
|
| |
svn path=/trunk/; revision=20143
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-03 Hans Petter Jansson <hpj@ximian.com>
* gui/dialogs/alarm-page.c
* gui/dialogs/event-page.c
* gui/dialogs/meeting-page.c
* gui/dialogs/recurrence-page.c
* gui/dialogs/schedule-page.c
* gui/dialogs/task-details-page.c
* gui/dialogs/task-page.c (get_widgets): gtk_widget_unparent() ->
gtk_container_remove(). The former caused crashes in the
addressbook's name-selector.
svn path=/trunk/; revision=20130
|
|
|
|
|
|
|
| |
* gui/dialogs/event-page.c (make_timezone_entry): show the widget
before returning it.
svn path=/trunk/; revision=19826
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/dialogs/Makefile.am (INCLUDES): Remove cruft. Rename
ICONSDIR to IMAGESDIR.
(gladedir, etspecdir): Remove definitions
* gui/dialogs/alarm-page.c: #include gtktreeselection.h and
gtkcellrenderertext.h
(append_reminder): Remove unused variable.
(alarm_page_fill_component): Likewise.
(alarm_page_set_summary): Likewise.
(delete_clicked_cb): Likewise.
* gui/dialogs/comp-editor.c (make_icon_from_comp):
s/ICONSDIR/IMAGESDIR/
* gui/dialogs/event-page.c: #include <string.h>
* gui/dialogs/meeting-page.c (meeting_page_construct): Remove
unused variable.
(meeting_page_fill_widgets): Likewise
* gui/dialogs/recurrence-page.c: #include gtktreeselection.h and
gtkcellrenderertext.h
(append_exception): Remove unused variable
(fill_component): Likewise
(recurrence_page_set_summary): Likewise.
(exception_delete_cb): Likewise
svn path=/trunk/; revision=19792
|
|
|
|
|
|
| |
except for the changes made to this file. Why?
svn path=/trunk/; revision=19750
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-02 Hans Petter Jansson <hpj@ximian.com>
* gui/e-day-view.c (e_day_view_set_event_font_cb): Skip setting the
"font_gdk" arg for now.
(e_day_view_update_main_canvas_drag): Ditto.
* gui/e-week-view.c (e_week_view_style_set): Ditto.
* gui/weekday-picker.c (configure_items): Ditto.
* gui/dialogs/event-page.c (get_widgets): Show custom widgets
manually, since the visibility specified in the Glade XML appears
to not have any effect.
* gui/dialogs/recurrence-page.c (get_widgets): Ditto.
svn path=/trunk/; revision=19706
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-01-23 Hans Petter Jansson <hpj@ximian.com>
* gui/dialogs/event-page.c (get_widgets): GTK_OBJECT -> G_OBJECT cast.
* gui/dialogs/alarm-page.c (get_widgets): Ditto.
* gui/dialogs/meeting-page.c (get_widgets): Ditto.
* gui/dialogs/recurrence-page.c (get_widgets): Ditto.
* gui/dialogs/schedule-page.c (get_widget): Ditto.
* gui/dialogs/task-details-page.c (get_widget): Ditto.
* gui/dialogs/task-page.c (get_widget): Ditto.
* gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): Add a
FIXME comment to think about.
svn path=/trunk/; revision=19610
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-01-23 Hans Petter Jansson <hpj@ximian.com>
Fixes some trivial, but distracting, warnings.
* gui/calendar-config.c (on_timezone_set): Fix constness.
* gui/e-timezone-entry.c (on_button_clicked): Fix constness.
* gui/dialogs/event-page.c (contacts_changed_cb): Fix constness.
* gui/dialogs/task-page.c (contacts_changed_cb): Fix constness.
* gui/e-itip-control.c (start_default_server): Cast callback with
G_CALLBACK ().
* gui/dialogs/schedule-page.c (init_widgets): Cast callback with
G_CALLBACK ().
* gui/calendar-offline-handler.c (impl_dispose): Takes GObject,
not GtkObject.
(impl_finalize): Ditto.
* gui/calendar-view.c (calendar_view_edit): Now takes parent window
as second arg.
* gui/e-meeting-model.c (select_names_ok_cb): Fix constness.
(get_select_name_dialog): Cast callback to BonoboListenerCallbackFn.
* gui/e-meeting-time-sel.c
(e_meeting_time_selector_options_menu_position_callback): Add the
push_in arg to arg list. This was crash-prone before.
(e_meeting_time_selector_autopick_menu_position_callback): Ditto.
* gui/alarm-notify/alarm-notify-dialog.c: Include e-unicode.h.
svn path=/trunk/; revision=19605
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-11-27 Not Zed <NotZed@Ximian.com>
* gui/itip-utils.[ch]: run fix.sh over this.
* gui/dialogs/*.[ch]: run fix.sh over all of this.
2002-11-26 Richard Li <Richard.Li@Sun.COM>
* cal-client/cal-client.c (cal_client_construct): removed extra call
to CORBA_exception_init.
2002-11-22 Not Zed <NotZed@Ximian.com>
* gui/dialogs/delete-comp.c (delete_component_dialog): Changed
e_messagebox -> gtk_messagedialog.
svn path=/trunk/; revision=18972
|
|
|
|
|
|
|
|
| |
2002-11-07 JP Rosevear <jpr@ximian.com>
* Initial port of gui/ subdir to GNOME 2
svn path=/trunk/; revision=18648
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-08 Rodrigo Moya <rodrigo@ximian.com>
Fixes #11434
* gui/dialogs/comp-editor-page.[ch]
(comp_editor_page_display_validation_error): new function.
* gui/dialogs/event-page.c (event_page_fill_component):
* gui/dialogs/recurrence-page.c (fill_component):
* gui/dialogs/task-details-page.c (task_details_page_fill_component):
* gui/dialogs/task-page.c (task_page_fill_component): added
checks for all date values, and return FALSE if we find
some invalid date/times.
* gui/dialogs/comp-editor.c (save_comp): activate the page that
returns error in fill_component.
svn path=/trunk/; revision=18352
|
|
|
|
|
|
|
|
|
|
| |
2002-08-30 Mike Kestner <mkestner@ximian.com>
* gui/dialogs/event-page.c:
* gui/dialogs/task-page.c: use bonobo_object_release_unref to release
the remote SelectNames component, not CORBA_Object_release.
svn path=/trunk/; revision=17939
|
|
|
|
|
|
|
|
|
| |
2001-12-06 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/event-page.c (event_page_fill_widgets): default
component classification to PUBLIC
svn path=/trunk/; revision=14927
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-05 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/event-page.glade: added entry for the LOCATION field
* gui/dialogs/event-page.c: added support for the new LOCATION entry
added in the Event editor.
svn path=/trunk/; revision=14901
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-05 JP Rosevear <jpr@ximian.com>
* gui/e-meeting-time-sel.c (e_meeting_time_selector_class_init):
add a changed signal
(e_meeting_time_selector_construct): emit changed signal
(e_meeting_time_selector_set_meeting_time): ditto
(e_meeting_time_selector_set_all_day): set the all day setting
(e_meeting_time_selector_autopick): emit changed signal
(e_meeting_time_selector_find_nearest_interval): find proper
interval when in all day mode
(e_meeting_time_selector_find_nearest_interval_backward): ditto
(e_meeting_time_selector_drag_meeting_time): for all day events,
move the time when past the 12 hour mark, and and always make sure
1 full day is selected, emit changed signal when appropriate
(e_meeting_time_selector_update_start_date_edit): set date and
time of day together
(e_meeting_time_selector_update_end_date_edit): ditto, and adjust
display time if all day event
* gui/e-meeting-time-sel-item.c
(e_meeting_time_selector_item_draw): remove unused variable
(e_meeting_time_selector_item_button_press): for all day mode,
make the interval a whole day
* gui/dialogs/schedule-page.c (update_time): set the meeting time
selector setting instead of manual mucking with the e-date-edit
widgets
(init_widgets): listen to the changed signal of the meeting time
selector instead of propagating multiple events as it updates
* gui/dialogs/event-page.c (update_time): block time zone change
signals
svn path=/trunk/; revision=14601
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-29 Damon Chaplin <damon@ximian.com>
* importers/Makefile.am (evolution_calendar_importer_LDADD):
* gui/Makefile.am (evolution_calendar_LDADD):
* cal-util/Makefile.am (test_recur_LDADD):
* cal-client/Makefile.am (client_test_LDADD): use libical-evolution.la
* gui/dialogs/schedule-page.c: save the timezone passed in for the
start time, so if our times are changed we use this. Also, if the
end time was passed in in a different timezone, convert it.
Also hide the time fields for DATE values. Note that DATE values still
do not work.
* gui/dialogs/meeting-page.glade: changed "Invite Others" to
"Invite Others..." to be consistent with the other page.
* gui/dialogs/event-page.c (times_updated):
(all_day_event_toggled_cb): set is_date if appropriate.
* gui/e-itip-control.c (write_label_piece): convert all UTC times to
the current timezone. Outlook sends simple, non-recurring, events as
UTC times, which isn't very useful.
svn path=/trunk/; revision=14397
|
|
|
|
| |
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-25 Damon Chaplin <damon@ximian.com>
* cal-util/cal-recur.c (cal_obj_bysetpos_filter): subtract 1 from
any positive BYSETPOS value, since our array is 0-based.
* gui/dialogs/recurrence-page.c (simple_recur_to_comp):
(recurrence_page_fill_widgets): Outlook (2000) will not accept monthly
recurrences like BYDAY=2TU. Instead it uses BYDAY=TU;BYSETPOS=2.
So to be compatable with it we now do the same, although we still
accept and convert the old format.
* cal-client/cal-client.c (cal_client_get_component_as_string): new
function to return a complete VCALENDAR string containing a VEVENT
or VTODO with all the VTIMEZONEs it uses.
* gui/dialogs/comp-editor.c (save_as_ok): use above function so we
save the VTIMEZONE data with the VEVENT/VTODO. Fixes bug #????.
Also made sure we output "METHOD:PUBLISH" since Outlook (2000) will
not import it otherwise.
* gui/dialogs/comp-editor.c (page_mapped_cb):
(page_unmapped_cb): install/uninstall the GtkAccelGroup for the page.
(comp_editor_append_page): connect to the map/unmap signals to
install/uninstall the accelerators. (This is all for bug #11609,
though of course it doesn't work too well in GTK+ 1.2 anyway.)
* gui/dialogs/task-page.c (get_widgets):
* gui/dialogs/task-details-page.c (get_widgets):
* gui/dialogs/schedule-page.c (get_widgets):
* gui/dialogs/recurrence-page.c (get_widgets):
* gui/dialogs/meeting-page.c (get_widgets):
* gui/dialogs/event-page.c (get_widgets):
* gui/dialogs/alarm-page.c (get_widgets): got the GtkAccelGroup from
the original window, ref'ed it and placed it in the CompEditorPage
struct.
* gui/dialogs/comp-editor-page.c (comp_editor_page_destroy): unref
any GtkAccelGroup for the page.
* gui/dialogs/task-page.glade: changed '_Confidential' to
'Con_fidential' as it clashed with '_Contacts'. It now matches the
event editor as well.
* gui/dialogs/event-page.glade:
* gui/dialogs/task-page.glade: Set CAN_FOCUS to TRUE for the custom
EDateEdit widgets, and set them as the accel targets of the labels.
svn path=/trunk/; revision=14108
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-21 JP Rosevear <jpr@ximian.com>
* gui/dialogs/schedule-page.c (init_widgets): listen for changes
in the date editors
(schedule_page_set_dates): update the times when they change
elsewhere
(update_time): set the time in the dialog
(time_changed_cb): notify of changed times
* gui/dialogs/comp-editor.c (page_dates_changed_cb): don't call
the set dates function on the page that noted the change
(page_summary_changed_cb): same for set summary function
* gui/dialogs/event-page.c (update_time): move time setting stuff
to util function
(event_page_set_dates): use it
(event_page_fill_component): ditto
* gui/e-meeting-time-sel.h: fix comment
svn path=/trunk/; revision=13863
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-12 JP Rosevear <jpr@ximian.com>
* gui/dialogs/alarm-page.c: return fill_component success
* gui/dialogs/task-page.c: ditto
* gui/dialogs/task-details-page.c: ditto
* gui/dialogs/schedule-page.c: ditto
* gui/dialogs/recurrence-page.c: ditto
* gui/dialogs/event-page.c: ditto
* gui/dialogs/meeting-page.c: use e_notice instead of
duplicate_error
(meeting_page_get_cancel_comp): duh, deleted_attendees is an array
now
(meeting_page_fill_component): spew gui errors if there is no
organizer or no attendees, return success
* gui/dialogs/event-editor.c (event_editor_send_comp): always call
parent method and don't send the cancellation comp if the method
is publish
(refresh_meeting_cmd): use the orginal comp to refresh
(forward_cmd): prompt the user for the version they want to send
(current, original)
* gui/dialogs/task-editor.c (forward_cmd): as above
(refresh_task_cmd): ditto
* gui/dialogs/comp-editor-page.c
(comp_editor_page_fill_component): return boolean of whether the
component could be filled or not
* gui/dialogs/comp-editor-page.h: update proto
* gui/dialogs/comp-editor.c (prompt_to_save_changes): take a param
on whether to try and send or not
(comp_editor_get_current_comp): only fill component if its changed
(comp_editor_save_comp): prompt user as well
* gui/dialogs/comp-editor.h: change proto
* gui/itip-utils.c: replace error_dialog with e_notice
(comp_content_type): specify charset
svn path=/trunk/; revision=13635
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-18 Damon Chaplin <damon@ximian.com>
* gui/dialogs/cal-prefs-dialog.glade: added option to hide completed
tasks after a given number of minutes/hours/days. Unfinished.
* gui/dialogs/event-page.c (event_page_fill_component): initialize
zone to NULL to avoid a warning.
(contacts_clicked_cb): work around a bug in SelectNames by notifying
that the page has changed when you click the 'Contacts' button.
Otherwise it is easy to lose changes.
* gui/dialogs/task-page.c (contacts_clicked_cb): ditto.
svn path=/trunk/; revision=12215
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-16 Damon Chaplin <damon@ximian.com>
* gui/dialogs/event-page.c: hide the timezone fields for all-day
events. We will use DATE values for these eventually, and these
don't have timezones associated with them. Currently we just use the
default timezone for all-day events, as a workaround until we have
DATE values working.
* gui/dialogs/comp-editor-util.c (comp_editor_new_date_edit): added
make_time_insensitive flag. Though we may not use it.
* gui/dialogs/event-page.glade: made the 'All day event' toggle
right-aligned, so it doesn't move when the other widgets are shown
and hidden.
* gui/e-timezone-entry.c (e_timezone_entry_set_default_timezone): new
function to set the default timezone of the widget. If the current
timezone setting matches the default then the entry field is hidden.
Most people won't use timezones so this makes the GUI simpler.
* gui/dialogs/event-page.c (init_widgets):
* gui/dialogs/task-page.c (init_widgets): set the default timezone
using the above function.
* gui/dialogs/task-page.c (task_page_fill_widgets): if the start date
or due date is not set, we use the default timezone, so the user
doesn't have to set this each time they set the date.
svn path=/trunk/; revision=12137
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-16 Federico Mena Quintero <federico@ximian.com>
* gui/dialogs/comp-editor-util.c (comp_editor_strip_categories):
New function to strip surrounding whitespace from a string of
categories entered by the user.
* gui/dialogs/task-page.c (task_page_fill_component): Use
comp_editor_strip_categories().
* gui/dialogs/event-page.c (event_page_fill_component): Likewise.
svn path=/trunk/; revision=12122
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-11 Damon Chaplin <damon@ximian.com>
* gui/dialogs/event-page.c (init_widgets):
* gui/dialogs/task-page.c (init_widgets): turn on word-wrap for the
description fields. Fixes bug #6821.
svn path=/trunk/; revision=11922
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/dialogs/event-page.c (summary_changed_cb):
Use e_dialog_editable_get instead of gtk_editable_get_chars (we need
UTF-8 string).
* gui/itip-utils.c:
Added missing #include <config.h>
svn path=/trunk/; revision=11619
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-16 Damon Chaplin <damon@ximian.com>
* gui/dialogs/task-page.c (task_page_fill_widgets):
* gui/dialogs/event-page.c (event_page_fill_widgets): try to use
builtin timezones before getting them from the server. When creating
new events/tasks the timezones may not be on the server.
* gui/dialogs/event-page.c (event_page_fill_widgets): for all-day
events we subtract a day from the end date rather than add it.
* gui/dialogs/e-timezone-dialog.c (on_map_leave): ignore the event
if it isn't a GDK_CROSSING_NORMAL event. For some reason we are getting
leave events when the button is pressed, which meant that selecting
timezones in the map didn't work.
* gui/dialogs/comp-editor-util.c (comp_editor_dates):
* gui/print.c (print_date_label): only free icaltimetype if not NULL.
svn path=/trunk/; revision=11144
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-04 Federico Mena Quintero <federico@ximian.com>
Fixes bug #4018 and what would be the analogous bugs for the other
component editors.
* gui/dialogs/comp-editor-page.h (CompEditorPageClass): New
virtual method "::focus_main_widget()".
* gui/dialogs/comp-editor-page.c
(comp_editor_page_focus_main_widget): New function.
* gui/dialogs/comp-editor.c (comp_editor_append_page): If we are
inserting the main page, ask it to focus its main widget.
* gui/dialogs/alarm-page.c (alarm_page_focus_main_widget):
Implemented.
* gui/dialogs/event-page.c (event_page_focus_main_widget):
Implemented.
#include "e-util/e-categories-config.h".
* gui/dialogs/meeting-page.c (meeting_page_focus_main_widget):
Implemented.
* gui/dialogs/recurrence-page.c
(recurrence_page_focus_main_widget): Implemented.
* gui/dialogs/task-details-page.c
(task_details_page_focus_main_widget): Implemented.
* gui/dialogs/task-page.c (task_page_focus_main_widget):
Implemented.
svn path=/trunk/; revision=10784
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-07-02 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/task-page.c (categories_clicked_cb):
* gui/dialogs/event-page.c (categories_clicked_cb): use the new
self-contained e_categories_config_open_dialog_for_entry() function
* gui/e-week-view-event-item.c (e_week_view_item_draw_icons):
* gui/e-day-view-top-item.c (e_day_view_reshape_long_event):
(e_day_view_reshape_day_event): ditto
* gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
use e_categories_config_get_icon_for() to retrieve the icon
associated with each category
svn path=/trunk/; revision=10699
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-26 Federico Mena Quintero <federico@ximian.com>
* idl/evolution-calendar.idl (CalAlarmInstance): Renamed the occur
field to occur_start; added an occur_end field. This way we can
present the complete times for the occurrence from the server.
* cal-util/cal-component.h (CalAlarmInstance): Likewise.
* pcs/cal-backend-file.c (add_alarm_occurrences_cb): Fill the new
fields appropriately.
(generate_absolute_triggers): Likewise; we use -1 in case the
component has no DTSTART or DTEND because there are no meaningful
occurrence dates here.
(fill_alarm_instances_seq): Fill in the new fields.
* cal-client/cal-client.c (build_alarm_instance_list): Likewise.
* gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog):
Take in both the occur_start and occur_end times.
* gui/goto.c (goto_dialog): Free the dlg structure on the bail-out
cases.
* gui/dialogs/event-page.c (get_widgets): Do not assert if we
cannot find the main widget; just return FALSE.
* gui/dialogs/alarm-page.c (get_widgets): Likewise.
* gui/dialogs/task-page.c (get_widgets): Likewise.
* gui/dialogs/task-details-page.c (get_widgets): Likewise.
* gui/dialogs/meeting-page.c (get_widgets): Likewise.
svn path=/trunk/; revision=10517
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-19 Damon Chaplin <damon@ximian.com>
* gui/dialogs/event-page.c: if the timezones of the start and end of
the event are the same, then if the start timezone is changed we
change the end timezone as well, since that is what most users will
want.
svn path=/trunk/; revision=10323
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-19 Damon Chaplin <damon@ximian.com>
* gui/dialogs/cal-prefs-dialog.c: added a 'Time zone' setting. Also
rearranged a little, adding a new 'General' page, since we had too
many settings on the 'Calendar' page.
* gui/e-timezone-entry.[hc]:
* gui/dialogs/e-timezone-dialog.[hc]:
* gui/dialogs/comp-editor.c:
* gui/dialogs/comp-editor-page.[hc]:
* gui/dialogs/event-page.c:
* gui/dialogs/task-details-page.c:
* gui/dialogs/task-page.c: removed CalClient stuff. The timezone dialog
now uses the timezone data directly from the client's libical library.
svn path=/trunk/; revision=10321
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-19 Damon Chaplin <damon@ximian.com>
* gui/dialogs/task-details-page.glade:
* gui/dialogs/task-page.glade:
* gui/dialogs/event-page.glade: added timezone fields. Also moved the
'All Day' flag into an alignment so it doesn't mess up the height of
the other widgets.
* gui/dialogs/task-details-page.c:
* gui/dialogs/task-page.c:
* gui/dialogs/event-page.c: added code to handle the timezone fields.
This still needs to be hooked up when the libical code is finished.
* gui/dialogs/e-timezone-dialog.c (on_map_leave): new function to
clear the preview label and turn off the highlighted point on the
map when you move the mouse outside it.
(find_selected_point): new function to try to find the point
corresponding to the text in the combo.
(on_combo_changed): call the above function to update the selected
point.
(on_map_leave): turn off the preview point & label when the mouse
leaves the map.
(e_timezone_dialog_set_cal_client): changed it so that selecting "None"
clears the entry.
* gui/dialogs/comp-editor-page.[hc]: added set_cal_client() virtual
method since some pages need to access the CalClient to get timezone
information. Also added comp_editor_page_set_cal_client() to call
the virtual method.
* gui/dialogs/comp-editor.c (comp_editor_set_cal_client): called
comp_editor_page_set_cal_client() on each page.
* gui/calendar-config.c: added functions to get & set the timezone.
svn path=/trunk/; revision=10285
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-01 JP Rosevear <jpr@ximian.com>
* gui/dialogs/event-page.c (make_date_edit): use new func
* gui/dialogs/task-details-page.c (task_details_page_create_date_edit): ditto
* gui/dialogs/recurrence-page.c (make_ending_until_special): ditto
* gui/dialogs/comp-editor-util.c (comp_editor_new_date_edit):
rename date_edit_new function
* gui/dialogs/comp-editor-util.h: new proto
* gui/dialogs/task-page.c (task_page_set_summary): no longer any
need to block/unblock the handler
(task_page_create_date_edit): use new func
svn path=/trunk/; revision=10093
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-23 Federico Mena Quintero <federico@ximian.com>
* gui/dialogs/recurrence-page.c: Finished porting from the old
event-editor.c. Made it store a clone of the component for when
we need to expand the recurrence set.
2001-05-22 Federico Mena Quintero <federico@ximian.com>
* gui/dialogs/event-page.c (event_page_get_dates): New function.
* gui/dialogs/editor-page.c (editor_page_set_dates): Renamed from
editor_page_set_dtstart(); now sets both DTSTART and DTEND.
* gui/dialogs/alarm-page.c (alarm_page_set_dates): Ahem, it is a
svn path=/trunk/; revision=9953
|
|
2001-05-16 Federico Mena Quintero <federico@ximian.com>
Split the event and task editors into different objects for the
separate pages; this way they can be shared by both editors.
* gui/dialogs/editor-page.[ch]: New abstract class for a page in a
calendar component editor.
* gui/dialogs/event-page.[ch]: Main page of an event editor.
* gui/dialogs/alarm-page.[ch]: Alarm page of a calendar component
editor.
* gui/dialogs/recurrence-page.[ch]: Recurrence page of a calendar
component editor.
* gui/dialogs/event-page.c (event_page_fill_widgets): Eeek, this
was missing a bunch of break statements.
(event_page_fill_component): Use a temporary variable rather than
allocating a struct icaltimetype.
* gui/dialogs/alarm-page.c (get_alarm_string): Do not use
fixed-size buffers.
(alarm_page_fill_widgets): Use cal_obj_uid_list_free().
(append_reminder): Now the list stores the plain CalComponentAlarm
structures in the row data. We do *NOT* want to be frobbing the
component's data directly. Rather, we clone the alarms from the
component and maintain them on our own.
(alarm_page_fill_component): Clone the alarms before adding them
to the component so that we maintain the invariant that the alarm
structures in the list did *not* come from the component.
* cal-util/cal-component.c (cal_component_add_alarm): Added
documentation.
(cal_component_remove_alarm): Added documentation.
(cal_component_remove_alarm): Do a lookup in our hash table of
alarms instead of scanning the whole component.
(CalComponentAlarm): Removed the `parent' field, since it was
unused.
(cal_component_free_alarm_uids): Removed function, since
cal_component_get_alarm_uids() is documented so that the user will
know that he must use cal_obj_uid_list_free().
(cal_component_alarm_clone): New function.
svn path=/trunk/; revision=9861
|