diff options
author | Milan Crha <mcrha@src.gnome.org> | 2007-08-29 20:01:44 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2007-08-29 20:01:44 +0800 |
commit | ff70d4b0ccf480eeca006c41a4e9e4983d54357c (patch) | |
tree | 2cdf381ddd2b9b459286155046c57e7d25054b14 | |
parent | 5733ceabba01a50deea3036992045985d629da49 (diff) | |
download | gsoc2013-evolution-ff70d4b0ccf480eeca006c41a4e9e4983d54357c.tar gsoc2013-evolution-ff70d4b0ccf480eeca006c41a4e9e4983d54357c.tar.gz gsoc2013-evolution-ff70d4b0ccf480eeca006c41a4e9e4983d54357c.tar.bz2 gsoc2013-evolution-ff70d4b0ccf480eeca006c41a4e9e4983d54357c.tar.lz gsoc2013-evolution-ff70d4b0ccf480eeca006c41a4e9e4983d54357c.tar.xz gsoc2013-evolution-ff70d4b0ccf480eeca006c41a4e9e4983d54357c.tar.zst gsoc2013-evolution-ff70d4b0ccf480eeca006c41a4e9e4983d54357c.zip |
2007-08-29 Suman Manjunath Fix for bug #466051
svn path=/trunk/; revision=34131
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/dialogs/memo-page.c | 8 |
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); |