diff options
author | JP Rosevear <jpr@helixcode.com> | 2000-08-31 23:07:42 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2000-08-31 23:07:42 +0800 |
commit | 72f85e235d8d49582709d912ba52f326e5dfddaa (patch) | |
tree | bd3c926b4618f28f381d37f44d42e016169accf1 /calendar/gui/event-editor.h | |
parent | e242f753cdc7ef38832a9fc22a2faae2015c4fbb (diff) | |
download | gsoc2013-evolution-72f85e235d8d49582709d912ba52f326e5dfddaa.tar.gz gsoc2013-evolution-72f85e235d8d49582709d912ba52f326e5dfddaa.tar.zst gsoc2013-evolution-72f85e235d8d49582709d912ba52f326e5dfddaa.zip |
Event editor destroyed callback to do hash cleanup
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
Diffstat (limited to 'calendar/gui/event-editor.h')
-rw-r--r-- | calendar/gui/event-editor.h | 7 |
1 files changed, 1 insertions, 6 deletions
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); |