From 72f85e235d8d49582709d912ba52f326e5dfddaa Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Thu, 31 Aug 2000 15:07:42 +0000 Subject: Event editor destroyed callback to do hash cleanup 2000-08-31 JP Rosevear * 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 --- calendar/gui/event-editor.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'calendar/gui/event-editor.h') diff --git a/calendar/gui/event-editor.h b/calendar/gui/event-editor.h index 1a61934766..009beb4dd5 100644 --- a/calendar/gui/event-editor.h +++ b/calendar/gui/event-editor.h @@ -49,12 +49,6 @@ struct _EventEditor { struct _EventEditorClass { GtkObjectClass parent_class; - - /* Notification signals */ - - void (* save_event_object) (EventEditor *ee, CalComponent *comp); - void (* released_event_object) (EventEditor *ee, const char *uid); - void (* editor_closed) (EventEditor *ee); }; @@ -63,6 +57,7 @@ EventEditor *event_editor_construct (EventEditor *ee); EventEditor *event_editor_new (void); +void event_editor_set_cal_client (EventEditor *ee, CalClient *client); void event_editor_set_event_object (EventEditor *ee, CalComponent *comp); void event_editor_focus (EventEditor *ee); -- cgit v1.2.3