EFocusTracker tracks the input focus within a window and helps keep
the sensitivity of "selectable" actions in the main menu up-to-date.
Selectable actions include Cut, Copy, Paste, Select All and Delete.
EFocusTracker has built-in support for widgets that implement the
GtkEditable interface such as GtkEntry and GtkTextView. It also
supports custom widgets that implement the ESelectable interface,
which is a subset of GtkEditable and can apply to anything that
displays selectable content (esp. tree views and ETables).
This commit integrates EFocusTracker with EShellWindow, CompEditor,
EMsgComposer, and ESignatureManager.
It also bumps the GtkHTML requirement to 2.29.5 to utilize the new
GtkhtmlEditor:html constructor property.
Begin dismantling calendar-config.c and migrating calendar settings to
EShellSettings. EShellSettings utilizes GObject properties instead of
separate get/set/notify functions for each setting.
2009-01-19 Milan Crha <mcrha@redhat.com>
** Fix for bug #225712
* calendar/gui/dialogs/comp-editor.h: (CompEditorClass::send_comp),
(comp_editor_send_comp): Changed function prototypes.
* calendar/gui/dialogs/comp-editor.c: (real_send_comp), (save_comp_with_send),
(comp_editor_send_comp): Strip alarms based on user's choice.
* calendar/gui/dialogs/send-comp.h: (send_component_dialog):
* calendar/gui/dialogs/send-comp.c: (have_nonprocedural_alarm),
(send_component_dialog): Show option "Send my alarms with this event"
when prompting to send event or not, but only if have any non-procedure
alarms and if it the caller want to know user's opinion. Default is
to strip all alarms. Procedure alarms are always strip out.
* calendar/gui/dialogs/event-editor.c: (event_editor_send_comp):
* calendar/gui/dialogs/task-editor.c: (task_editor_send_comp):
Honor function prototype changes and use new parameter strip_alarms.
* calendar/gui/itip-utils.h: (itip_send_comp):
* calendar/gui/itip-utils.c: (comp_compliant), (itip_send_comp),
(reply_to_calendar_comp):
New parameter to strip all alarms or only procedure alarms.
* calendar/gui/tasks-control.c: (tasks_control_forward_cmd):
* calendar/gui/e-itip-control.c: (send_item), (send_freebusy), (ok_clicked_cb):
* calendar/gui/e-calendar-table.c: (e_calendar_table_on_forward):
* calendar/gui/e-memo-table.c: (e_memo_table_on_forward):
* calendar/gui/e-calendar-view.c: (e_calendar_view_cut_clipboard),
(delete_event), (e_calendar_view_delete_selected_occurrence),
(on_forward):
Always strip alarms when sending component.
* calendar/gui/e-calendar-view.c: (e_calendar_view_add_event),
(e_calendar_view_modify_and_send):
* calendar/gui/e-cal-model-calendar.c: (ecmc_set_value_at):
Strip alarms based on user's choice.
* plugins/itip-formatter/itip-view.h:
* plugins/itip-formatter/itip-view.c: (itip_view_set_show_keep_alarm_check),
(itip_view_get_keep_alarm_check_state),
(itip_view_set_show_inherit_alarm_check),
(itip_view_get_inherit_alarm_check_state): New functions to new
options to either inherit reminder from the incoming event or to
preserve users reminders in already existing event in the calendar.
* plugins/itip-formatter/itip-view.c: (struct _ItipViewPrivate), (alarm_check_toggled_cb),
(itip_view_init): Properly initialize new option's members.
* plugins/itip-formatter/itip-formatter.c: (find_cal_opened_cb), (update_item),
(send_comp_to_attendee), (update_attendee_status), (send_item),
(extract_itip_data), (view_response_cb), (format_itip_object):
Setup new options based on the actual data.
svn path=/trunk/; revision=37097
2008-05-22 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #534360
Migrate from deprecated GtkObject symbols to GObject equivalents.
Touches over 150 files in all components; too many to list.
svn path=/trunk/; revision=35526
2005-08-19 Harish Krishnaswamy <kharish@novell.com>
* gui/dialogs/comp-editor.h: Remove unwanted include of
header that also borks the build.
svn path=/trunk/; revision=30163
2005-07-11 Srinivasa Ragavan <sragavan@novell.com>
* gui/itip-utils.[ch]: Added a structure.
* gui/dialogs/Makefile.am: Removed cal-attachment*
* gui/dialogs/comp-editor.[ch]: (attach_message) (drop_action)
(send_timezone) (save_comp) (response_cb) (delete_event_cb)
(attachment_bar_changed_cb) (attachment_bar_icon_clicked_cb)
(setup_widgets) (set_icon_from_comp) (fill_widgets) (real_edit_comp)
Removed the attachment bar specific to calendar and made a merged
one at widgets/misc/e-attachment*
svn path=/trunk/; revision=29709
2005-03-31 Chenthill Palanisamy <pchenthill@novell.com>
Fixes#73879
* gui/dialogs/comp-editor.[ch]:
(comp_editor_sensitize_attachment_bar): Added a function
to sensitize/desensitize the attachment bar.
(comp_editor_notify_client_changed): When client changes
sensitize the attachment bar.
* gui/dialogs/event-editor.c: (event_editor_construct):
* gui/dialogs/task-editor.c: (task_editor_construct): Sensitize
the attachment bar.
svn path=/trunk/; revision=29146
2005-02-04 Rodney Dawes <dobey@novell.com>
* gui/dialogs/comp-editor.[ch]: Add a string to CompEditorPrivate to
store the name of the help section we need to refer for derived dialogs
(response_cb): Handle the GTK_RESPONSE_HELP response and show help
(setup_widgets): Add a button to the dialog for Help
(comp_editor_init): Default to the "usage-calendar" help section
(comp_editor_finalize): Free the help_section variable
(comp_editor_show_help): Add a new method to actually open the help
(comp_editor_set_help_section): Add a method for derivatives to set the
help section they want to open
* gui/dialogs/event-editor.c (event_editor_init): Set the help section
we want to open for the event editor to "usage-calendar-apts"
* gui/dialogs/task-editor.c (task_editor_init): Set the help section
we want to open for the event editor to "usage-calendar-todo"
svn path=/trunk/; revision=28710
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-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
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-09-04 JP Rosevear <jpr@ximian.com>
* gui/dialogs/event-editor.c (event_editor_send_comp): bail out if
we couldn't send the cancel
* gui/dialogs/task-editor.c (task_editor_send_comp): ditto
* gui/dialogs/comp-editor.c (save_comp_with_send): indicate send
status
(real_send_comp): return success/fail, only resave the component a
if we successfully sent
(comp_editor_send_comp): return success/fail
* gui/itip-utils.h: update proto
* gui/itip-utils.c (itip_send_comp): return true if we sent the
message
svn path=/trunk/; revision=17966
2002-06-25 JP Rosevear <jpr@ximian.com>
* gui/dialogs/comp-editor-page.h: add back proto
* gui/dialogs/comp-editor-page.c
(comp_editor_page_notify_needs_send): add page needs_send signal
* gui/e-meeting-time-sel.c
(e_meeting_time_selector_on_invite_others_button_draw): check to
see if the button should be sensitive when drawing
(e_meeting_time_selector_construct): listen for the button draw
signal
* cal-util/cal-component.c (cal_component_strip_errors): remove
X-LIC-ERROR x properties
* cal-util/cal-component.h: new proto
* gui/dialogs/meeting-page.c (change_clicked_cb): set needs_send
to true
(meeting_page_fill_widgets): set up gui based on if the user or
someone else is the organizer
(meeting_page_construct): read the addresses here for the combo
box
(get_widgets): explicitly set the value in list values
* gui/dialogs/event-editor.c (set_menu_sens): base this on the
exist org and user org values of the comp editor
(event_editor_edit_comp): set up editable row restrictions on the
meeting model if the user is not an organizer, and don't set needs
send if we aren't the organizer initially
(model_row_changed_cb): set needs_send to true
(row_count_changed_cb): ditto
* gui/dialogs/meeting-page.glade: update gui
* gui/dialogs/comp-editor.c (save_comp_with_send): if the user is
not the organizer, REPLY rather than REQUEST
(comp_editor_set_existing_org): accessor
(comp_editor_get_existing_org): ditto
(comp_editor_set_user_org): ditto
(comp_editor_get_user_org): ditto
(real_edit_comp): determine if there is an existing organizer and
if the organizers is a user
(page_changed_cb): warn the user that changes may be discarded
(page_summary_changed_cb): ditto
(page_dates_changed_cb): ditto
* gui/dialogs/comp-editor.h: new protos
* gui/itip-utils.c (itip_organizer_is_user): determine if the
organizer of a component is a user
(itip_sentby_is_user): same for sentby field of organizer
(comp_sentby): use above routines instead
(comp_compliant): strip all X-LIC-ERROR fields generated by
libical
* gui/e-meeting-model.c (is_cell_editable): if there is a list of
editable rows, allow only the status column of those rows to be
edited
(init): init edit_rows
(e_meeting_model_restricted_add): add an editable row to the model
(e_meeting_model_restricted_remove): remove an editable row
(e_meeting_model_restricted_clear): clear all editable rows
(e_meeting_model_etable_click_to_add): set the click to add arg on
all tables
(e_meeting_model_etable_from_model): track the tables
(table_destroy_list_cb): remove the table being destroyed from the
list
(table_destroy_state_cb): remove the table being destroyed from
the list
* gui/e-meeting-model.h: new protos
* gui/e-itip-control.c (update_attendee_status): kill warning
svn path=/trunk/; revision=17274
2002-05-26 JP Rosevear <jpr@ximian.com>
* gui/dialogs/comp-editor.h: update proto
* gui/dialogs/comp-editor.c (comp_editor_get_comp): new function
to get base comp
* gui/e-comp-editor-registry.c (e_comp_editor_registry_add): get
the base comp, not the current comp, don't unref it
(foreach_close_cb): block the signal, unblock it if the editor
could not be closed
(e_comp_editor_registry_close_all): fix preconditions
(editor_destroy_cb): get the base comp, not the current comp,
don't unref it
svn path=/trunk/; revision=17020