From ec730bb5f70e7600085befbd3bf9cc334187973e Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 8 Aug 2001 22:16:08 +0000 Subject: set the attendees of a component (meeting_page_fill_component): use above 2001-08-08 JP Rosevear * gui/dialogs/meeting-page.c (set_attendees): set the attendees of a component (meeting_page_fill_component): use above (meeting_page_get_cancel_comp): return a comp with the attendees to be cancelled * gui/dialogs/meeting-page.h: get a component that will be sent as a cancellation * gui/dialogs/event-editor.c (event_editor_class_init): override send_comp class method (event_editor_send_comp): send cancellation notices to deleted attendees (refresh_meeting_cmd): save before send (forward_cmd): ditto * gui/dialogs/comp-editor.c (comp_editor_class_init): set default send_comp method (real_send_comp): do the real work (comp_editor_send_comp): call class method (save_comp): don't do any sending (save_comp_with_send): save and send here (prompt_to_save_changes): use above (save_close_cmd): ditto * gui/dialogs/comp-editor.h: add virtual function svn path=/trunk/; revision=11803 --- calendar/gui/dialogs/comp-editor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'calendar/gui/dialogs/comp-editor.h') diff --git a/calendar/gui/dialogs/comp-editor.h b/calendar/gui/dialogs/comp-editor.h index 12cfa64031..a8a459e008 100644 --- a/calendar/gui/dialogs/comp-editor.h +++ b/calendar/gui/dialogs/comp-editor.h @@ -53,6 +53,7 @@ typedef struct { /* Virtual functions */ void (* edit_comp) (CompEditor *page, CalComponent *comp); + void (* send_comp) (CompEditor *page, CalComponentItipMethod method); } CompEditorClass; GtkType comp_editor_get_type (void); -- cgit v1.2.3