aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.h
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-04-27 18:07:09 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-04-28 20:06:00 +0800
commit06a883940fcd97c5324fc2cdf3b3ffc50772208e (patch)
tree12867ebca018c136de40a4d8f08bbc2afc33d320 /calendar/gui/e-cal-model.h
parente887df9a554e452c7c1bb2bae3739cb43ddf73bc (diff)
downloadgsoc2013-evolution-06a883940fcd97c5324fc2cdf3b3ffc50772208e.tar.gz
gsoc2013-evolution-06a883940fcd97c5324fc2cdf3b3ffc50772208e.tar.zst
gsoc2013-evolution-06a883940fcd97c5324fc2cdf3b3ffc50772208e.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.h4
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;