aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2004-09-22 00:09:59 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-09-22 00:09:59 +0800
commitfec69a20e1ede0071e64e47afb12974a7f74abe2 (patch)
tree05006ba7e828595a8f69abd5384a37be68a8c7ea /calendar/gui
parent99efa7fcca687a4b7a9df7897c6c7e2cc1853b6a (diff)
downloadgsoc2013-evolution-fec69a20e1ede0071e64e47afb12974a7f74abe2.tar
gsoc2013-evolution-fec69a20e1ede0071e64e47afb12974a7f74abe2.tar.gz
gsoc2013-evolution-fec69a20e1ede0071e64e47afb12974a7f74abe2.tar.bz2
gsoc2013-evolution-fec69a20e1ede0071e64e47afb12974a7f74abe2.tar.lz
gsoc2013-evolution-fec69a20e1ede0071e64e47afb12974a7f74abe2.tar.xz
gsoc2013-evolution-fec69a20e1ede0071e64e47afb12974a7f74abe2.tar.zst
gsoc2013-evolution-fec69a20e1ede0071e64e47afb12974a7f74abe2.zip
Fixes #66158
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 svn path=/trunk/; revision=27319
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-cal-model-tasks.c7
1 files changed, 6 insertions, 1 deletions
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);
+ }
}