diff options
author | JP Rosevear <jpr@helixcode.com> | 2000-08-24 13:52:01 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2000-08-24 13:52:01 +0800 |
commit | bf69bddd6de28e78458ae8043379a275bca1c54b (patch) | |
tree | b18c1e718d42e85b6c30681fc7fa7c6a7363870c /calendar | |
parent | 46666a5e1f30ea835a062712e524f2ffe3e48ece (diff) | |
download | gsoc2013-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')
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/calendar-model.c | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index cd395c445e..731d6eefb5 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +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 + 2000-08-23 JP Rosevear <jpr@helixcode.com> * gui/event-editor-dialog.glade: Remove status bar 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); |