diff options
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/e-cal-model-tasks.c | 7 |
2 files changed, 13 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 3e3ec15289..2534b0e5d3 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2004-09-20 JP Rosevear <jpr@novell.com> + + Fixes #66158 + + * gui/e-cal-model-tasks.c (e_cal_model_tasks_mark_task_complete): + notify of change so completion status updates immediately + 2004-09-21 JP Rosevear <jpr@novell.com> Fixes #59194 diff --git a/calendar/gui/e-cal-model-tasks.c b/calendar/gui/e-cal-model-tasks.c index 1b1d30427c..fe162cc388 100644 --- a/calendar/gui/e-cal-model-tasks.c +++ b/calendar/gui/e-cal-model-tasks.c @@ -1099,6 +1099,11 @@ e_cal_model_tasks_mark_task_complete (ECalModelTasks *model, gint model_row) priv = model->priv; comp_data = e_cal_model_get_component_at (E_CAL_MODEL (model), model_row); - if (comp_data) + if (comp_data) { + e_table_model_pre_change (E_TABLE_MODEL (model)); + ensure_task_complete (comp_data, -1); + + e_table_model_row_changed (E_TABLE_MODEL (model), model_row); + } } |