From 40a30cb188b91b331adb9da07820e684f2ae8a12 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Thu, 4 Mar 2004 15:49:36 +0000 Subject: always add the page. 2004-03-04 Rodrigo Moya * gui/dialogs/comp-editor.c (comp_editor_append_page): always add the page. * gui/dialogs/event-page.c (event_page_fill_widgets): continue filling up all other fields even if there are missing ones, and return the validation result. svn path=/trunk/; revision=24965 --- calendar/gui/dialogs/comp-editor.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (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 b298952a6e..d204de56e8 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -722,11 +722,7 @@ comp_editor_append_page (CompEditor *editor, ECalComponent *comp; comp = comp_editor_get_current_comp (editor); - if (!comp_editor_page_fill_widgets (page, comp)) { - /* dont add the pagge if there is an error */ - g_object_unref (comp); - return; - } + comp_editor_page_fill_widgets (page, comp); g_object_unref (comp); } -- cgit v1.2.3