diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-07-31 18:17:20 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-07-31 18:17:20 +0800 |
commit | 3f74605b7a7db922972a7fbfee179888daafa061 (patch) | |
tree | 9fb943ef9e2f8d915365ad9bc504c5a960b302d8 /calendar/gui/dialogs/event-editor.c | |
parent | 322b2c1d303d41d1914dfa8f1eb3d682be76690f (diff) | |
download | gsoc2013-evolution-3f74605b7a7db922972a7fbfee179888daafa061.tar gsoc2013-evolution-3f74605b7a7db922972a7fbfee179888daafa061.tar.gz gsoc2013-evolution-3f74605b7a7db922972a7fbfee179888daafa061.tar.bz2 gsoc2013-evolution-3f74605b7a7db922972a7fbfee179888daafa061.tar.lz gsoc2013-evolution-3f74605b7a7db922972a7fbfee179888daafa061.tar.xz gsoc2013-evolution-3f74605b7a7db922972a7fbfee179888daafa061.tar.zst gsoc2013-evolution-3f74605b7a7db922972a7fbfee179888daafa061.zip |
Fixes #335276.
svn path=/trunk/; revision=32450
Diffstat (limited to 'calendar/gui/dialogs/event-editor.c')
-rw-r--r-- | calendar/gui/dialogs/event-editor.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c index b1756b6d31..389834180f 100644 --- a/calendar/gui/dialogs/event-editor.c +++ b/calendar/gui/dialogs/event-editor.c @@ -650,6 +650,7 @@ event_editor_edit_comp (CompEditor *editor, ECalComponent *comp) EventEditorPrivate *priv; ECalComponentOrganizer organizer; gboolean delegate; + ECalComponentDateTime dtstart, dtend; ECal *client; GSList *attendees = NULL; @@ -658,7 +659,17 @@ event_editor_edit_comp (CompEditor *editor, ECalComponent *comp) priv->updating = TRUE; delegate = (comp_editor_get_flags (COMP_EDITOR (editor)) & COMP_EDITOR_DELEGATE); - + + if (priv->sched_page) { + e_cal_component_get_dtstart (comp, &dtstart); + e_cal_component_get_dtend (comp, &dtend); + + schedule_page_set_meeting_time (priv->sched_page, dtstart.value, dtend.value); + + e_cal_component_free_datetime (&dtstart); + e_cal_component_free_datetime (&dtend); + } + if (COMP_EDITOR_CLASS (event_editor_parent_class)->edit_comp) COMP_EDITOR_CLASS (event_editor_parent_class)->edit_comp (editor, comp); @@ -667,7 +678,7 @@ event_editor_edit_comp (CompEditor *editor, ECalComponent *comp) /* Get meeting related stuff */ e_cal_component_get_organizer (comp, &organizer); e_cal_component_get_attendee_list (comp, &attendees); - + /* Set up the attendees */ if (attendees != NULL) { GSList *l; |