From 0670283434a985fd13c381e3e5081cc8ec7555d1 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Fri, 27 Oct 2000 04:09:34 +0000 Subject: This is the new recurrence page, partially finished. I just want it on CVS This is the new recurrence page, partially finished. I just want it on CVS for if my laptop explodes. This is highly disgusting code. It has to discriminate between the recurrence types we support and the ones we do not. I hate iCalendar. I hate it more than Hi-Fi\'s pizza. 2000-10-26 Federico Mena Quintero * gui/event-editor.c (EventEditorPrivate): Integrate Anna's new recurrence page. Replace the old widget pointers with the new ones. Modified the relevant functions accordingly and added plenty of new ones. (event_editor_get_cal_client): New function. (fill_recurrence_widgets): This is *THE* tricky function for you. It has to discriminate whether we get a recurrence we support for editing or not. And this is not trivial. Sigh. (event_editor_update_widgets): Added preconditions and API docs. * event-editor-dialog.glade: Fixed all the spacings/ paddings/packing options so that the widgets will look right if the dialog box is resized. Also fixes some misaligned widgets. * cal-util/cal-component.c (cal_component_set_rdate_list): Removed incorrect assertion. svn path=/trunk/; revision=6219 --- calendar/gui/event-editor.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'calendar/gui/event-editor.h') diff --git a/calendar/gui/event-editor.h b/calendar/gui/event-editor.h index b978eb8cd5..0c7e1f34c7 100644 --- a/calendar/gui/event-editor.h +++ b/calendar/gui/event-editor.h @@ -39,12 +39,13 @@ typedef struct _EventEditor EventEditor; typedef struct _EventEditorClass EventEditorClass; +typedef struct _EventEditorPrivate EventEditorPrivate; struct _EventEditor { GtkObject object; /* Private data */ - gpointer priv; + EventEditorPrivate *priv; }; struct _EventEditorClass { @@ -58,6 +59,8 @@ EventEditor *event_editor_construct (EventEditor *ee); EventEditor *event_editor_new (void); void event_editor_set_cal_client (EventEditor *ee, CalClient *client); +CalClient *event_editor_get_cal_client (EventEditor *ee); + void event_editor_set_event_object (EventEditor *ee, CalComponent *comp); void event_editor_focus (EventEditor *ee); -- cgit v1.2.3