aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model-memos.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-04-22 03:29:45 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-04-22 03:29:45 +0800
commitd53bb7a4d7856cbcf1d0ca7f6c812af3ae9b91ad (patch)
treeb48894254a0bed18d71f4030140ce283720b5173 /calendar/gui/e-cal-model-memos.c
parent6d472a771799cc453ad065b78f4635a7919f4769 (diff)
downloadgsoc2013-evolution-d53bb7a4d7856cbcf1d0ca7f6c812af3ae9b91ad.tar.gz
gsoc2013-evolution-d53bb7a4d7856cbcf1d0ca7f6c812af3ae9b91ad.tar.zst
gsoc2013-evolution-d53bb7a4d7856cbcf1d0ca7f6c812af3ae9b91ad.zip
Commiting Johnny's patch for adding ' Click to add' feature in Memo.
svn path=/trunk/; revision=31857
Diffstat (limited to 'calendar/gui/e-cal-model-memos.c')
-rw-r--r--calendar/gui/e-cal-model-memos.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/calendar/gui/e-cal-model-memos.c b/calendar/gui/e-cal-model-memos.c
index ea43f33f7f..f32a12455e 100644
--- a/calendar/gui/e-cal-model-memos.c
+++ b/calendar/gui/e-cal-model-memos.c
@@ -172,9 +172,8 @@ ecmm_is_cell_editable (ETableModel *etm, int col, int row)
g_return_val_if_fail (col >= 0 && col < E_CAL_MODEL_MEMOS_FIELD_LAST, FALSE);
g_return_val_if_fail (row >= -1 || (row >= 0 && row < e_table_model_row_count (etm)), FALSE);
- if(col == E_CAL_MODEL_FIELD_SUMMARY)
- retval = FALSE;
- else if (col < E_CAL_MODEL_FIELD_LAST)
+
+ if (col < E_CAL_MODEL_FIELD_LAST)
retval = E_TABLE_MODEL_CLASS (e_cal_model_memos_parent_class)->is_cell_editable (etm, col, row);
return retval;