aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model-tasks.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@src.gnome.org>2007-09-27 16:10:45 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-09-27 16:10:45 +0800
commitca9ceb157cff46f1ecddd0b807d9b7776c0f7ca1 (patch)
tree4f84320315e1a58b7fa5d48c47405cfe6ab1b07d /calendar/gui/e-cal-model-tasks.c
parentfec468e9409d12dc2b37546d646908209da42fdd (diff)
downloadgsoc2013-evolution-ca9ceb157cff46f1ecddd0b807d9b7776c0f7ca1.tar.gz
gsoc2013-evolution-ca9ceb157cff46f1ecddd0b807d9b7776c0f7ca1.tar.zst
gsoc2013-evolution-ca9ceb157cff46f1ecddd0b807d9b7776c0f7ca1.zip
2007-09-27 mcrha Fix for bug #346686
svn path=/trunk/; revision=34315
Diffstat (limited to 'calendar/gui/e-cal-model-tasks.c')
-rw-r--r--calendar/gui/e-cal-model-tasks.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-model-tasks.c b/calendar/gui/e-cal-model-tasks.c
index 9afd09fe5c..66e7c536d5 100644
--- a/calendar/gui/e-cal-model-tasks.c
+++ b/calendar/gui/e-cal-model-tasks.c
@@ -846,6 +846,9 @@ ecmt_is_cell_editable (ETableModel *etm, int col, int row)
if (col < E_CAL_MODEL_FIELD_LAST)
return E_TABLE_MODEL_CLASS (e_cal_model_tasks_parent_class)->is_cell_editable (etm, col, row);
+ if (!e_cal_model_test_row_editable (E_CAL_MODEL (etm), row))
+ return FALSE;
+
switch (col) {
case E_CAL_MODEL_TASKS_FIELD_COMPLETED :
case E_CAL_MODEL_TASKS_FIELD_COMPLETE :