aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model-calendar.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-04-28 09:31:42 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-04-28 09:31:42 +0800
commit8bfc8af79905e6d934a553ff6812005c8b60bfc5 (patch)
tree27f9e33298c6e89ec2430a519bdd112bd29d0719 /calendar/gui/e-cal-model-calendar.c
parenta5ef985c81456fb44eb6e48be4b473caa9b8bc87 (diff)
downloadgsoc2013-evolution-8bfc8af79905e6d934a553ff6812005c8b60bfc5.tar
gsoc2013-evolution-8bfc8af79905e6d934a553ff6812005c8b60bfc5.tar.gz
gsoc2013-evolution-8bfc8af79905e6d934a553ff6812005c8b60bfc5.tar.bz2
gsoc2013-evolution-8bfc8af79905e6d934a553ff6812005c8b60bfc5.tar.lz
gsoc2013-evolution-8bfc8af79905e6d934a553ff6812005c8b60bfc5.tar.xz
gsoc2013-evolution-8bfc8af79905e6d934a553ff6812005c8b60bfc5.tar.zst
gsoc2013-evolution-8bfc8af79905e6d934a553ff6812005c8b60bfc5.zip
Fixes #52270 and #57593
2004-04-27 JP Rosevear <jpr@ximian.com> Fixes #52270 and #57593 * gui/e-cal-model-tasks.c (ecmt_set_value_at): remove checks for start after due (ecmt_duplicate_value): copy the completed and due dates properly (ecmt_fill_component_from_model): only set the percent and status if the completion isn't set (ensure_task_partially_complete): ensure the task is not complete, in progress and make the percentage sensible if its 0 or 100 (set_status): make sure the status and related vars are set properly (ecmt_set_value_at): handle status (ecmt_fill_component_from_model): make sure the click to add fields don't clobber each other (ecmt_is_cell_editable): status is editable * gui/e-cal-model-calendar.c (ecmc_duplicate_value): copy the dtend correctly svn path=/trunk/; revision=25647
Diffstat (limited to 'calendar/gui/e-cal-model-calendar.c')
-rw-r--r--calendar/gui/e-cal-model-calendar.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/calendar/gui/e-cal-model-calendar.c b/calendar/gui/e-cal-model-calendar.c
index 9fd2db7544..e03a5c5f52 100644
--- a/calendar/gui/e-cal-model-calendar.c
+++ b/calendar/gui/e-cal-model-calendar.c
@@ -350,7 +350,15 @@ ecmc_duplicate_value (ETableModel *etm, int col, const void *value)
switch (col) {
case E_CAL_MODEL_CALENDAR_FIELD_DTEND :
- /* FIXME */
+ if (value) {
+ ECellDateEditValue *dv, *orig_dv;
+
+ orig_dv = (ECellDateEditValue *) value;
+ dv = g_new0 (ECellDateEditValue, 1);
+ *dv = *orig_dv;
+
+ return dv;
+ }
break;
case E_CAL_MODEL_CALENDAR_FIELD_LOCATION :
case E_CAL_MODEL_CALENDAR_FIELD_TRANSPARENCY :