From 8677833cfac274823f23f8ef4669cbeda1293780 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Sun, 24 Jun 2001 05:53:43 +0000 Subject: New function to compare tasks like the Pilot task list. 2001-06-23 Federico Mena Quintero * gui/e-calendar-table.c (task_compare_cb): New function to compare tasks like the Pilot task list. * cal-util/cal-component.h (CalComponentField): Added a semi-hackish CAL_COMPONENT_FIELD_COMPONENT. In the ETable model, it is intended to return a pointer to the component itself. * gui/calendar-model.c (calendar_model_value_at): Return the component itself for CAL_COMPONENT_FIELD_COMPONENT. Be more paranoid about invalid columns. (calendar_model_set_value_at): Be more paranoid about invalid columns. (calendar_model_duplicate_value): Ref the component field. (calendar_model_initialize_value): Deal with the component field. (calendar_model_value_is_empty): Likewise. (calendar_model_value_to_string): Likewise. svn path=/trunk/; revision=10447 --- calendar/cal-util/cal-component.h | 1 + 1 file changed, 1 insertion(+) (limited to 'calendar/cal-util/cal-component.h') diff --git a/calendar/cal-util/cal-component.h b/calendar/cal-util/cal-component.h index 937d3f098f..cd9ee725ed 100644 --- a/calendar/cal-util/cal-component.h +++ b/calendar/cal-util/cal-component.h @@ -78,6 +78,7 @@ typedef enum { CAL_COMPONENT_FIELD_OVERDUE, /* not a real field */ CAL_COMPONENT_FIELD_COLOR, /* not a real field */ CAL_COMPONENT_FIELD_STATUS, + CAL_COMPONENT_FIELD_COMPONENT, /* not a real field */ CAL_COMPONENT_FIELD_NUM_FIELDS } CalComponentField; -- cgit v1.2.3