diff options
author | Milan Crha <mcrha@redhat.com> | 2009-04-27 18:07:09 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-04-27 18:07:09 +0800 |
commit | b29f1ed5e653974acf983f211901139d0f76cf12 (patch) | |
tree | 2ce4ece0fe5dd73586a896ecf0d16e2be2f1c6ac /calendar/gui/e-cal-model.h | |
parent | c8938bd337a03f1d4221cabfff76add54af9aa76 (diff) | |
download | gsoc2013-evolution-b29f1ed5e653974acf983f211901139d0f76cf12.tar.gz gsoc2013-evolution-b29f1ed5e653974acf983f211901139d0f76cf12.tar.zst gsoc2013-evolution-b29f1ed5e653974acf983f211901139d0f76cf12.zip |
Allow Last Modified and Created columns for event table
** Fix for bug #575773
* gui/e-calendar-table.etspec:
* gui/e-cal-list-view.etspec:
* gui/e-memo-table.etspec:
* gui/e-cal-model.h: (ECalModelField), (struct _ECalModelComponent):
* gui/e-cal-model.c: (get_datetime_from_utc), (ecm_value_at),
(ecm_duplicate_value), (ecm_free_value), (ecm_initialize_value),
(ecm_value_is_empty), (ecm_value_to_string),
(e_cal_view_objects_modified_cb), (e_cal_model_component_finalize),
(e_cal_model_component_init):
Allow showing CREATED and LAST-MODIFIED properties in a table.
* gui/print.c: (print_comp_draw_real):
* gui/e-cal-component-preview.c: (write_html):
* conduits/todo/todo-conduit.c: (local_record_from_comp):
Possible leak fix.
Diffstat (limited to 'calendar/gui/e-cal-model.h')
-rw-r--r-- | calendar/gui/e-cal-model.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-model.h b/calendar/gui/e-cal-model.h index 80ba4d4b5b..6ec66a3554 100644 --- a/calendar/gui/e-cal-model.h +++ b/calendar/gui/e-cal-model.h @@ -53,6 +53,8 @@ typedef enum { E_CAL_MODEL_FIELD_ICON, /* not a real field */ E_CAL_MODEL_FIELD_SUMMARY, E_CAL_MODEL_FIELD_UID, + E_CAL_MODEL_FIELD_CREATED, + E_CAL_MODEL_FIELD_LASTMODIFIED, E_CAL_MODEL_FIELD_LAST } ECalModelField; @@ -86,6 +88,8 @@ struct _ECalModelComponent { ECellDateEditValue *dtend; ECellDateEditValue *due; ECellDateEditValue *completed; + ECellDateEditValue *created; + ECellDateEditValue *lastmodified; gchar *color; ECalModelComponentPrivate *priv; |