aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-model.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@helixcode.com>2000-08-24 13:52:01 +0800
committerJP Rosevear <jpr@src.gnome.org>2000-08-24 13:52:01 +0800
commitbf69bddd6de28e78458ae8043379a275bca1c54b (patch)
treeb18c1e718d42e85b6c30681fc7fa7c6a7363870c /calendar/gui/calendar-model.c
parent46666a5e1f30ea835a062712e524f2ffe3e48ece (diff)
downloadgsoc2013-evolution-bf69bddd6de28e78458ae8043379a275bca1c54b.tar.gz
gsoc2013-evolution-bf69bddd6de28e78458ae8043379a275bca1c54b.tar.zst
gsoc2013-evolution-bf69bddd6de28e78458ae8043379a275bca1c54b.zip
Handle summary field (calendar_model_value_is_empty): ditto
2000-08-24 JP Rosevear <jpr@helixcode.com> * gui/calendar-model.c (calendar_model_initialize_value): Handle summary field (calendar_model_value_is_empty): ditto (calendar_model_free_value): ditto svn path=/trunk/; revision=5001
Diffstat (limited to 'calendar/gui/calendar-model.c')
-rw-r--r--calendar/gui/calendar-model.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c
index a39044f7e6..822a01d218 100644
--- a/calendar/gui/calendar-model.c
+++ b/calendar/gui/calendar-model.c
@@ -1281,6 +1281,7 @@ calendar_model_free_value (ETableModel *etm, int col, void *value)
case CAL_COMPONENT_FIELD_GEO:
case CAL_COMPONENT_FIELD_PERCENT:
case CAL_COMPONENT_FIELD_PRIORITY:
+ case CAL_COMPONENT_FIELD_SUMMARY:
g_free (value);
case CAL_COMPONENT_FIELD_TRANSPARENCY:
@@ -1332,6 +1333,9 @@ calendar_model_initialize_value (ETableModel *etm, int col)
case CAL_COMPONENT_FIELD_PRIORITY:
return init_string ();
+ case CAL_COMPONENT_FIELD_SUMMARY:
+ return g_strdup ("Hello");
+
case CAL_COMPONENT_FIELD_TRANSPARENCY:
return NULL;
@@ -1371,6 +1375,7 @@ calendar_model_value_is_empty (ETableModel *etm, int col, const void *value)
case CAL_COMPONENT_FIELD_GEO:
case CAL_COMPONENT_FIELD_PERCENT:
case CAL_COMPONENT_FIELD_PRIORITY:
+ case CAL_COMPONENT_FIELD_SUMMARY:
case CAL_COMPONENT_FIELD_TRANSPARENCY:
case CAL_COMPONENT_FIELD_URL:
return string_is_empty (value);