diff options
-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); |