From 4f0eeedde7ca6bc4b9c287f2a7141bc6cbdea7d6 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Thu, 15 Apr 2004 19:18:28 +0000 Subject: don't actually check if start date is after due date, its perfectly valid 2004-04-15 JP Rosevear * gui/dialogs/task-page.c (task_page_fill_component): don't actually check if start date is after due date, its perfectly valid for that to occur svn path=/trunk/; revision=25488 --- calendar/ChangeLog | 6 ++++++ calendar/gui/dialogs/task-page.c | 16 ---------------- 2 files changed, 6 insertions(+), 16 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index e49461fd42..3058c0107e 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2004-04-15 JP Rosevear + + * gui/dialogs/task-page.c (task_page_fill_component): don't + actually check if start date is after due date, its perfectly + valid for that to occur + 2004-04-15 JP Rosevear Fixes #53903 diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c index 828b4bf4dc..896c80cf6a 100644 --- a/calendar/gui/dialogs/task-page.c +++ b/calendar/gui/dialogs/task-page.c @@ -537,22 +537,6 @@ task_page_fill_component (CompEditorPage *page, ECalComponent *comp) e_cal_component_set_dtstart (comp, NULL); } - /* Check whether due datetime is before start datetime */ - if (start_date_set && due_date_set) { - due_tt2 = g_new (struct icaltimetype, 1); - memcpy (due_tt2, &due_tt, sizeof(due_tt)); - icaltimezone_convert_time (due_tt2, due_zone, start_zone); - if (icaltime_compare (start_tt, *due_tt2) > 0) { - comp_editor_page_display_validation_error (page, - _("Due date is before start date!"), - priv->due_date); - g_free (due_tt2); - return FALSE; - } - g_free (due_tt2); - } - - /* Classification. */ e_cal_component_set_classification (comp, classification_get (priv->classification_public)); -- cgit