aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/dialogs/task-page.c16
2 files changed, 6 insertions, 16 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index e49461fd42..3058c0107e 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,11 @@
2004-04-15 JP Rosevear <jpr@ximian.com>
+ * 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 <jpr@ximian.com>
+
Fixes #53903
* gui/dialogs/meeting-page.c (meeting_page_fill_widgets):
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));