From 49a388705e5085a963c3c1b5cdcd324af5d8b1b5 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 14 Apr 1998 04:06:58 +0000 Subject: Now takes object and flags parameters. Likewise. Likewise. 1998-04-13 Federico Mena Quintero * gncal-week-view.c (gncal_week_view_update): Now takes object and flags parameters. * gncal-day-view.c (gncal_day_view_update): Likewise. * gncal-full-day.c (gncal_full_day_update): Likewise. (child_focus_in): New function. In conjunction with child_focus_out(), these only display the handles in the child when it is focused. The result is that the user can see more of the child's text when nothing is focused, and we can also display fatter and nicer drag handles. * gnome-cal.c (gnome_calendar_object_changed): Now takes an additional flags parameter (gnome_calendar_update_all): Made function static. Now takes changed object and flags parameters as well. (gnome_calendar_object_changed): Now takes additional flags parameter to indicate what changed in the specified object. * calobj.h (CalObjectChange): New enum with flags to describe what has been changed in an object. svn path=/trunk/; revision=132 --- calendar/cal-util/calobj.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'calendar/cal-util') diff --git a/calendar/cal-util/calobj.h b/calendar/cal-util/calobj.h index 37ea79040d..7dc810b459 100644 --- a/calendar/cal-util/calobj.h +++ b/calendar/cal-util/calobj.h @@ -85,6 +85,13 @@ typedef struct { int frequency; } Recurrence; +/* Flags to indicate what has changed in an object */ +typedef enum { + CHANGE_NEW = 1 << 0, /* new object */ + CHANGE_SUMMARY = 1 << 1, /* summary */ + CHANGE_DATES = 1 << 2 /* dtstart / dtend */ +} CalObjectChange; + /* * This describes an iCalendar object, note that we never store durations, instead we * always compute the end time computed from the start + duration. -- cgit