From 6bbcfe409475a5450fbe414ef1af7de5a6b35864 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 13 Jun 2001 18:24:00 +0000 Subject: set the completed time in the date editor if appropriate 001-06-13 JP Rosevear * gui/dialogs/task-details-page.c (task_details_page_set_dates): set the completed time in the date editor if appropriate * gui/dialogs/task-page.c (task_page_set_dates): if we are updating, return (complete_date_changed): don't returns if we are updating - the guards are done in the calling function (status_changed): indicate when we are updating and when we are finished, round the completion time to the nearest minute (percent_complete_changed): indicate when are updating and when we are finished (percent_complete_changed): notify of the date change after the option menu is updated svn path=/trunk/; revision=10208 --- calendar/gui/dialogs/task-details-page.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'calendar/gui/dialogs/task-details-page.c') diff --git a/calendar/gui/dialogs/task-details-page.c b/calendar/gui/dialogs/task-details-page.c index d6f0e57738..7fb3bd1672 100644 --- a/calendar/gui/dialogs/task-details-page.c +++ b/calendar/gui/dialogs/task-details-page.c @@ -298,6 +298,9 @@ task_details_page_set_dates (CompEditorPage *page, CompEditorPageDates *dates) priv = tdpage->priv; comp_editor_date_label (dates, priv->date_time); + if (dates->complete != 0) + e_date_edit_set_time (E_DATE_EDIT (priv->completed_date), + dates->complete); } -- cgit v1.2.3