aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/task-details-page.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-06-14 02:24:00 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-06-14 02:24:00 +0800
commit6bbcfe409475a5450fbe414ef1af7de5a6b35864 (patch)
treea0b477cb57ac2d867f339079ac5fe220cd709730 /calendar/gui/dialogs/task-details-page.c
parent3dc527df6627d11b8a7ed176092d70ee80b9e9a6 (diff)
downloadgsoc2013-evolution-6bbcfe409475a5450fbe414ef1af7de5a6b35864.tar
gsoc2013-evolution-6bbcfe409475a5450fbe414ef1af7de5a6b35864.tar.gz
gsoc2013-evolution-6bbcfe409475a5450fbe414ef1af7de5a6b35864.tar.bz2
gsoc2013-evolution-6bbcfe409475a5450fbe414ef1af7de5a6b35864.tar.lz
gsoc2013-evolution-6bbcfe409475a5450fbe414ef1af7de5a6b35864.tar.xz
gsoc2013-evolution-6bbcfe409475a5450fbe414ef1af7de5a6b35864.tar.zst
gsoc2013-evolution-6bbcfe409475a5450fbe414ef1af7de5a6b35864.zip
set the completed time in the date editor if appropriate
001-06-13 JP Rosevear <jpr@ximian.com> * 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
Diffstat (limited to 'calendar/gui/dialogs/task-details-page.c')
-rw-r--r--calendar/gui/dialogs/task-details-page.c3
1 files changed, 3 insertions, 0 deletions
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);
}