aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-04-16 03:18:28 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-04-16 03:18:28 +0800
commit4f0eeedde7ca6bc4b9c287f2a7141bc6cbdea7d6 (patch)
tree42eba58c5db326c1c4f0cfda9912152b3f85e036
parentf57b228500d5511f3985c6986a26d2aaa732d42c (diff)
downloadgsoc2013-evolution-4f0eeedde7ca6bc4b9c287f2a7141bc6cbdea7d6.tar
gsoc2013-evolution-4f0eeedde7ca6bc4b9c287f2a7141bc6cbdea7d6.tar.gz
gsoc2013-evolution-4f0eeedde7ca6bc4b9c287f2a7141bc6cbdea7d6.tar.bz2
gsoc2013-evolution-4f0eeedde7ca6bc4b9c287f2a7141bc6cbdea7d6.tar.lz
gsoc2013-evolution-4f0eeedde7ca6bc4b9c287f2a7141bc6cbdea7d6.tar.xz
gsoc2013-evolution-4f0eeedde7ca6bc4b9c287f2a7141bc6cbdea7d6.tar.zst
gsoc2013-evolution-4f0eeedde7ca6bc4b9c287f2a7141bc6cbdea7d6.zip
don't actually check if start date is after due date, its perfectly valid
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 svn path=/trunk/; revision=25488
-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));