aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/cal-component.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-06-24 13:53:43 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-06-24 13:53:43 +0800
commit8677833cfac274823f23f8ef4669cbeda1293780 (patch)
tree2ff5d25560c20519a2e6f16c84f3d8c01e72927f /calendar/cal-util/cal-component.h
parent602fee638e44de17ddd438d9327d7087c72bc41d (diff)
downloadgsoc2013-evolution-8677833cfac274823f23f8ef4669cbeda1293780.tar.gz
gsoc2013-evolution-8677833cfac274823f23f8ef4669cbeda1293780.tar.zst
gsoc2013-evolution-8677833cfac274823f23f8ef4669cbeda1293780.zip
New function to compare tasks like the Pilot task list.
2001-06-23 Federico Mena Quintero <federico@ximian.com> * 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
Diffstat (limited to 'calendar/cal-util/cal-component.h')
-rw-r--r--calendar/cal-util/cal-component.h1
1 files changed, 1 insertions, 0 deletions
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;