aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/dialogs/memo-page.c8
2 files changed, 12 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 5fe3e568f0..c4e8c53257 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2007-08-29 Suman Manjunath <msuman@novell.com>
+
+ ** Fix for bug #466051
+
+ * gui/dialogs/memo-page.c: (memo_page_fill_component): When memo start
+ date is set to 'None', do not store DTSTART property.
+
2007-08-28 Matthew Barnes <mbarnes@redhat.com>
* gui/e-cal-popup.c (e_cal_popup_target_new_source):
diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c
index 6c50cc029f..e29d9cc38c 100644
--- a/calendar/gui/dialogs/memo-page.c
+++ b/calendar/gui/dialogs/memo-page.c
@@ -693,11 +693,13 @@ memo_page_fill_component (CompEditorPage *page, ECalComponent *comp)
comp_editor_page_display_validation_error (page, _("Start date is wrong"), priv->start_date);
return FALSE;
}
- e_date_edit_get_date (E_DATE_EDIT (priv->start_date),
+ if (e_date_edit_get_date (E_DATE_EDIT (priv->start_date),
&start_tt.year,
&start_tt.month,
- &start_tt.day);
- e_cal_component_set_dtstart (comp, &start_date);
+ &start_tt.day))
+ e_cal_component_set_dtstart (comp, &start_date);
+ else
+ e_cal_component_set_dtstart (comp, NULL);
/* Classification. */
e_cal_component_set_classification (comp, priv->classification);