aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.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.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.c')
-rw-r--r--calendar/gui/e-cal-model.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index e8cf94e22d..3e7a826bc0 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -780,6 +780,7 @@ ecm_duplicate_value (ETableModel *etm, int col, const void *value)
switch (col) {
case E_CAL_MODEL_FIELD_CATEGORIES :
case E_CAL_MODEL_FIELD_CLASSIFICATION :
+ case E_CAL_MODEL_FIELD_DESCRIPTION :
case E_CAL_MODEL_FIELD_SUMMARY :
return g_strdup (value);
case E_CAL_MODEL_FIELD_HAS_ALARMS :
@@ -1832,6 +1833,9 @@ e_cal_model_create_component_with_defaults (ECalModel *model)
case ICAL_VTODO_COMPONENT :
comp = cal_comp_task_new_with_defaults (client);
break;
+ case ICAL_VJOURNAL_COMPONENT :
+ comp = cal_comp_memo_new_with_defaults (client);
+ break;
default:
return NULL;
}