From 155223435b0a80bcc8fa3a6ff0b03d2031ae2403 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Tue, 8 Oct 2002 17:58:08 +0000 Subject: Fixes #11434 2002-10-08 Rodrigo Moya Fixes #11434 * gui/dialogs/comp-editor-page.[ch] (comp_editor_page_display_validation_error): new function. * gui/dialogs/event-page.c (event_page_fill_component): * gui/dialogs/recurrence-page.c (fill_component): * gui/dialogs/task-details-page.c (task_details_page_fill_component): * gui/dialogs/task-page.c (task_page_fill_component): added checks for all date values, and return FALSE if we find some invalid date/times. * gui/dialogs/comp-editor.c (save_comp): activate the page that returns error in fill_component. svn path=/trunk/; revision=18352 --- calendar/gui/dialogs/comp-editor.c | 1 + 1 file changed, 1 insertion(+) (limited to 'calendar/gui/dialogs/comp-editor.c') diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index 57eee0cef1..a1bf930579 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -317,6 +317,7 @@ save_comp (CompEditor *editor) for (l = priv->pages; l != NULL; l = l->next) { if (!comp_editor_page_fill_component (l->data, clone)) { gtk_object_unref (GTK_OBJECT (clone)); + comp_editor_show_page (editor, COMP_EDITOR_PAGE (l->data)); return FALSE; } } -- cgit v1.2.3